Thanks Has, <br><br>It did teh trick, was exactly what I needed It.<br><br>Regards,<br>Edwin<br><br><div class="gmail_quote">2009/1/20 Hans <span dir="ltr">&lt;<a href="mailto:design5@softflow.co.uk">design5@softflow.co.uk</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">Tuesday, January 20, 2009, 8:13:05 PM, edwin marte wrote:<br>

<br>
&gt; I am using Triad skin and basically in a AllGroupHeader Page I have the<br>
&gt; (:noright:) and (:noleft:) Markups. They work fine until I use the<br>
&gt; ?action=upload wich bring the sidebar.I have tried &nbsp;a few things in the<br>
&gt; uploadquickreference Page in order not to show the SideBar when using<br>
&gt; ?action=upload. Anybody knows what has to be donde in order not to show the<br>
&gt; Sidebar with Triad skin in that condition?<br>
<br>
</div></div>I am thinking about it, but have not yet got an idea.<br>
The problem is not restricted to the Triad skin, or any skin, i think.<br>
<br>
With ?action=upload &nbsp;a special upload form is loaded, and the normal<br>
page content is ignored. which means any markup in th epage is also<br>
ignored, even markup directives in a GroupHeader or AllGroupHeader<br>
page. And worse: PmWiki has no wiki page to hold the upload form,<br>
like it does for the standard edit form when action=edit is called.<br>
The upload form is hard coded in uploads.php, and the Triad skin uses<br>
a custom version for an upload form, defined in its skin.php file.<br>
<br>
To inject the noright and noleft markup there may be possible, but a<br>
bit messy.<br>
<br>
I would like to hear from others how they implement markup directives<br>
with the upload form.<br>
<br>
In the case of Triad skin, instead of using markup, you could use this<br>
in config.php, which will be implemented for the whole wiki:<br>
<br>
# suppress left and right bar for upload form<br>
if ($action==&#39;upload&#39;) {<br>
 &nbsp; &nbsp;$LeftToggleFmt = &quot;&quot;;<br>
 &nbsp; &nbsp;SetTmplDisplay(&#39;PageLeftFmt&#39;,0);<br>
 &nbsp; &nbsp;$RightToggleFmt = &quot;&quot;;<br>
 &nbsp; &nbsp;SetTmplDisplay(&#39;PageRightFmt&#39;,0);<br>
}<br>
<br>
But if you wanted no left and right bars anywhere, in any cases, you<br>
could just use:<br>
<br>
# suppress left and right bars anywhere allways<br>
 &nbsp; &nbsp;$LeftToggleFmt = &quot;&quot;;<br>
 &nbsp; &nbsp;SetTmplDisplay(&#39;PageLeftFmt&#39;,0);<br>
 &nbsp; &nbsp;$RightToggleFmt = &quot;&quot;;<br>
 &nbsp; &nbsp;SetTmplDisplay(&#39;PageRightFmt&#39;,0);<br>
<br>
and not bother with the noleft and noright directives in AllGroupHeader.<br>
<font color="#888888"><br>
 &nbsp;~Hans<br>
<br>
</font></blockquote></div><br>