Alk Posted June 14, 2014 Report Posted June 14, 2014 Hello, I would like to alter the "Support" text in the navigation bar for both the Staff and Client Portal: I have tried modifying the "Support" text entry in the file: \plugins\support_manager\language\en_us\support_manager_plugin.php line 12 & 13: $lang['SupportManagerPlugin.nav_primary_client.main'] = "Support"; $lang['SupportManagerPlugin.nav_primary_staff.main'] = "Support"; However, in practise, it is not changing. Could anyone help please? Thank you! Quote
Michael Posted June 14, 2014 Report Posted June 14, 2014 Clear your cache (Remove /1/ from the cache folder) or download the empty cache module here: http://www.blesta.com/forums/index.php?/topic/2681-plugin-empty-cache/ I personally love it click the link and Bam. Quote
Alk Posted June 14, 2014 Author Report Posted June 14, 2014 Thanks Mike, unfortunately clearing the cache still hasn't altered the text in the nav bar. I think I must be editing the wrong language file, but I don't know what other file it could be. Quote
ServZoo Posted June 15, 2014 Report Posted June 15, 2014 I'm in the same boat. To be honest, I haven't spent any more time troubleshooting... But, I have done the same thing with the Pro module and it still says "Support Pro." I'll be curious what the final fix is. Quote
Blesta Addons Posted June 15, 2014 Report Posted June 15, 2014 the text you have edited is correct . what ican suggest is to un-install the plugin and install it again . Quote
Alk Posted June 15, 2014 Author Report Posted June 15, 2014 Thank you very much everyone; you have all helped me get to the bottom of this. So when the plugin is installed, it takes the entry in the language file I mentioned and writes it to the database in table: plugin_actions In this table you will find 2 rows with these entries in the "action" column: nav_primary_client nav_primary_staff (self-explanatory) and these 2 rows will have the "support" text in the "name" column. Just go ahead and alter the text in the "name" column for the rows. Like so: Then clear your cache by deleting the "1" folder from the cache folder (eg. blesta_install_dir/cache/1/) (or use the emptycache plugin by naja7host) and reload the page. Michael and ServZoo 2 Quote
Blesta Addons Posted June 15, 2014 Report Posted June 15, 2014 added this task to my new plugin "admin tools" , then the admins can change the text without go to phpmyadmin ServZoo, Alk, Daniel B and 1 other 4 Quote
rfhmendes Posted July 28, 2018 Report Posted July 28, 2018 If this is changed in the database, it will also change the word for every other language. Or, did anything changed in the meanwhile and I didn't notice? :S Anyone knows a quick workaround for this in the latest version (4.3)? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.