Question
Where can i find the source for # Page Top and # Page Bottom interpretation that is done on the /templates/ files?
I would like to make changes to what appears as the header and footer of the pages.
Thanks.
- TWiki version: latest
- Web server: apache
- Server OS: red hat linux
- Web browser: ie
- Client OS: win2000
--
BrettButler - 10 Aug 2002
Answer
I'll have a go at an answer, although I'm pretty new to TWiki myself.
Do you mean the header and footer with the web-coloured background?
Look at what is set in
WebPreferences as the WEBTOPICLIST variable, and examine lines 18-24 (Dec2001 release) of view.tmpl, and see if that's what you're looking for. It took me a lot of grepping to find these myself.
I think that #PageTop and #PageBottom are just place markers that don't do anything except give a bit of guidance while editing a template. I could be wrong, but if I am someone will come along and say so
--
SueBlake - 11 Aug 2002
I think you'd want to edit the Twiki.tmpl file (I don't have access to my web server right now so I can't double check the name). Since you're using linux, a simple way to find this would be
grep \#PageTop * in the templates directory to find the appropriate area.
The #PageTop and #PageBottom items are added so you can wiki link to the top or bottom of a page quickly. I know this wasn't documented in the Dec 2001 release, but I'm not sure if it's been added for the
BeijingRelease. Example:
PageTopPageBottom#PageTop.
--
MikeMaurer - 12 Aug '02
In case this is unclear, #PageTop and #PageBottom are anchors defined in each template. Anchors are described in
TextFormattingRules.
--
PeterThoeny - 13 Aug 2002