|
|
Search
Main Menu
Calendar
|
September '10
|
| S |
M |
T |
W |
T |
F |
S |
| | | 1 | 2 | 3 | 4 | | 5 | 6 | 7 | 8 | 9 | 10 | 11 | | 12 | 13 | 14 | 15 | 16 | 17 | 18 | | 19 | 20 | 21 | 22 | 23 | 24 | 25 | | 26 | 27 | 28 | 29 | 30 | | |
Site Styles
Latest News
|
Frequently Asked Questions
How do I change my navigation menus?
The files for your main menu and top menu are in the BLOCKS directory. Unfortunately, Majicko 1.0 BETA has no admin for editing them. Later releases of Majicko will include these features. In the meantime. These files must be edited directly.
Forunately, the top menu and main menu files are very easy to understand and mostly straight HTML with a little PHP wrapped around it. If you are familiar with HTML, you will have no trouble editing these files. Here is an example of what the main menu looks like.
<?php function b_mainmenu() { $block=""; $block.=' <h3>Navigation</h3> <div class="block_item"> <a href="index.php" class="leftcol">HOME</a><br /> <a href="viewblog.php" class="leftcol">BLOGS</a><br /> <a href="photo.php" class="leftcol">PHOTO GALLERY</a><br /> <a href="polls.php" class="leftcol">POLLS</a><br /> </div> <h3>About Us</h3> <div class="block_item"> <a href="static.php?s=2" class="leftcol">ABOUT US</a> <div class="lftcol_item"> <a href="links.php" class="leftcol_min">Affiliates/Links</a><br /> <a href="faqs.php" class="leftcol_min">Site FAQs</a><br /> <a href="static.php?s=5" class="leftcol_min">Terms of Service</a><br /> <a href="static.php?s=3" class="leftcol_min">Privacy Policy</a><br /> <a href="static.php?s=4" class="leftcol_min">Site Map</a><br /> <a href="contact.php" class="leftcol_min">Contact Us</a> </div> </div>';
return $block; } ?>
The first 4 lines and the last 3 must not be edited or the file will no longer function. Lines 5 through 24 can be freely edited with standard HTML. There is one last warning that you must be aware of. Using apostrophes in the HTML can upset the code. If you use any apostrophes at all in this page you must put a backslash before each one in order to keep the code in shape.
|