I have just started using phpwiki and have it installed and working fine. I am now trying to customise the look for my site and have the following questions:
1. How do I alter the layout of a template? e.g. i would like the WIKI box to start at the top of the page with RecentChanges, FindPage etc. at the bottom.
2. Within a WIKI box can I set text to wrap around an image?
3. Is there a way of setting the colour of text within a WIKI box?
4. Where do I alter the colour of active links, visited links etc?
5. Is there a way of using phpwiki to upload images to the website that can then be used within the WikiWeb?
I am using phpwiki 1.3.3 with a MySQL database and am trying to customise the Hawiian template.
Thanks for any help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You edit them :-). The template syntax in PhpWiki
is not really documented at all (sorry).
In the case of the Hawaiian theme, it inherits all
it's templates from the default theme. So the template
files you need to look at are in themes/default/templates/.
navbar.tmpl produces the top row of buttons.
It is included into top.tmpl. Which in turn is
included into body.tmpl. You can experiment
with moving the <?= Template('navbar') ?>
inclusion from top.tmpl to bottom.tmpl to see
if that's what you want.
> 2. Within a WIKI box can I set text to wrap around an image?
I have just started using phpwiki and have it installed and working fine. I am now trying to customise the look for my site and have the following questions:
1. How do I alter the layout of a template? e.g. i would like the WIKI box to start at the top of the page with RecentChanges, FindPage etc. at the bottom.
2. Within a WIKI box can I set text to wrap around an image?
3. Is there a way of setting the colour of text within a WIKI box?
4. Where do I alter the colour of active links, visited links etc?
5. Is there a way of using phpwiki to upload images to the website that can then be used within the WikiWeb?
I am using phpwiki 1.3.3 with a MySQL database and am trying to customise the Hawiian template.
Thanks for any help.
> 1. How do I alter the layout of a template?
You edit them :-). The template syntax in PhpWiki
is not really documented at all (sorry).
In the case of the Hawaiian theme, it inherits all
it's templates from the default theme. So the template
files you need to look at are in themes/default/templates/.
navbar.tmpl produces the top row of buttons.
It is included into top.tmpl. Which in turn is
included into body.tmpl. You can experiment
with moving the <?= Template('navbar') ?>
inclusion from top.tmpl to bottom.tmpl to see
if that's what you want.
> 2. Within a WIKI box can I set text to wrap around an image?
Not easily.
See http://phpwiki.sourceforge.net/phpwiki/ImageAlignment
for one hack.
> 3. Is there a way of setting the colour of text within a WIKI box?
Edit the style sheet. In your case themes/Hawaiian/Hawaiian.css.
> 4. Where do I alter the colour of active links, visited links etc?
The style sheet.
> 5. Is there a way of using phpwiki to upload images to the website that can then be used within the WikiWeb?
Not yet.
But see:
http://phpwiki.sourceforge.net/phpwiki/UploadMechanism