[pmwiki-users] .SideBar content

Sandy sandy at onebit.ca
Fri Oct 12 12:31:52 CDT 2007


drew wrote:
> Hello Everyone,
> 
> Am currently developing a small website that will use a horizontal menu 
> bar per SimpleTab skin. Each menu bar selection will open its our group 
> page and custom sidebar.
> 
> I have created empty group.sidebar files but am unsure what their source 
> code must look like - is there some minimal content requirement? Can I 
> simply copy an existing site.sidebar and edit it as needed?
> 
> Thanks for all suggestions
> 
> -drew

First, you should create and edit group.sidebar files from within the 
wiki. It's not strictly required, but it's an awful lot easier!

(If you really do want to create them with a text editor, look here:
http://pmwiki.org/wiki/PmWiki/PageFileFormat
)

Yes, copying the source of an existing sidebar is the best way to start. 
  Use ?action=source to see the code.

Also, base yours on a sidebar that already looks good in the skin you 
choose. The way they separate list items and put in bullets, etc., is a 
combination of skin (html and css) and wiki code. So wiki code that 
looks good in one skin might not look good in another.

Hope this helps!

Sandy





More information about the pmwiki-users mailing list