[pmwiki-users] how to define own sidebar for edit-modus ?
design at flutesong.net
Fri Feb 4 04:37:59 CST 2005
Friday, February 4, 2005, 8:36:36 AM, Knut wrote:
> I want to define an own edit-sidebar that means when openeing a page for
> editing, I want to get another sidebar.
> any ideas for a simple solution ? (is there any (:if:) condition for that ?)
Here is a simpler solution:
replace in your skin tmpl file
with <!--wiki:$Group.$SideBar Main.$SideBar-->
add to config.php:
$SideBar = 'SideBar';
if ($action=='edit') $SideBar = 'EditBar';
Create page EditBar as your custom edit sidebar.
More information about the pmwiki-users