[Pmwiki-users] Creating Groups

Patrick R. Michaud pmichaud
Wed Jan 19 14:47:07 CST 2005


On Wed, Jan 19, 2005 at 12:56:00PM -0800, Wade Hudson wrote:
> home page. I plan to use the following format:
> 
> [-'''[[SelectCatalog/HomePage | Select Catalog]]'''-]
> * [-[[SelectIntroduction/HomePage | Introduction]]-]
> * [-[[SelectHealth/HomePage | Health]]-]
> * [-[[SelectPersonalGrowth/HomePage | Personal Growth]]-]
> [-'''[[OpenCatalog/HomePage | Open Catalog]]'''-]

This isn't a comment about your page names, but rather a suggestion for
getting rid of the [-...-] that currently appears on each one.  If you want 
*everything* in your sidebar to be smaller text, you can eliminate the
[-...-] and do it in CSS by simply adding

   #sidebar { font-size:smaller; }

You could do this by adding the line above to either

   pub/skins/dropdown/dropdown.css
   pub/css/local.css

or you can do it in config.php via

   $HTMLStylesFmt[] = " #sidebar { font-size:smaller; }\n";

Then the above would read

'''[[SelectCatalog/HomePage | Select Catalog]]'''
* [[SelectIntroduction/HomePage | Introduction]]
* [[SelectHealth/HomePage | Health]]
* [[SelectPersonalGrowth/HomePage | Personal Growth]]
'''[[OpenCatalog/HomePage | Open Catalog]]'''

which makes for slightly easier reading.  You could then use parens
to shorten it a bit further, as in

'''[[Select Catalog(.HomePage)]]'''
* [[(Select)Introduction(.HomePage)]]
* [[(Select)Health(.HomePage)]]
* [[(Select)Personal Growth(.HomePage)]]
* [[Open Catalog(.HomePage)]]

Anything in parens isn't displayed in the link text, but is still part
of the target page name.

Note that there's absolutely nothing wrong with the markup you're 
using now; I just thought I'd point out some possible shortcuts.

Pm



More information about the pmwiki-users mailing list