<div dir="ltr"><div style><font face="courier new, monospace">A few ideas.</font></div><div style><font face="courier new, monospace"><br></font></div><div style><font face="courier new, monospace">I guess an easy way to have some <span class="" style>uneditable</span> data in a page consists in including these protected data from a non-editable (but readable) page. </font><span style="font-family:'courier new',monospace">One can automate the import using page footer or page header.</span></div>

<div style><font face="courier new, monospace"><br></font></div><div style><font face="courier new, monospace">For a basic <span class="" style>example</span>, write protected data in a readable, non editable page named $Name-Protected (for every page names X you like to have protected date, create a page named X-Protected) ;</font></div>

<div style><font face="courier new, monospace">then, in page footer, do an include using page name variable : </font></div><div style><font face="courier new, monospace">(:include {$Name}-Protected:)</font></div><div style>

<font face="courier new, monospace"><br></font></div><div style><font face="courier new, monospace">Then, you may have to force Protected pages to be showed with the page they belong to (or exclude them from search and <span class="" style>pagelists</span>).</font></div>

<div style><font face="courier new, monospace">This should be done in <span class="" style>GroupHeader</span> : test for the name of the page, if it is a X-Protected one, then redirect silently to the X page (using <span class="" style>substring</span> I guess).</font></div>

<div style><font face="courier new, monospace"><br></font></div><div style><font face="courier new, monospace">I'm not sure how this would work fine when data protected are categories ; because, in such a strategy, categories will apply to the X-Protected page, and not to the X page (and only X-Protected page would be indexed) and clicking on a category will show a list of X-Protected page (not a list of X pages).</font></div>

<div style><font face="courier new, monospace"><br></font></div><div style><font face="courier new, monospace">Another strategy, maybe much better, according to your purpose, would be to try this recipe. :</font></div><div style>

<font face="courier new, monospace"><a href="http://www">http://www</a>.<span class="" style>pmwiki</span>.org/wiki/Cookbook/<span class="" style>EditAttributes</span><br></font></div><div style><font face="courier new, monospace"><br>

</font></div><div style><font face="courier new, monospace">Create a special field for categories, and make it protected.</font></div><div style><font face="courier new, monospace">As I <span class="" style>don't</span> use it, I <span class="" style>don't</span> know how good is this option, sorry. Some people use it, maybe they will confirm what you can do with it. To my mind, it looks like the best according to your wish.</font></div>

<div style><font face="courier new, monospace"><br></font></div><div style><font face="courier new, monospace"><br></font></div><div style><font face="courier new, monospace">Gilles.</font></div></div><div class="gmail_extra">

<br><br><div class="gmail_quote">2013/1/27 Paolo Z. <span dir="ltr"><<a href="mailto:paolo81cfm@gmail.com" target="_blank">paolo81cfm@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<p>I'm sorry but I can't quite understand I'm searching some info about GroupHeader and GroupFooter</p>
<p>For example let's say that I want to set in a page call "MonumentX" different categories (for example History, Dates, Links)that nobody but me can modify, what do I have to write to "lock" each categories?</p>



<br>_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><br></div><div>---------------------------------------</div>| A | de la langue française<br>| B | <a href="http://www.languefrancaise.net/" target="_blank">http://www.languefrancaise.net/</a><br>

| C | <a href="mailto:languefrancaise@gmail.com" target="_blank">languefrancaise@gmail.com</a><br>---------------------------------------
</div>