cloudy

Author Topic: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin  (Read 18717 times)

0 Members and 1 Guest are viewing this topic.

Offline saratogaWX

  • Posts: 4,575
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #15 on: March 08, 2008, 06:49:21 PM »
John,
Nice silver theme.  :)
You did not install the included style neutral windrose image set, did you not like them?

I have noticed something I would like to fix with the template css files and I want to ask Ken and everybody before I made the change.
I can tighten up the menu link spacing allowing more links in a tighter area.
For a sample of what I am talking about compare John's site to my site menu spacing, see how I have more links in less vertical pixel area?
http://www.wx4mt.com
http://www.carmosaic.com/weather/index.php

I would also like to make the #main-copy h1 text not italic, see here the big words that say "Records and Stats": http://www.wx4mt.com/wxgraphs.php
sorry, I just do not like italic very much.

Would you guys like me to integrate these changes into the Color Theme Switcher Plugin style sets?

Yes, please tune the CSS set!  I'll include the results in the distribution .zip files.

Thanks Mike!

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #16 on: March 08, 2008, 07:15:09 PM »
Hi

Thanks for a great plugin however I have one problem all ok in IE but in Firefox my WU forecast does not line up with dashboard.

http://www.gyweather.com/Newweb/wxindex.php

Thanks

Tony

Tony, I have a simple fix for you  :)
It was caused because you removed stuff from the top of the page.
edit your wxindex.php and add a line break at the top just before  the ajax dashboeard


change

<div id="main-copy">
<div class="column-dark">


to

<div id="main-copy">
<div class="column-dark">
         <br />


Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #17 on: March 08, 2008, 08:06:35 PM »
Version: 1.02  08-Mar-2008 updated all the css files to tighten the line spacing of the navigation links
also changed the #main-copy h1 text to not be italic,
h1 is used for the big words on that say "Records and Stats" in the wxgraphs.php page
added a backup copy of windrose images into the folder ajax-images-original/
they are only needed if you want to completely uninstall this plugin and restore to original state.
To upgrade from vers 1.02: just replace all the css files from the zip file to your server

My demo template is using all the new changes
http://www.642weather.com/weather/template/index.php

« Last Edit: October 28, 2008, 06:53:27 PM by MCHALLIS »

Offline Goldseeker

  • Posts: 146
  • Guernsey, Channel Islands
    • Guernsey Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #18 on: March 08, 2008, 08:42:59 PM »
Thanks Mike

All fixed

Tony

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #19 on: March 08, 2008, 09:46:27 PM »
Version: 1.03  08-Mar-2008 updated readme.txt instructions for installing,
instructions are now more compatible with the default Settings.php of todays release of the
Weather Display/PHP/AJAX Website Template Set by Ken True
also added 'How to Upgrade' instruction section.
Ken True added a setting in Settings.php to disable the the use of Theme Switcher.
Now you can enable/disable it without having to install/uninstall it.
Ken True now includes my windrose images in his default website Template Set download, so I removed the
backup copy of windrose images folder ajax-images-original/, it is no longer needed.

Offline saratogaWX

  • Posts: 4,575
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #20 on: March 08, 2008, 09:54:36 PM »
You're too speedy for me Mike :)
I'd just done the update for V1.02 to the Canada, USA and World zips and updated the instructions.

Did you change any .css or .php since V1.02 in V1.03 -- if not, I'll use the V1.02 (and call it V1.03) if that's ok with you.

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #21 on: March 08, 2008, 09:59:03 PM »
You're too speedy for me Mike :)
I'd just done the update for V1.02 to the Canada, USA and World zips and updated the instructions.

Did you change any .css or .php since V1.02 in V1.03 -- if not, I'll use the V1.02 (and call it V1.03) if that's ok with you.

Best regards,
Ken

Ken, the PHP and css did not change from vers. 1.02 , you are good to go!
I only retyped some of the readme.txt and I deleted the ajax-images-original/ folder

Do you like the tighter spacing on the menu links now?

Offline saratogaWX

  • Posts: 4,575
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #22 on: March 08, 2008, 10:00:45 PM »
Excellent!  I'm finishing up the writeup and announce of changes since the last update to the dists.

