Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

Is There Anyway To Save Certain Text Changes From Been Lost At Next CB Version Update?

  • PhoenixUK
  • PhoenixUK
  • OFFLINE
  • Posts: 62
  • Thanks: 5
  • Karma: 0
11 years 8 months ago - 11 years 8 months ago #227144 by PhoenixUK
Hi All,

I would like to rename a few of the profile tabs, some of the registration fields and a few other areas, to more personalise the system from the CB brand as it is at present.

I am trying to find out if there's any other way fellow CB'ers are able to make such changes, yet when they update to a newer version of CB, they don't lose all said changes at that point?

If you can point me to any documentation about this kind of aspect it would be much appreciated.

I've done an exhaustive forum search but found nothing hence asking here.

Regards,
Last edit: 11 years 8 months ago by PhoenixUK. Reason: Needed to re-open thread for answering

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48700
  • Thanks: 8317
  • Karma: 1447
11 years 8 months ago #227155 by krileon
You won't lose any changes as long as you don't modify the source of core files. Changing a field or tab title for example in CB > Field Management or CB > Tab Management will persist with each CB update (you won't lose your changes). If you use language strings though and you modify the default language file then you will lose those changes on update; you should be editing the English language plugin instead, which you can find below.

forge.joomlapolis.com/projects/lan-cb-en/files


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: PhoenixUK

Please Log in or Create an account to join the conversation.

  • PhoenixUK
  • PhoenixUK
  • OFFLINE
  • Posts: 62
  • Thanks: 5
  • Karma: 0
11 years 8 months ago - 11 years 8 months ago #227254 by PhoenixUK
Hi Again,

That's awesome news and very straight forward I thought. I had a look through the CB1.9 Manual and right at the end is the following;

13 Language file changes

All front-end messages and pages displayed by CB are generated by language
strings that are defined in the CB language file.

As mentioned in chapter 8.2, CB language plugins are used to extend CB to work in other languages.

CB is installed with one default_language plugin that just happens to be English. This
default_language plugin appears as a folder in our {website-root} à components à
com_comprofiler à plugin à language path and it contains the following files of
interest:

• default_language.xml is the XML file defining the language plugin
• default_language.php is the PHP file containing all the language string
definitions
• calendar-locals.js is a javascript file that contains language definitions used by
the calendar pop embedded in CB
• admin_language.php is the PHP file containing all backend language string
definitions

The default language plugin is used if CB cannot find the proper language plugin
based on the CMS language specified on our site.

Language plugins are available on Joomlapolis as they are contributed by community members.

Page 168 of 170
If you open the default_language.php file with any text editor you will see all the
language string definitions used by CB (component and modules). You can easily
make any wording changes you see fit to make CB better and easier for your
community project. Particular care must be taken not to break the PHP language
syntax, so be cautious when making changes and always keep backup copies. You
will also see similar language related strings in the calendar-locals.js file that you can
re-word.


So what file exactly am I allowed to alter that one will enable me to change field or tab title text and two won't be lost on future updates?

I have the following language packs installed, the first two were already installed;




I installed the 3rd / last one in the screen shot list, as you mentioned to download it and install and edit that one it in your last message to me... although I'm not sure if you mean if I don't have ANY language pack installed as yet kind of thing?

Sorry to be needing further clarification, I just need / want to make sure I get it right first time around, as I don't like the idea of through my own silliness by rushing - losing any changes outlined above I want to make... therefore it's best to be safer than sorry as they say.

Regards,
Rob

krileon wrote: You won't lose any changes as long as you don't modify the source of core files. Changing a field or tab title for example in CB > Field Management or CB > Tab Management will persist with each CB update (you won't lose your changes). If you use language strings though and you modify the default language file then you will lose those changes on update; you should be editing the English language plugin instead, which you can find below.

forge.joomlapolis.com/projects/lan-cb-en/files

Attachments:
Last edit: 11 years 8 months ago by PhoenixUK.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum