Jump to content
TNG Community

adding a line on menu bar


NancyP

Recommended Posts

I would like to add "Guest Login: guest / guest2016" after the login menu on the menu bar but I have not been able to figure out what file to edit. TNG is now so deeply immersed in php that it has become increasingly more difficult for me to do much in the way of customization. I'm using template 15 and have been able to add a few more customizations but this just plain eludes me. I've looked at the template 15 index and topmenu files but nothing works. Ideally, I'd like it under the menu bar on the same line as the "share & print" icons on the LEFT SIDE but at this point I'll take whatever.

Website: www.tullyhistoricalsociety.org

Thanks for the look.

Nancy

 

 

Link to comment
Share on other sites

How about sharing your solution. Other users might also like to do that but don't know how.

BTW, your template looks like #8, not #15 as you stated in your original question.

Link to comment
Share on other sites

Hi Hiraeth,

the website I'm working on at present and the one I wanted to add the line to was: www.tullyhistoricalsociety.org which is template 15.

I don't know that it makes any difference which template is used at this point because I edited the genlib.php file.

I added these lines:

   //Added for Guest Login: 
    $left_icons .= $text['guest'];

after this line in genlib.php:

 $left_icons .= $profilelink;

then in the cust_text.php file I added:

//Added for  guest login
$text['guest'] = '(Guest Login: guest / guest2016)';

 

Like I mentioned above, I'm not much of a php person, so if the code is not formatted correctly ... oh well... there weren't any takers on answering my query and I had to wing it. All I know is that it worked and I like it. I'm happy to share.

NancyP

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...