How to pre-populate the wiki editor?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2009 02:20 PM
Hi,
How can I pre-populate the Wiki text editor with some default text, so everytime I press the 'Create New Page' button that text appears automatically in the text editor?
Thanks in advance,
Pedro
How can I pre-populate the Wiki text editor with some default text, so everytime I press the 'Create New Page' button that text appears automatically in the text editor?
Thanks in advance,
Pedro
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-09-2009 05:52 PM
Not tried this, but it should work…
Copy the site-webscripts/org/alfresco/components/wiki/createform.get.html.ftl file into the tomcat/shared/classes/alfresco/web-extensions folder, maintaining the folder structure.
Then insert your copy between the <textarea></textarea> tags. TinyMCE should pick this content up upon initialisation.
Thanks,
Mike
Copy the site-webscripts/org/alfresco/components/wiki/createform.get.html.ftl file into the tomcat/shared/classes/alfresco/web-extensions folder, maintaining the folder structure.
Then insert your copy between the <textarea></textarea> tags. TinyMCE should pick this content up upon initialisation.
Thanks,
Mike

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-10-2009 06:33 AM
Mike,
Many thanks for the tip. It just did what I wanted.
Pedro
Many thanks for the tip. It just did what I wanted.
Pedro
