[pmwiki-users] issue with <!--markup in skin -> doesn't behave as in wikicontent
lists at basel-inside.ch
lists at basel-inside.ch
Mon Oct 14 15:45:04 CDT 2013
The workarround would do it for my purpose, thanks.
I have seen that a new release 2.2.56 came out, I havn't tryed out,
wether this issue could be fixed.
regards
Patrick Ogay
Quoting Petko Yotov <5ko at 5ko.fr>:
> lists at basel-inside.ch writes:
>> <!--markup:(:include {Public.Alexander$RandomSection}:)--> does't work
>> <!--markup:(:include Public.Alexander:)--> works, brings whole file
>>
>> How can I can make $Randomsection to work from a skin template?
>
> Apparently the "$RandomSection" part is evaluated for the visited
> page before trying to evaluate the whole {Public...} variable. I'll
> try to find some time to find out why this happens and if it can be
> fixed without breaking other variables like $ScriptUrl or $PageUrl.
>
> A workaround for what you want to do is to use
> <!--wiki:Group.SomePage--> and place the markup (:include
> {Public.Alexander$RandomSection}:) in Group.SomePage.
>
> Petko
>
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
More information about the pmwiki-users
mailing list