[pmwiki-users] Uploads- read/download access to all? -- static SideBar edit link?

Jamie Robertson jamie at backcountryporch.com
Wed Feb 28 15:34:20 CST 2007


this:
*<a rel='nofollow' href='{$ScriptUrl}/{$Group}/SideBar?action=edit'>
     $[Edit sidebar]
   </a>*
works great, but it also *creates* a new sidebar for each group.  I realize
now that my question was misleading.
Would it be possible to have the link default to Site.Sidebar unless a
".SideBar" file already existed for that group?  In which case clicking the
link on a page within that group would lead to the Editor for the *
$group.Sidebar* rather than *Site.Sidebar*?
Thanks again.

-Jamie Robertson


On 2/17/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
>
> On Sat, Feb 17, 2007 at 10:33:12PM -0700, Jamie Robertson wrote:
> >    Instead of having to put: "[-[[site.SideBar?action=edit | edit
> >    SideBar]]-]" in the wiki edit section of the .SideBar file, can i
> make a
> >    static link on the page that automatically edits the SideBar?  and
> instead
> >    of Site.SideBar, can it edit the $Group.SideBar (because of multiple
> link
> >    lists for different groups)?
> >
> >    I have this link that accomplishes this for each actual page:
> >    <a class="footer" rel="nofollow" href='{$PageUrl}?action=edit'>$[|
> Edit
> >    This Page |]</a>
> >
> >    I just need one that does the same for each sidebar.
>
>    <a rel='nofollow' href='{$ScriptUrl}/{$Group}/SideBar?action=edit'>
>      $[Edit sidebar]
>    </a>
>
> Pm
>
>


-- 
*************************
Jamie Robertson
jamie at backcountryporch.com
www.backcountryporch.com
**************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070228/9eecc9d3/attachment.html 


More information about the pmwiki-users mailing list