[pmwiki-users] hiding category links

adam overton a at plus1plus1plus.org
Wed Dec 23 07:08:44 CST 2009


thanks for pointing out the $LinkCategoryFmt, gilles - i had missed this




On 22 Dec 2009, at 6:20 PM, ABClf wrote:

> You can see there, too :
>
> http://www.pmwiki.org/wiki/Cookbook/Bloge-Tags :
> The easiest way to get category links to not show on the page is to
> use %comment%[[!Category]]%%. For a more thorough solution try adding
> $LinkCategoryFmt = ' '; to a config file. That'll hide all your
> category links but still let them get listed using {$TagList}. Note
> that the format string can't be empty or it'll get ignored.
>
> Gilles.
>
> 2009/12/23 ABClf <languefrancaise at gmail.com>:
>> You may like using :
>> %comment% [[!Category]] [[!OtherCategory]]
>> to get a hidden line of categories.
>> Hope this helps,
>>
>> Gilles.
>>
>> 2009/12/23 adam overton <a at plus1plus1plus.org>
>>>
>>> hi
>>> is there currently a simple built-in way to have [[!categories]] not
>>> be displayed on the page, and instead to remain hidden?
>>>
>>> i suppose i could probably do (:if false:)[[!categories]](:ifend:),
>>> but that seems awfully annoying to do over and over.
>>>
>>> also - would it be safe to assume that it's generally faster to
>>> pagelist with link= than with $:ptv=x? i'm weighing possibly just
>>> using (:tags: x:) over [[!x]]
>>> (i assume this b/c i think .pageindex doesn't yet catalog ptvs,  
>>> right?)
>>>
>>> thx
>>> adam
>>>
>>> _______________________________________________
>>> pmwiki-users mailing list
>>> pmwiki-users at pmichaud.com
>>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>>
>>
>>
>> --
>> ---------------------------------------
>> | A | de la langue française
>> | B | http://www.languefrancaise.net/
>> | C | languefrancaise at gmail.com
>> ---------------------------------------
>>
>
>
>
> -- 
> ---------------------------------------
> | A | de la langue française
> | B | http://www.languefrancaise.net/
> | C | languefrancaise at gmail.com
> ---------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20091223/1cd877e8/attachment-0001.html 


More information about the pmwiki-users mailing list