Log in

View Full Version : Footer Nav Bar Chnage Spelling of a Button


alfuzzy
03-31-2019, 07:50 PM
I have "footer navbar" on my site...and all I want to do is change the name of one of the buttons in the footer navbar. The button name I want to change is currently called "Archive".

I know much of the coding that controls this footer navbar is in the "footer" template accessed via the vB admincp.


Link of the footer navbar as users see it:

https://i73.photobucket.com/albums/i230/pigoo3/Screen%20Shot%202019-03-31%20at%205.33.44%20PM_zps0danj5iw.png

Link of the code in the vBulletin "footer" template that controls this button:

https://i73.photobucket.com/albums/i230/pigoo3/Screen%20Shot%202019-03-31%20at%205.33.18%20PM_zps3sju0pl2.png

https://vborg.vbsupport.ru/[/URL][/IMG]

Can someone tell me what I need to do (or where I need to go) to change the spelling of this "Archive" button to something else (for example change it to "Pizza").:)

Thanks

snakes1100
04-01-2019, 09:06 AM
search phrases under Languages & Phrases, change the phrase for archive

alfuzzy
04-01-2019, 09:24 AM
Thanks snakes1100...great answer as usual.:)

When I did a search in Languages & Phrases for "archive"...there's nothing editable in any of the search results. Here's a screenshot of one of the results:

https://i73.photobucket.com/albums/i230/pigoo3/Screen%20Shot%202019-04-01%20at%207.29.00%20AM_zps70i6rgtq.png

Thanks

snakes1100
04-01-2019, 10:17 AM
You want this phrase, not the one you are editing.

GLOBAL Phrases Containing 'archive'

Just enter what you want it to say in the box, then save.

--------------- Added 1554121218 at 1554121218 ---------------

If you want, just edit the footer template for the style:

<vb:if condition="$vboptions['archiveenabled']"><li><a href="archive/index.php{vb:raw session.sessionurl_q}">{vb:rawphrase archive}</a></li></vb:if>

to

<vb:if condition="$vboptions['archiveenabled']"><li><a href="archive/index.php{vb:raw session.sessionurl_q}">PIZZA</a></li></vb:if>

alfuzzy
04-01-2019, 12:23 PM
Hey there Snakes1100...you are The Man! That did the trick!:)

Just so you know...I searched with the phrase manager again...and found something I must have missed the 1st time. There was an editable "Archive" phrase (see link below)...but when I changed it to something else (like Pizza)...it didn't change the name in the footer link:

https://i73.photobucket.com/albums/i230/pigoo3/Screen%20Shot%202019-04-01%20at%208.59.26%20AM_zpsynj1dsxq.png

But editing the footer template as you instructed did the trick!:)

Thanks VERY much!:)

--------------- Added 1554129329 at 1554129329 ---------------

A bit of a followup question Snakes1100.

Here's a screenshot of the footer template code that controls this footer navbar. As you can see...on the one line of code...I changed {vb:rawphrase archive} to Pizza....and that worked great.:)

https://i73.photobucket.com/albums/i230/pigoo3/Screen%20Shot%202019-04-01%20at%2010.25.22%20AM_zpsddoph7b3.png

My followup question is:

Rather than manually modifying each individual {vb:rawphrase xyz123} statement for each footer link name. Looking at the code in the screenshot...should there be a file or template that contains all this info in one place that I could modify rather than changing each line of footer template code for each footer link name?

Thanks again.

snakes1100
04-02-2019, 07:07 AM
No, you need to change them in the footer template or do the phrasing.

alfuzzy
04-02-2019, 12:08 PM
Ok great. Thanks for confirming. And thanks much for the help.:)