I have read the documentation section. But I still don't know how to create a category. Thank you for any help.
categories are automagically created when you include them in the title of a page.
for example :
categoryname:pagename
and that's all there is to it. You can give them custom navigational elements by going to the site manager, appearance, navigational elements.
… and also different access rights.
I still confuse about categoryname:pagename. Is that in the title? Could you give me a sample please. and I want to use it with pages module to list out all the category [[module Pages category="_default" details="true"]], without the sample it is very hard for people with little computer skill to follow.
Ok, first, create a page with categoryname:pagename.
If your category name is "basic-programming" it goes here.
basic-programming:pagename
If your page name in the category is "getting started" then it goes here.
basic-programming:getting -started
Just create a page named that and it will be in the basic-programming category. However, when you link to the page using the category name (the only way to do it, actually), only the page name is shown. The category is not shown in the title.
—hartnell
A good example of a useful category is the nav category which holds the "Top bar menu" and the "Side menu".
With the command [[module Pages category="nav" details="true"]] you will list all pages of the nav category.
With the "Site Manager, Permissions" you can restrict access rights to the nav, because you don't want others to break the navigation of your website.
However, it might be possible to create a "nav2:side" page which would hold a side menu that everybody could modify while keeping the other Top menu bar protected. But you would have to change the navigation elements for the _default category.
Good luck.
Thank you hartnell. I have got it right now. but I still want to ask gerdami about the top bar menu things. I have put the exact [[module Pages category="nav" details="true"]] in the nav:top but it give me error. Do I missing something?
- Edit the nav:top page
- Add "* [[[List nav pages]]]" somewhere in menu page and Save the page
- Click on List nav pages from the menu and … The page does not (yet) exist
- Click on create page
- Write [[module Pages category="nav" details="true"]] and Save the page
Now you should have a List nav pages submenu from the Top menu bar that displays the list of pages which belong to the category nav.
That is very helpful. Now I got it. Thank you very much gerdami.
- This information is very helpful.
- I do have a bit of a trouble right now, namely, that I couldn't figure out how to create categories and I wish to now add categories to pages. How would I do that?
Thanks,
See-ming
Thats a great link Phil, but I still am not sure how to actually create categories. I have done the above mentioned way by creating a new page called CategoryA:page1 but when I go to the permissions section it does not show a CategoryA in the list. What am I not doing or doing wrong?
looking at your wiki 9thankfully "open". I see that you have in fact created category.
Here is one:-
http://rpsociety.wikidot.com/character:raoul
so you have created a cat called characters, and within it you have a page called raoul
if you look in the site manager as i suggested, then you should see characters in there.
You will not see CategoryA: because according to you "list pages" there isnt one :-))
you also have another cat called "pizza"
hth
phil
Ah.
Well I go into Site Manager —> Permissions and I do not see characters listed. If they are categories they should show up there right?
CategoryA was just an example as I didn't think you would see the wiki I had started work on.
What I am trying to do is create a page called Characters and on that page will be links to actually characters, examples would be Kahlen and Raoul. However I would like this to be dynamic if at all possible, if not then manual will have to work. I think currently we are not sure the best way to do this and figured categories would be the way to go, but I am still not certain we actually have categories.
Serihon, when you say "categories", are you thinking of categories as they are used in WikiMedia type wikis, such as Wikipedia? If you're not sure what I mean, here's an example from another wiki of which I'm a member. You can see the categories this page is in listed down the bottom, and clicking on one of them takes you to the category page (an index of pages in that category). Is that the sort of thing you mean?
I ask because, in my experience here, "category" is not the same thing as it is in a MediaWiki setup - if you're used to Wikipedia, that can be confusing (what the other posters are calling a "category" here would be called a "namespace" in MediaWiki). On WikiDot, the closest equivalent to MediaWiki categories - as far as I'm aware - are tags. You may find that tags can provide what you want, though - they offer most of the same functionality as WikiMedia-style categories. Like WikiMedia categories, you can click on a tag to get a list of your pages which carry that tag, though unfortunately it seems you can't edit or add to the page with the list.