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 <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]
www.backcountryporch.com
**************************
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users