On 5/24/07, noskule <[EMAIL PROTECTED]> 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

_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to