Thanks Mike!

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #23 on: March 09, 2008, 06:28:57 AM »
I just added a theme called Ice Tea
The zip file has been updated

How to upgrade if you already have the theme switcher:
1) Download the latest zip file: css-theme-switcher.zip, unzip it
   Zip File available at: http://www.642weather.com/weather/scripts.php 

2) Copy all the .css files and include-style-switcher.php to the
  same folder on your web server where you have your Carterlake/AJAX/PHP templates installed
« Last Edit: October 28, 2008, 06:53:41 PM by MCHALLIS »

Offline jmcmurry

  • Jim McMurry
  • Posts: 2,213
  • Mauston, WI, USA
    • Juneau County Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #24 on: March 09, 2008, 09:31:31 AM »
Mike,

The new theme looks very nice on the demo page, but doesn't want to be selected when in the editor.

- Jim

 Home of NSLog NexStorm Lightning Data Manager

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #25 on: March 09, 2008, 02:06:43 PM »
Mike,

The new theme looks very nice on the demo page, but doesn't want to be selected when in the editor.

- Jim

Jim, I fixed it, thanks

Offline rford

  • Posts: 262
  • Benson, North Carolina
    • W4RJF's Weather Site
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #26 on: March 09, 2008, 02:36:47 PM »
Dashboard Shift:

http://www.i40exit319weather.com/index.php

I have just installed the latest version of the template files and configured the Color Theme Switcher and seem to have a problem.

In Style Options with wide screen off the display is fine...with the wide screen on the dashboard shifts to the left about 1 inch.  This is the only page I have a problem with...I have tried a new unedited version of the dashboard and it shifts to the left.

I have also tried the original version of the Theme Switcher prior to the inclusion in the setting file...I get the same results.

I have posted the main body of the index file below...does anyone have a suggestion??


if (isset($_REQUEST['show']) and strtolower($_REQUEST['show']) == 'settings') {
  global $SITE;
  print "<!-- settings\n" . htmlentities(print_r($SITE,true)) . " -->\n";
}

//
$useTopWarning = true;  // set to true to use only the rss-top-warning script
//                         set to false to use the rss-advisory script instead
?>

<div id="main-copy">
   
<?php // insert desired warning box at top of page
  if ($useTopWarning) {
   @include_once("rss-top-warning.php");
  } else {
   $includeOnly = true;
   $doSummary = true;
   print "      <div class=\"advisoryBox\"\">\n";

   @include("rss-advisory.php");
   print "      </div>\n";
  }
?>
<div class="column-dark">


<div align="center">


<?php include_once("ajax-dashboard.php"); ?>
</div>

</div><!-- end column-dark -->

</div><!-- end main-copy -->

<?php

Thanks, Ronnie

Well I found my problem...seems I removed a <br /> and that cause my little issue...as always...opereator error...

Ronnie
« Last Edit: March 09, 2008, 03:38:35 PM by rford »

Offline saratogaWX

  • Posts: 4,575
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #27 on: March 09, 2008, 11:53:25 PM »
That's great, Ronnie!  Glad the problem was resolved.

Mike, I'm getting a .zip from your page that doesn't include the 'icetea' CSS files... Cleared the browser cache and all ?!?

Best regards,
Ken
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #28 on: March 10, 2008, 01:24:18 AM »
That's great, Ronnie!  Glad the problem was resolved.

Mike, I'm getting a .zip from your page that doesn't include the 'icetea' CSS files... Cleared the browser cache and all ?!?

Best regards,
Ken

Sorry .. my bad I fixed it.

Offline saratogaWX

  • Posts: 4,575
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
    • Saratoga Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #29 on: March 10, 2008, 02:10:44 AM »
Hmm.. maybe I'm using the wrong URL
http://www.carmosaic.com/weather/scripts/css-theme-switcher.zip

Still has no 'icetea' CSS in it and latest file updates are on 8-Mar-2008 ?!?
Ken True
Saratoga Weather
CWOP: CW1792
WeatherUnderground: KCASARAT1
Free weather website PHP scripts and WD website AJAX templates

 

cumulus