General Community > WebsiteBaker Website Showcase
Help me make my site look more professional
Ruud:
This is not the index.php, it is info.php. You should not change info.php (just put back the 2 $menu[] items for later use)
What you want to change (guessing you want the complete menu on the left) is the two lines in index.php that build the menu's.
on line 25, change "<?php show_menu(1,0,1,true,'<li>...." into "<?php show_menu(2,0,1,true,'<li>...."
on line 68, change "<?php show_menu(2,0,-1,true,..." into "<?php show_menu(1,0,-1,true,...."
Now the possible 2 menu's are switched.
Currently you will have all pages in menu 1, so that will be shown on the left.
Ruud
NotASingleWhiteFemale:
Ah. Light now dawns.
I'd like to remove the search box and the box with the day/date on it.
Do I simply cut these out of the index?
<form action="<?php echo WB_URL.'/search/index'.PAGE_EXTENSION; ?>" method="post">
<input type="text" name="string" class="inputbox" size="20" value="<?php echo $TEXT['SEARCHING']; ?>..." />
<input type="hidden" name="submit" value="<?php echo $TEXT['SEARCH']; ?>" />
</form>
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td align="left">
<?php show_breadcrumbs(); ?>
</td>
<td align="right">
<?php echo(date("l, d. F Y, H:i"));?>
</td>
</tr>
</table>
Ruud:
You're getting there.
Most templates will respect the setting in WB if search is activated. This one doesn't so remove the complete form. From <form> to </form>.
The other one is also correct. Removing the <table> to </table> will remove the copmplete box with the breadcrumbs and the date.
Ruud
Navigation
[0] Message Index
[*] Previous page
Go to full version