Author Topic: Questions - problems with WB v2  (Read 1464 times)

Offline xitonn

  • New member
  • *
  • Posts: 7
    • Weatherstation Heerhugowaard - NL
Questions - problems with WB v2
« on: August 11, 2016, 07:22:02 AM »
Hello Jacques - other users!
Questions / problems with Weather by You! template Weather Blues v2 (php):

Jacques: First of all I want to give you a very big compliment voor the awesome templates you made. I downloaded the Weather Blues v2 and within 24 hours I had it up and running, also due to the very clear instructions! Thanks a lot. Merci beaucoup.  :-*

My site: www.weatherstationheerhugowaard.nl

I have some questions and a little problem.

1. Page History - Monthly
I am getting the next errors:
   
Warning: include(wt_months_inc.php): failed to open stream: No such file or directory in
/home/weatherstation/public_html/monthlyrecord.php on line 27

Warning: include(wt_months_inc.php): failed to open stream: No such file or directory in
/home/weatherstation/public_html/monthlyrecord.php on line 27

Warning: include(): Failed opening 'wt_months_inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in
/home/weatherstation/public_html/monthlyrecord.php on line 27

I see in the folder only the file: wt_month_inc.php, so without an 's'. I copied this file to the name: wt_months_inc.php (so with an 's'), but that didn't solve the problem.

2a. I customized the menu with an extra option, that worked well. I also made a new page: cloudinfo.php.
I added some text and pictures. The text however is not staying within the border of the template and is going over it. I looked

many ways to solve and finally I had success with the option: <div class="foo">. However I had to put it before each part of the text. Is there a way to solve this in a better way (maybe in the css file?)

2b. Also when putting some pictures, I didn't succeed to center the pictures. Now I have solved this with the option: style="padding:0px 325px 0px 0px, also this I have to put for every picture. Is there an other / better way (css?) to solve this?

2c. The page cloudinfo.php has a lot of information, and it is going over the bottom border. How can I make the page longer, so everything will be nicely within the bottom border, before the footer?

3. How can I edit the page: station.php, cause I want to remove the info for Davis specific info?

4. I went through the Dutch translations and corrected some typ errors and other errors. That works fine. Do I have the risk, that with a new version of the template lose my corrections? Maybe there can be an extra file: text_custom_nl.php, in which a user can add his own translations?

5. The option for languages is very nice and works good. How can I also translate the menu options into more languages?

Greetz,
Han

Offline Mr.Meteo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1120
    • http://www.meteostours.ca
Re: Questions - problems with WB v2
« Reply #1 on: August 13, 2016, 08:12:35 AM »
Hi Greetz,

Thanks. I'm glad that WB2 pleased you!

You have done a pretty long post, I'll try to answer all this!

1 - Your message told me that WB can't find wt_months_inc.php file
You have found the "S" difference in processed filename, so check if it is
processed by Cumulus and put in the same directory as wt_data_inc.php file.

2a - Your problem is your last photo that you've put strech your page.
So, take a smaller one (max 720px width)

2b - to center a whole page, or a section (a DIV), you ha to use this css sentence:

  margin: 0 auto;

2c -There is a "trick" on page height on this page. Left column give the height
for the whole page. So find this line and change "500px" for a much bigger number

<div class="sep_vert" style="height: 500px;">

3 - You already have succeed on that one!
But an other trick, when you want to change height of a standard page
with an image of a rotated text on the left (Station info on that one)
find that line and take a smaller number for the "360px":

<img style="padding:0px 0px 360px 30px" title="" alt="" src="style/station.gif">

4 - That is sure that the page you have modified contain risk to be "unmodified"
by updates, when you're using your Template Manage Module (manage.php)
check carefully for each page.

5 - You could check that link to see which languages are available:
http://meteoduquebec.com/translation/index.php

Currently, there's 17 languages completed (18th is currently uncompleted),
if you want to add to this list, let me know!

Hope this will help you!

Regards,
Jacques

 
Please, consider supporting this site 

Offline xitonn

  • New member
  • *
  • Posts: 7
    • Weatherstation Heerhugowaard - NL
Re: Questions - problems with WB v2
« Reply #2 on: August 14, 2016, 04:54:33 PM »
Hello Jacques,

Thanks very much for your answers, all is solved now.
I will join for translations in Dutch.


Best regards,
Han
« Last Edit: August 14, 2016, 05:27:48 PM by xitonn »