Question
Is there a way, when a user edits a topic, to automatically have a --- and the user's signature already at the top. So when the user clicks edit, the cursor is positioned above an already entered:
--
WikiName - 03 Dec 2003
Environment
--
GeraldManipon - 03 Dec 2003
Answer
Sure! Create a
WebTopicEditTemplate page in each web that you want, and add whatever boilerplate text to that page you desire. If you look at that page for any web you will get lots of ideas. (If you don't see what you want on this web, try the Wikilearn web.)
--
RandyKramer - 03 Dec 2003
The one limitation that I've seen with implementing what you are asking for with
WebTopicEditTemplate is that you can't control where the cursor is positioned. It inevitably goes to the end of the template topic so what happens with new users is that they tend to input their content
after their signature.
--
LynnwoodBrown - 04 Dec 2003
To place the cursor, you can use a JS script that runs when the page has loaded, e.g. in the
body tag or after the
textarea in the
edit template. For tips on how to actually place it, i suggest you study the JS that is used by the IEJS skin, or search the web for coding resources.
--
TorbenGB - 05 Dec 2003