Support Forums

How Do I Add An Extra Top Navigation Button?

This is a discussion on How Do I Add An Extra Top Navigation Button? within the Modules / Plugins / Modifications forums, part of the Developer Forums category; Hi, I was just wondering if someone could explain to me how to add an extra top navigation button? The ...


Go Back   68 Classifieds Forums > Developer Forums > Modules / Plugins / Modifications

Reply
 
Thread Tools Display Modes
Old 08-18-2008, 10:33 AM   #1
Junior Member
 
Join Date: Aug 2008
Posts: 22
Rep Power: 7
68 Newbie is on a distinguished road
Default How Do I Add An Extra Top Navigation Button?

Hi,

I was just wondering if someone could explain to me how to add an extra top navigation button?

The standard 68c Template comes with the following buttons:

Home - Search - Browse - Featured - Place An Ad - Contact

I would like to add an extra button called "Instructions".

Thank you for your help.
68 Newbie is offline   Reply With Quote
Old 08-18-2008, 12:02 PM   #2
Member
 
Join Date: Jul 2008
Posts: 76
Rep Power: 8
centinel3 is on a distinguished road
Default how to:

I believe that you can login to the admin panel and add a button. When you create a new category I believe you can select whether or not to have it added to the top nav bar. If not, it's in another section. Then, you can create a page through the admin section as well. This is on the page editor section in the admin. Create a new page and then you can assign it to the new button by attaching a line of code. Just be sure to read how to do it at the bottom of the page editor section.

hope this helps.
centinel3 is offline   Reply With Quote
Old 08-18-2008, 12:10 PM   #3
68 Classifieds Staff
 
Eric Barnes's Avatar
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 5,315
Rep Power: 125
Eric Barnes is a jewel in the rough
Default

Also you can manually edit the layout template.

This is the top nav:
Code:
{* Tab navigation with the search bar *}
            <ul>    
                <li><a href="{$smarty.const.URL}/index.php">{$smarty.const.LANG_TPL_HOME}</a></li>
                <li><a href="{$smarty.const.URL}/search.php">{$smarty.const.LANG_TPL_SEARCH}</a></li>
                <li><a href="{$smarty.const.URL}/category.php">{$smarty.const.LANG_TPL_BROWSE}</a></li>
                <li><a href="{$smarty.const.URL}/toplistings.php?pg=featured">{$smarty.const.LANG_TPL_FEATURED}</a></li>
                <li><a href="{$smarty.const.URLS}/usercheckout.php">{$smarty.const.LANG_TPL_PLACE_AD}</a></li>
                <li><a href="{$smarty.const.URL}/contactus.php">{$smarty.const.LANG_TPL_CONTACT}</a></li>
            </ul>
Just add
<li><a href="whatever">Link Text</a></li>
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Documentation | 68C Mods | 68 @ Twitter | My Modules
Eric Barnes is offline   Reply With Quote
Old 08-18-2008, 09:32 PM   #4
Junior Member
 
Join Date: Aug 2008
Posts: 22
Rep Power: 7
68 Newbie is on a distinguished road
Default

Thanks for the advice.

I manually added the nav button which worked fine, but it did not automatically center all my nav buttons again, how can I keep all buttons centered?

Thanks.
68 Newbie is offline   Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
add a navigation button ericp999 Technical Support 7 07-07-2008 08:47 AM
MODIFICATION: Display extra fields separately. cwp Modules / Plugins / Modifications 2 05-30-2008 03:20 PM
Extra User Fields in Registration signup "Pull Down Menus" LittleRascal v3.1 Modules & Modifications 3 11-10-2007 11:04 AM
Adding extra field to search.php... abkeller v3.1 Modules & Modifications 4 06-05-2007 01:15 AM


All times are GMT -4. The time now is 05:32 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0