vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Footer Nav Bar Chnage Spelling of a Button (https://vborg.vbsupport.ru/showthread.php?t=327176)

alfuzzy 03-31-2019 07:50 PM

Footer Nav Bar Chnage Spelling of a Button
 
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/i...ps0danj5iw.png

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

https://i73.photobucket.com/albums/i...ps3sju0pl2.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/i...ps70i6rgtq.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 [DATE]1554121218[/DATE] at [TIME]1554121218[/TIME] ---------------

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/i...psynj1dsxq.png

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

Thanks VERY much!:)

--------------- Added [DATE]1554129329[/DATE] at [TIME]1554129329[/TIME] ---------------

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/i...psddoph7b3.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.:)


All times are GMT. The time now is 01:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00920 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete