Jeff wrote:
> Is it possible to have a different SideBar content for different group pages?
There's been a LOT of discussion of things lately that make one believe
that somehow all of the design elements are FIXED or limited. You
REALLY can build you own flexible design, your own templates and have
just about anything you want.
The design I use on our intranet has context sensitive AND user
context sensitive SideBar and drop down menus (for example).
You really can do pretty much anything you want. Our site
gives each user their own group where they have full password
protect (admin) rights. We also have user and context replaceable
banners (including rotating banners).
An example of what you can do in a template:
<!--wiki:{$Group}.Title {$SiteGroup.Title-->
This pulls in the current group's Title page if
found, otherwise, it pulls in the SiteGroup's Title
page... else it pulls in nothing.
You can see how you can create very flexible contexts
with this.
A lot of skins use a FIXED graphic for the site logo.
Why? You can just as easily have:
<!--wiki:{$SiteGroup}.Logo-->
And edit that page and put in whatever graphic or
content you like.
I encourage you to look at modifying an existing
skin template, or creating your own from scratch.
It's pretty easy to do and you can build pretty
much whatever look and feel you like.
Take a look at the attached sample template to
see one I've actually used that's pretty flexible.
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>$WikiTitle | {$Group} / {$Title} $Action</title>
<link rel='stylesheet' href='$SkinDirUrl/sample.css' type='text/css' />
<!--HeaderText-->
</head>
<body>
<!--PageHeaderFmt-->
<div id='wikisearch'>
<form action='{$ScriptUrl}'>
<a href='{$ScriptUrl}/$[{$Group}/RecentChanges]'
accesskey='$[ak_recentchanges]'>$[Recent Changes]</a> -
<input type='hidden' name='n' value='{$FullName}' />
<input type='hidden' name='action' value='search' />
<a href='{$ScriptUrl}/$[{$SiteGroup}/Search]'>$[Search]</a>:
<input type='text' name='q' value='' class='inputbox searchbox' />
<input type='submit' class='inputbutton searchbutton'
value='$[Go]' />
</form>
</div>
<table id='wikitop' width='100%' cellspacing='0' cellpadding='10'>
<tr>
<td id='wikitopleft' valign='center' width='150' align='center'>
<!--wiki:{$SiteGroup}.Logo-->
</td>
<td id='wikitopmid' valign='bottom' align='left'>
<div id='wikititle'>
<div class='pagegroup'>
<!--wiki:{$Group}.Title {$SiteGroup}.Title-->
</div>
</div>
</td>
<td id='wikitopright' valign='bottom' align='right'>
<!--wiki:{$SiteGroup}.Motto-->
</td>
</tr>
</table>
<!--/PageHeaderFmt-->
<!--PageNavFmt-->
<table id='nav' width='100%' cellspacing='0' cellpadding='10'>
<tr>
<td id='wikitopnavleft2' valign='top' width='150'>
</td>
<td id='wikitopnavmid2' valign='top'>
<div id='wikimenus'>
<!--wiki:{$SiteGroup}.SectionMenu-->
</div>
</td>
<td id='wikitopnavright2' valign='top' width='200'>
<!--PageActionFmt-->
<div id='wikicmds'>
<!--wiki:{$Group}.PageActions {$SiteGroup}.PageActions-->
</div>
<!--/PageActionFmt-->
</td>
</tr>
</table>
<!--/PageNavFmt-->
<table id='wikimid' width='100%' cellspacing='0' cellpadding='0'>
<tr>
<!--PageLeftFmt-->
<td id='wikileft' valign='top'>
<!--wiki:{$Group}.SideBar {$SiteGroup}.SideBar-->
</td>
<!--/PageLeftFmt-->
<td id='wikibody' valign='top'>
<!--PageText-->
</td>
</tr>
</table>
<!--PageFooterFmt-->
<div id='wikifoot'>
<div class='footnav'>
<div class='lastmod'>
$[Page last modified on {$LastModified}]
</div>
</div>
</div>
<!--/PageFooterFmt-->
</body>
</html>
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users