Jump to content
TNG Community
John Paul

template 19 nav menu

Recommended Posts

John Paul

ok, i give up.  where do you edit the nav menu for t19?  you know, the         Home      Search      Logout      etc.  menu bar?

Share this post


Link to post
Share on other sites
Chris Lloyd

Look at page source:

image.png

Suggests to me you need to look for the inner container - may be in the header or top menu file in the template folder. .

Alternatively may just be a change to the language file:

Share this post


Link to post
Share on other sites
John Paul

Chris, i appreciate your help, but I still cannot find the file to edit the Home link.  it's not in topmenu, index or header in t19, nor is it anything in the 2 english files.  dang, why is it so elusive? or i'm just not seeing it?

Share this post


Link to post
Share on other sites
tngrlkrz
10 hours ago, John Paul said:

nav menu for t19

Specifically, what are you trying to do?

Not sure about editing it, but the function tng_getLeftIcons in genlib.php displays the menu,  and specifically the  'Home' link is in this code:

    if( empty($tngconfig['showhome']) ) {
        $left_icons .= tng_smallIcon(array('url'=>getURL( $homepage, 0, ""), 'label'=>$text['homepage'], 'id'=>"home"));
        $tngconfig['menucount']++;
    }

And of course for nav menu styling, the templatestyle.css in template19 folder.

 

Share this post


Link to post
Share on other sites
John Paul

thanks for the info tngrlkrz.   I'm thinking of using a different template now, but for different reasons.....

Share this post


Link to post
Share on other sites
tngrlkrz
1 hour ago, John Paul said:

using a different template

FYI,  the genlib.php code should apply to all templates.

Share this post


Link to post
Share on other sites
John Paul

i guess we can call this topic closed.

Edited by John Paul
update

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×