Support Forums


Go Back   68 Classifieds Forums > General > HTML, CSS, and Design Help

 
LinkBack Thread Tools Display Modes
Old 04-05-2006, 08:56 PM   #1
Senior Member
 
Join Date: Apr 2006
Posts: 126
Rep Power: 15
sporthorsebreeder will become famous soon enough
Default Adding another Heading to the Navigational Menu

Can anyone tell me how to add an additional heading to the Navigational Menu?
I want to add a heading called "Site Info" to break up the menu in the same way that the "Member Options" Heading does it just now. I want to include it just after the "Top Listings link".

Thanks for any help.
Hugh
sporthorsebreeder is offline   Reply With Quote
Old 04-05-2006, 09:06 PM   #2
Moderator
 
 
Join Date: Mar 2006
Posts: 4,114
Rep Power: 100
Lhotch is just really niceLhotch is just really nice
Default

The navigation section is contained in its own table in the file /templates/<your template name>/layout.tpl.php

The section that makes up the navigation has a comment designating where it starts and where it ends that looks like this.

<!-- // Navigation // -->

The headers for the nav title arent actually defined with the TH tag but instead are just a normal TD tag with a class designation for css...ie class="navTitle"

So, to add another table header simply add a new table row and data cell with the title like this...

HTML Code:
<tr>
<td class="navTitle">Site Info</td>
</tr>
then under that heading add your links by creating a new row and data cell like this...

HTML Code:
<tr>
<td class="navlist"><img src="images/bullet.gif" alt="" /><a href="link to your page">Text for your link</a></td>
</tr>
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 04-05-2006, 09:37 PM   #3
Senior Member
 
garysmith's Avatar
 
Join Date: Mar 2006
Location: Jackson, Mississippi
Posts: 130
Rep Power: 15
garysmith is on a distinguished road
Default

Larry how can I get the table header to pick up the attributes of the main headers ... please look at www.zfreeads.com


Quote:
"0" cellpadding="0" cellspacing="0" class="navigation">
<tr>
<td class="leftcol_top">{$smarty.const.LANG_TPL_NAVIGA TION}</td>
</tr>
<tr>
<td class="navlist"><img src="templates/default/images/bullet.gif" alt="" /> <a href="{$smarty.const.URL}/toplistings.php?pg=featured">Featured Ads</a></td>
</tr>
<tr>
<td class="navlist"><img src="templates/default/images/bullet.gif" alt="" /> <a href="{$smarty.const.URL}/toplistings.php?pg=new">{$smarty.const.LANG_TPL_NE W}</a></td>
</tr>
<tr>
<td class="navlist"><img src="templates/default/images/bullet.gif" alt="" /> <a href="{$smarty.const.URL}/toplistings.php?pg=top">{$smarty.const.LANG_TPL_TO P}</a></td>
</tr>
<tr>
<td class="navTitle">Site Info</td>
</tr>

{foreach from=$templatepages item="entry"}
<tr>
<td class="navlist"><img src="templates/default/images/bullet.gif" alt="" /> <a href="{$smarty.const.URL}/pages.php?page={$entry.pageID}">{$entry.pPageTitle }</a></td>
</tr>
{/foreach}
<tr>
__________________
As a Man Think-ith, So is He.
www.zFreeAds.com
www.ms-fsbo.com

Last edited by garysmith; 04-05-2006 at 09:40 PM.
garysmith is offline   Reply With Quote
Old 04-05-2006, 09:54 PM   #4
Moderator
 
 
Join Date: Mar 2006
Posts: 4,114
Rep Power: 100
Lhotch is just really niceLhotch is just really nice
Default

Quote:
Originally Posted by garysmith
Larry how can I get the table header to pick up the attributes of the main headers ... please look at www.zfreeads.com
You created different css classes for you nav table and the one I used in my example was the default. FOr example for you top nave bar is class="leftcol_top"
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 04-05-2006, 10:05 PM   #5
Senior Member
 
garysmith's Avatar
 
Join Date: Mar 2006
Location: Jackson, Mississippi
Posts: 130
Rep Power: 15
garysmith is on a distinguished road
Default

Thanks Larry for the comments and the leads.

see the change at www.zfreeads.com

gsmith
__________________
As a Man Think-ith, So is He.
www.zFreeAds.com
www.ms-fsbo.com
garysmith is offline   Reply With Quote
Old 04-05-2006, 10:07 PM   #6
Moderator
 
 
Join Date: Mar 2006
Posts: 4,114
Rep Power: 100
Lhotch is just really niceLhotch is just really nice
Default

There ya go, peice of cake eh?
__________________
Larry.
(Please note: I am not a 68C employee. I am a customer and volunteer who helps with questions where I can and the forums spam free)

Set your site apart from the competition with one of my modules......
Google Map Module | You Tube Module | Google Calendar Module | Event Calendar Module

68 Classifieds Important Links
Customer Area | Issue Tracker | Knowledge Base | User Manuals
Lhotch is offline   Reply With Quote
Old 04-06-2006, 05:48 AM   #7
Senior Member
 
Join Date: Apr 2006
Posts: 126
Rep Power: 15
sporthorsebreeder will become famous soon enough
Default

Thanks Larry for sharing your knowledge.
Its simple when you know how
Hugh
sporthorsebreeder is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I replace the side navigation menu?? sbuell20 v3.1 Questions & Support 10 03-31-2007 06:28 AM
Adding a heading to the Featured Listings sporthorsebreeder v3.1 Questions & Support 2 07-21-2006 12:04 PM
Adding a heading to the Featured Listings sporthorsebreeder v3.0 Questions & Support 1 07-21-2006 11:49 AM
Adding a Heading to the Featured Listings sporthorsebreeder HTML, CSS, and Design Help 9 05-31-2006 09:54 PM
Adding Internal Navigation Menu sleepy HTML, CSS, and Design Help 1 04-13-2006 09:12 AM


All times are GMT -4. The time now is 06:25 PM.


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