> 1) Is there generalized information on creating your own themes?
Sadly, no.
> 2) What sort of adjustment would you make to force external links to
> open in new browser windows?
In the function LinkURL() which is is lib/stdlib.php, add something
like:
$link->setAttr('target', '_blank');
right before the last line ("return $link;");
> 3) Is there a way to inline an HTML header to add javascript functions?
Do you mean you just want to add some boilerplate HTML (e.g. with a
<script> tag) to the top of each page?
The proper place to do that, I think is in the templates, probably
in themes/defaults/templates/top.tmpl. (If you want your changes
to pertain only to a certain theme, then copy that file to
themes/<your-theme>/templates/top.tmpl, and then edit it.)
> 4) If I should RTFM, where is the FM that has this info? ;-)
Nowhere.
Feel free to ask questions. The best place to ask is probably
on the phpwiki-talk mailing list.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1) Is there generalized information on creating your own themes?
2) What sort of adjustment would you make to force external links to open in new browser windows?
3) Is there a way to inline an HTML header to add javascript functions?
4) If I should RTFM, where is the FM that has this info? ;-)
replies by email appreciated: jeremiah@blackops.org
> 1) Is there generalized information on creating your own themes?
Sadly, no.
> 2) What sort of adjustment would you make to force external links to
> open in new browser windows?
In the function LinkURL() which is is lib/stdlib.php, add something
like:
$link->setAttr('target', '_blank');
right before the last line ("return $link;");
> 3) Is there a way to inline an HTML header to add javascript functions?
Do you mean you just want to add some boilerplate HTML (e.g. with a
<script> tag) to the top of each page?
The proper place to do that, I think is in the templates, probably
in themes/defaults/templates/top.tmpl. (If you want your changes
to pertain only to a certain theme, then copy that file to
themes/<your-theme>/templates/top.tmpl, and then edit it.)
> 4) If I should RTFM, where is the FM that has this info? ;-)
Nowhere.
Feel free to ask questions. The best place to ask is probably
on the phpwiki-talk mailing list.