cloudy

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

0 Members and 2 Guests are viewing this topic.

Offline ALITTLEweird1

  • Mark
  • Posts: 3,867
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #90 on: June 26, 2009, 01:53:07 PM »
Question on version..In the download file, the version is Version: 1.17  19-Dec-2008

But the changelog.txt file in the download says Version: 1.22  14-Jun-2009


Is the download file up to date with the new changes?
« Last Edit: June 26, 2009, 01:55:20 PM by ALITTLEweird1 »
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

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 #91 on: June 26, 2009, 02:39:16 PM »
Yes that is up to date.

This file: include-style-switcher.php rarely changes anymore. The last time it was changed was version 1.17  19-Dec-2008.
In many recent updates, only the css files are updated. Refer to the included changelog.txt, it tells you what changes in each version.

Offline ALITTLEweird1

  • Mark
  • Posts: 3,867
  • Snoqualmie,WA
    • Snoqualmie Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #92 on: June 26, 2009, 02:40:56 PM »
OK..Thanks for clarifying that Mike.
"Nature can do without man, but man cannot do without nature."

Davis VP2 + 1-Wire Solar + 1-wire Lightning + 1-Wire UV + Logitech Webcam

Offline Objector

  • Posts: 357
  • Dalton, Georgia, USA
    • Dalton Georgia Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #93 on: June 26, 2009, 10:19:28 PM »
I think I've pinned down the IE7 problem I'm seeing on the wxwuhistory and wxhistory pages to only
the #main-copy CSS statement clear:right;

Am I the only one who has this issue with the new theme switcher CSS and the Saratoga templates?

Can someone explain exactly what is causing this and if there is a fix for it?

I've tried searching and found several past issues that were close to what I'm seeing but not exact.

Thanks

Derek

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 #94 on: June 27, 2009, 05:43:22 AM »
Derek,

What is the problem? Please describe it.
Do you have a URL to your page with the problem?

Offline Objector

  • Posts: 357
  • Dalton, Georgia, USA
    • Dalton Georgia Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #95 on: June 27, 2009, 08:54:51 AM »
The problem was that as the ajax update of the weather info in the title bar occurred, for some strange reason, the title bar info "mostly" disappeared leaving a "mostly" blank space at the top of those two pages (wxhistory and wxwuhistory). I'm running the Saratoga templates. I sort of fixed it by commenting out the "clear:right;" line in the #main-copy section of all the wide CSS files. Also, it was only happening with the wide themes, not the narrow ones and as far as I can check, only in IE7.

To see what I'm talking about go to either of the two pages below and then change to the "Black Wide" theme. The other themes have the line still commented out.

http://www.daltongeorgiaweather.com/wxwuhistory.php

http://www.daltongeorgiaweather.com/wxhistory.php

For the life of me I haven't been able to figure out what's different on these two pages, other than they end up quite a bit longer than all the others due to the amount of data.

Derek

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 #96 on: June 27, 2009, 04:11:06 PM »
The clear:right was put in there to correct a IE7 rendering issue on a MML page.
http://www.weather-watch.com/smf/index.php/topic,39306.0.html

So the clear:right was basically added as a "hack" to fix an issue that only affected IE7.
So one IE7 hack broke something else related to IE7.  :roll:

IE8 is out. IE8 has better rendering. IE8 has been pushed on Windows Updates since the beginning of May 2009.
I am going to remove the IE7 hack now. 8)
I will take out the clear:right

Any new issues IE7 rendering (as long as they are not cause by a validation problem) should probably be responded with "upgrade to IE8".

My preference though is for Firefox:
http://www.mikerepairscomputers.com/blog/software/whats-new-in-firefox-3-5/


Version: 1.23  27-Jun-2009
- removed a css hack for IE7 compatibility because it basically caused another IE7 problem.
removed clear:right from main-copy and main-copy-dark
- It is suggested that if you want to use IE, upgrade to IE8, it has many improvements.
To upgrade from vers 1.22: just replace all the css files from this zip file to your server

Download:                  
www.642weather.com/weather/scripts/css-theme-switcher.zip
« Last Edit: June 28, 2009, 07:48:56 PM by MCHALLIS »

Offline Objector

  • Posts: 357
  • Dalton, Georgia, USA
    • Dalton Georgia Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #97 on: June 28, 2009, 05:43:48 PM »
I agree on Fire Fox being a better choice. Also, I wasn't complaining and hope it didn't come off sounding that way.

Derek

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 #98 on: June 28, 2009, 07:50:03 PM »
No problem. I am happy to look into any problem that comes up.  :lol:

Offline aggets

  • Posts: 50
  • South Central Wisconsin USA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 9.0.1
    • Sun Prairie Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #99 on: January 23, 2012, 01:43:51 PM »
Hello

I am trying (unsuccessfully) to have some pages narrow and some wide without using the user selector allowthemeswitch I am using the narrow theme for my default but I would like to have some pages use the wide theme automatically when the page loads for when the content is wider than the narrow theme will allow. I tried making a second settings.php file named settings_wide.php set with wide as default with no luck. I do have the wide theme .css file uploaded and page does display wide when I use the theme selector on the menubar. Any ideas

Thanks Andy
« Last Edit: January 23, 2012, 01:50:35 PM by aggets »

Offline saratogaWX

  • Posts: 4,575
  • Saratoga, CA, USA 37:16:28N, 122:01:23W - Elev: 374ft.
  • OS/Browser:
  • Win XP
  • Firefox 9.0.1
    • Saratoga Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #100 on: January 23, 2012, 02:57:22 PM »
The easiest way to force a wide screen for a single page is to add
Code: [Select]
global $SITE;
$SITE['CSSscreen'] = preg_replace('|narrow|i','wide',$SITE['CSSscreen']);
just before the include("top.php") on the page.  It will make that one page using wide aspect and not otherwise disturb the session or cookies for the style selected.

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

Offline aggets

  • Posts: 50
  • South Central Wisconsin USA
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Firefox 9.0.1
    • Sun Prairie Weather
Re: Carterlake/AJAX/PHP Template - Color Theme Switcher Plugin
« Reply #101 on: January 23, 2012, 03:27:56 PM »
Perfect Ken thats exactly what I was looking for.

Thanks much Andy