Weather by You!
Templates and Projects support => Html Templates => Topic started by: Dewey 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?
-
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
-
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."
-
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