<a href="http://www.pmwiki.org/wiki/PmWiki/Categories">Categories </a>are certainly a way to go.<div><br></div><div>The <a href="http://www.pmwiki.org/wiki/PITS/00447">problem </a>is that PmWiki does not distinguish between tagging (categorising a page) viz [[!MyTag]] and referring to that category viz [[Category/MyTag]],</div>
<div>therefore linking to a category tags the (non category) page holding the link.</div><div><br></div><div>Also I have seen previous discussions about making the use of multiple categories more friendly,</div><div>eg [[!MyTag, your tag]]</div>
<div><br></div><div>In a practical sense on a big website where we use categories (which people only understand when I call them tags),</div><div>is that often they are mistyped (and no one notices because there is no link formatting for an 'undefined' tag) if you use <a href="http://www.pmwiki.org/wiki/PmWiki/EditVariables#AutoCreate">autocreate </a>for category pages.</div>
<div><br></div><div>Simon</div><br>PS please vote for <br><a href="http://www.pmwiki.org/wiki/PITS/00447">http://www.pmwiki.org/wiki/PITS/00447</a> - Distinguish !Page and Category.Page in backlinks<br>and<br><a href="http://www.pmwiki.org/wiki/PITS/01252">http://www.pmwiki.org/wiki/PITS/01252</a> - Add category= parameter to PageLists<div>
<br></div><div><br></div><div><br><div><div class="gmail_quote">On 10 March 2013 23:06, Lars Eighner <span dir="ltr"><<a href="mailto:surname@larseighner.com" target="_blank">surname@larseighner.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sun, 10 Mar 2013, Paolo Z. wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi list<br>
<br>
I'm trying to learn in my spare time a little bit more about pmwiki, in<br>
this message I would like to ask some advice about how to organize pages.<br>
The idea in my mind is a bit complicated so I made it simple and I use a<br>
country as an example.<br>
</blockquote>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If I want to have all the pages of the cities of France inside the<br>
"directory" called "france" in order to have something like domainname<br>
.com/france/marseille how can I do this?<br>
</blockquote>
<br></div>
What you want is probably not what you need.<br>
<br>
You can create a group called France. Then you can create a page named<br>
Marseille in the group France. Set $EnablePathInfo = 1 and Voila! the url<br>
of your page is (apparently)<br>
<a href="http://www.example.com/pmwiki.php/France/Marsielle" target="_blank">http://www.example.com/pmwiki.<u></u>php/France/Marsielle</a> .<br>
<br>
Now here is why you probably do not want to this:<br>
<br>
It is extremely limited. You just have the two levels group and page, or in<br>
this case France/Marseille. PmWiki is designed to be extended, but you are<br>
in for much work if you want to get beyond the two levels.<br>
<br>
Okay, you could have France/Paris#leftbank, but that's about it.<br>
<br>
Your approach could develop into creating many groups, if for example you<br>
want pages for other cities in Europe. You need to think long and hard before<br>
you create a new group. Many groups can create problems for authors and<br>
maintainers. For one thing, you have know which group a page is in to make<br>
internal links. You can quickly make a big mess.<br>
<br>
<br>
The best way to handle heirarchies is with categories.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there any way to force users that creates a page for the city of Paris<br>
to set it in the "directory" france?<br>
</blockquote>
<br></div>
No, not if users can create pages in groups other than France. Think about<br>
this for a moment. For the wiki to do this, it would have to know already<br>
that Paris is a city in France and it would have to know the user does not<br>
intend to make a page for Paris, Texas.<br>
<br>
This is another good reason to avoid multiple groups: you can be sure users<br>
will put pages in the right place -- and moving pages between groups is<br>
tedious. Changing categories tags is much easier, so I suggest a flat<br>
(almost everything in one group) wiki with categories for (what else?)<br>
categorizing pages.<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Not sure if it is possible.<br>
I hope you understand my question.<br>
<br>
Thanks P.<br>
<br>
</blockquote>
<br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Lars Eighner<br>
<a href="http://www.larseighner.com/index.html" target="_blank">http://www.larseighner.com/<u></u>index.html</a><br>
8800 N IH35 APT 1191 AUSTIN TX 78753-5266<br>
<br>
<br>
______________________________<u></u>_________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/<u></u>mailman/listinfo/pmwiki-users</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>____<br><a href="http://kiwiwiki.co.nz">http://kiwiwiki.co.nz</a>
</div></div>