Author Topic: Weather Blue V2 Gauges  (Read 8938 times)

Offline Hungry

  • New member
  • *
  • Posts: 7
    • bayweather
Re: Weather Blue V2 Gauges
« Reply #15 on: January 02, 2013, 01:50:11 AM »
 :) Well I have nearly cracked it now. I need to get some photos to change things to our area but it has been that wet and overcast of late I have not had the chance to take any decent ones. There is one thing I am having problems with and thats changing the section titles on some pages. The home page for example says 'Welcome to Weather station' which is not right. I have looked for this text in all of the folders but I can not seem to put my finger on it. There is one in the Info tab too I would like to change, but again, I can't find the phrase in the folders. Please can you point me in the right direction. Many thanks and a happy New Year to all.

Jon

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Blue V2 Gauges
« Reply #16 on: January 02, 2013, 06:37:46 AM »
Hi Jon,

Happy new year to you too, best wishes for thins new year!

For your title problems, there is 2 different things:

1 - For the Welcome to Weather Station, this "Weather Station" is coming
from your Cumulus configuration for your station. Then, you change it
by menu Configuration --> Station --> Name

2 - For titles that you want to change in info.php or/and other pages, they are
mostly part of the "languages pack". Then, to change them you have 2 choices

a) Look in the lang folder, it contain all translations available for your pages.
Find in them the title that you want to change and replace it.For example if you
want to change title "Informations about our installation", locate line begining
with $TT_about and do your modification (in all languages!). But take care, any
update in language pack will replace your modifications!


b) Look at the page you want to modify, most of the time you have 2 files for
the same page (eg index.php and index_txt.php) and find the place to be modified.
Easiest way is probably to see file text_standard_en.php in lang folder to find
the sentence you want to change (ex. "Informations about our installation") and look
at the corresponding variable (ex."$TT_about"). That will give you which words you
have to change. Finally in your page you will find a  sentence of something like this:
<?php echo $TT_about ?>. Simply replace all these words with the sentence
you want to have. But that way, this phrase will stay in English even if visitor
change to an other language!


Finally, take care, file ending with _txt.php will be updated (replaced) as often
as Cumulus launch a new official version. Then have allways good backups!

Regards,
Jacques
Please, consider supporting this site 

Offline Hungry

  • New member
  • *
  • Posts: 7
    • bayweather
Re: Weather Blue V2 Gauges
« Reply #17 on: January 02, 2013, 11:27:28 AM »
Thanks for the reply. I thought I would try the easy one first, but I am not having much luck with that at the moment. The name in the config section was already filled in, but it is not being picked up for some reason. I have changed it and reloaded but to no effect.  :(  Still I will plug away at it and see if I can get to the bottom of the config problem. Jon