The SlashOcean theme contains a Welcome message and a Search box in its header, as a close inspection of the code in the themeheader() function of themes/SlashOcean/theme.php reveals:
echo "<br> <center> <table cellpadding=0 cellspacing=0 border=0 width=99% align=center><tr><td align=left> <a href=$nukeurl><img src=themes/SlashOcean/modules/PHP-Nuke_HOWTO/images/logo.gif Alt=\"Welcome to $sitename\" border=0></a> </td><td align=right width=100%> <form action=modules.php?name=Search&method=post> <font class=content><input type=text name=query width=20 size=20 length=20> </td> <td align=right> <input type=submit value=\""._SEARCH."\"></td> </form>"; echo "</td></tr></table><br>"; |
You can use this code if you wish to have a search box besides your logo, as in SlashOcean. You will find similar constructs in the other themes, e.g. Kaput or Slash.
Prev | Home | Next |
How to create a top navigation bar as in NukeNews theme | Up | How to change the PHP-Nuke header depending on some global feature |
Help us make a better PHP-Nuke HOWTO!Want to contribute to this HOWTO? Have a suggestion or a solution to a problem that was not treated here? Post your comments on my PHP-Nuke Forum! Chris Karakas, Maintainer PHP-Nuke HOWTO |