[pmwiki-users] Getting a different header

Simon s-i-m-o-n at paradise.net.nz
Fri Oct 28 19:30:23 CDT 2005


There are several places that you could start with.
In your local/config.php you can change the image URL itself, eg
  $PageLogoUrl = "/images/examplelogo.gif";
You probably also want to create you own "skin".
This is very easy if you want only to do a simple change such as you 
describe.
Again in config.php add a line
  $Skin = "example";
create the directory
 pub/skins/example
copy the file pub/skins/pmwiki/pmwiki.tmpl into your new directory.
create a file called pmwiki.css in you new directory
and add the following lines
/* My example skin */
/* Last Updated */
/* 2005 10 29 original version */
@import url("/pmwiki/pub/skins/pmwiki/pmwiki.css");

You can then add lines to change the look and feel of pmwiki.
When you want to find out what to change view the source of a pmwiki page.
You'll see stuff a bit like this
<body>
<!--PageHeaderFmt-->
  <div id='wikilogo'><a href='http://pmwiki.org/wiki'><img 
src='/pmwiki/pub/skins/pmwiki/pmwiki-32.gif'
    alt='PmWiki' border='0' /></a></div>
  <div id='wikihead'>
  <form action='http://pmwiki.org/wiki'>
    <a href='http://pmwiki.org/wiki/PmWiki/RecentChanges'  
accesskey='c'>Recent Changes</a> -
    <input type='hidden' name='n' value='PmWiki.PmWiki' />
    <input type='hidden' name='action' value='search' />
    <a href='http://pmwiki.org/wiki/Site/Search'>Search</a>:
    <input class='searchbox' type='text' name='q' value='' />
    <input class='searchbutton' type='submit' value='Go' /></form></div>
<!--/PageHeaderFmt-->
  <table id='wikimid' width='100%' cellspacing='0' cellpadding='0'><tr>
<!--PageLeftFmt-->

whereever you see a class=   or an   id= you can use the name in your 
.css file.
For example you could add the following to your file:
.pagetitle {
    font-size: 110%;
    font-weight: bold;
    bottom: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px;
}
.lastmod {
    border: none;
    float: left;
    clear: left;
    font-size: 7pt;
}

hope this helps

Simon


Daniel Pi wrote:

> I've just spent the whole morning trying to figure out how I change 
> the pmwiki logo at the top.
>
> I'm not interested in linking a graphic, I just want to a bigger font 
> on top and a smaller font below, like a headline and subhead. I 
> haven't found anything outlining how I do that in the documentation.
>
>
> Thanks,
>
> Daniel






More information about the pmwiki-users mailing list