Re: Easy way to prefill Description during edit page?
A quick hack would be to modify the tiki-editpage.tpl template. You could include a default value in the Description's input class. Maybe something like this:
Copy to clipboard
< input class="form-control" type="text" id="description" name="description" value="{$description|escape|default:'A virtual font porch to discuss '$page}">
Although:
- I'm not positive how to add the $page variable — you might have to escape it.
- I'm also not sure that the $page is set until after you save the page.
Someone else may have a better idea.....
HTH,
- Rick | My Tiki Blog | My Tiki UserPage
Why be a dummy? Get smarty! TikiForSmarties.com
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.
Tiki for Smarties, your source for the best (and only) Tiki books, guides, and tutorials.