[pmwiki-users] redefine existing (default)markup
noskule
noskule at gmx.net
Thu May 24 07:11:02 CDT 2007
Dominique Faure schrieb:
> On 5/24/07, noskule <noskule at gmx.net> wrote:
>> hi list
>> I try to change the existing page-section markup to
>>
>> Markup('noright', 'directives',
>> '/\\(:noright:\\)/ei',
>> "SetTmplDisplay('PageContentHeaderRightFmt',0) .
>> SetTmplDisplay('PageRelatedNavigationRightFmt',0) .
>> SetTmplDisplay('PageContentRightFmt',0)");
>>
>>
>> this only works if I change "noright" to somthing else. The code I
>> placed in skin.php. Is this susposed to work or do I miss something?
>>
>
> You could also try to alter the previously registered markup:
>
> global $MarkupTable;
> $MarkupTable['noright']['rep'] =
> "SetTmplDisplay('PageContentHeaderRightFmt',0) .
> SetTmplDisplay('PageRelatedNavigationRightFmt',0) .
> SetTmplDisplay('PageContentRightFmt',0)";
>
> Dominique
>
arg, actualy I sent the wrong mail, sorry about that, and thanks for the
hint, nevertheless usefull
nos
More information about the pmwiki-users
mailing list