Author Topic: Weather Blues - Modifying Home Page  (Read 7766 times)

Offline Dewey

  • New member
  • *
  • Posts: 7
    • Dewey Dewdrops Weather
Weather Blues - Modifying Home Page
« on: January 04, 2014, 01:19:21 PM »
On the Weather Blues home page, there are the words, "Welcome to Weather station" right below the picture.  I want to change that, but can't find them.  Which file creates that heading?

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Blues - Modifying Home Page
« Reply #1 on: January 04, 2014, 04:48:50 PM »
Hi Dewey,

The line you refer to is that one (line #88 on "stock" Template):
<h1 style="padding-top:15px"><?php echo $Tr_welcome.' '.$Tr_station; ?></h1>

They're 2 parts for the phrase "Welcome to weather station"
$Tr_welcome is the text "Welcome to" (in language files, translates to "Bienvenu" or "Benvenuto", etc...)
$Tr_station contain the text coming from Cumulus configuration
(See: Cumulus menu Configuration --> Station --> Name)

So, since you have entered "Weather Station" as the name of your station,
your site display... Welcome to... "Weather Station". Then, I recommend you
to associate a "name" and "Description" more... descriptive, to have something
displayed like "Welcome to... Dewey's fantastic weather site"!

Hope this help.

Best regards,
Jacques
Please, consider supporting this site 

Offline Dewey

  • New member
  • *
  • Posts: 7
    • Dewey Dewdrops Weather
Re: Weather Blues - Modifying Home Page
« Reply #2 on: January 05, 2014, 01:23:23 PM »
When I first asked the question, the name block in Cumulus/Configuration/Station Settings was blank.  The template still entered Weather station.  No matter what I enter in either the Name box or the Description box or both in Cumulus, nothing changes on the template.  It still says, "Welcome to Weather station."

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Weather Blues - Modifying Home Page
« Reply #3 on: January 09, 2014, 05:41:35 PM »
Hi Dewey,

I've finally found the error, this line:
<h1 style="padding-top:15px"><?php echo $Tr_welcome.' '.$Tr_station; ?></h1>

supposed to be:
<h1 style="padding-top:15px"><?php echo $Tr_welcome.' '.$location; ?></h1>

That will produce right thing:  "Welcome to... Dewey's fantastic weather site"!

Best regards,
Jacques
Please, consider supporting this site