>-----Original Message-----
>From: php...@li...
>[mailto:php...@li...] On Behalf
>Of Reini Urban
>Sent: Wednesday, November 01, 2006 12:43 PM
>To: Discussion on PhpWiki features, bugs, development.
>Subject: Re: [Phpwiki-talk] Creating new pages with new templates
>
>Sabri LABBENE schrieb:
>> I am using phpwiki-1.3.12. I want to make some pages display
>in other way.
>> I created a new template for this new look.
>> I inserted a link that is supposed to take to this new look
>of wiki pages. When pressed, this link constructs an url with
>a new parameter.
>>
>> What I want to know is how to call the new template once my
>link is pressed => new URL generated.
>>
>> Thanks for your help,
>> Sabri.
>
>There's no parameter supported, like &theme=new which you can
>add to your url.
>The url must be constructed differently, pointint to a
>different starter script which overrides the THEME from
>config.ini. For example:
>
>url /newtheme points to a php script with the content
>define("THEME", "new"); include("index.php"); include("lib/main.php");
Ok. That's what I've done.
>and the wikipage pointing to your page with the new theme must
>point to this new url. This is no internal link then. I
>suggest to create an interwiki link for this.
Thank you for your help.
Sabri.
|