WikiStart/tags/Setup/0.8
Setting up tags in Trac 0.8
- Download the right zip file below for the version of Trac you're running.
- Extract *.py to the wiki-macros directory of your trac environment directory.
- Extract wiki.cs to the templates directory of your trac environment directory.
- Edit any wiki page in your wiki:
- Put in a call to the SetupTags macro. i.e.: [[SetupTags]]
- Click Preview. You should see a message stating: "Tag tables successfully created!"
- Cancel. This macro needs only to be called once. It saves you from having to create the table by hand. If you'd rather do it that way, run this:
CREATE TABLE wiki_namespace(name text,namespace text);
- Create a new wiki page, tags/index page in your wiki
- Put in [[ListTags]]
- Or [[ListTags(showpages=true)]] if you want to see a list of all the wiki entries under each tag
- Or [[TagCloud]] if you want to use a Tag Cloud.
Attachments
- tags-0.8.x.2.zip (6.8 kB) - added by muness on 04/10/06 15:14:10.
