Author Topic: CareterLake Ajax/Php Templates  (Read 3799 times)

0 Members and 1 Guest are viewing this topic.

Offline ADM

  • Contributor
  • ***
  • Posts: 135
    • Barrow County Weather - Barrow County, Georgia
CareterLake Ajax/Php Templates
« on: July 12, 2008, 05:45:40 PM »
I am having problems turning off the "style option" I have followed the instructions provided at http://saratoga-weather.org/template/template-FAQ.php#FAQ5.

but, it does not seem to work.  The style change indeed goes away but, the default "orange" css seems to be in use.

Thanks!

Al...

Offline Tim Hanko

  • Member
  • *
  • Posts: 15
    • Walker, MI weather
Re: CareterLake Ajax/Php Templates
« Reply #1 on: July 12, 2008, 05:58:09 PM »
Posting a link to your site is always helpful.

What is the following line in Settings.php set to:

$SITE['CSSscreenDefault'] = 'weather-screen-blue.css';

Offline ADM

  • Contributor
  • ***
  • Posts: 135
    • Barrow County Weather - Barrow County, Georgia
Re: CareterLake Ajax/Php Templates
« Reply #2 on: July 13, 2008, 12:25:39 PM »
Here is what is in the settings.php

# Mike Challis' Theme Switch configuration
$SITE['allowThemeSwitch']   = false;  // set to false to disable the the use of Theme Switcher
$SITE['CSSscreenDefault'] = 'weather-screen-pastel.css';
$SITE['CSSwideOrNarrowDefault'] = 'narrow'; // 'narrow' or 'wide'


Posting a link to your site is always helpful.

What is the following line in Settings.php set to:

$SITE['CSSscreenDefault'] = 'weather-screen-blue.css';


Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: CareterLake Ajax/Php Templates
« Reply #3 on: July 14, 2008, 12:13:05 AM »
Those are correct,

You just need to change one more to have it lock into the pastel/narrow set:
Code: [Select]
$SITE['CSSscreen'] = 'weather-screen-pastel-narrow.css';
That entry is used if $SITE['allowThemeSwitch'] = false;

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ADM

  • Contributor
  • ***
  • Posts: 135
    • Barrow County Weather - Barrow County, Georgia
Re: CareterLake Ajax/Php Templates
« Reply #4 on: July 14, 2008, 05:22:32 AM »
Hi Ken,

Still does not seem to work.  When I set it to false and upload the file the screen seems to default to orange.  The style option is removed however.

Al...

Those are correct,

You just need to change one more to have it lock into the pastel/narrow set:
Code: [Select]
$SITE['CSSscreen'] = 'weather-screen-pastel-narrow.css';
That entry is used if $SITE['allowThemeSwitch'] = false;

Best regards,
Ken

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: CareterLake Ajax/Php Templates
« Reply #5 on: July 14, 2008, 09:49:57 AM »
Al, I'm assuming your talking about http://www.rockycreekweather.com/ website.

It shows Pastel for me (and still has the theme switcher enabled).

Have you tried clearing your cookie in the browser for rockycreekweather.com , then reloading the page?  It does store the preference for the theme in a cookie.

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ADM

  • Contributor
  • ***
  • Posts: 135
    • Barrow County Weather - Barrow County, Georgia
Re: CareterLake Ajax/Php Templates
« Reply #6 on: July 14, 2008, 05:09:45 PM »
Hi Ken

Still not working, the site is coming up "orange".  I did clear out the cookies and here the settings.php entries:  I will leave it "orange" until I hear from you. :)

$SITE['allowThemeSwitch']   = false;  // set to false to disable the the use of Theme Switcher
$SITE['CSSscreenDefault'] = 'weather-screen-pastel.css';
$SITE['CSSwideOrNarrowDefault'] = 'narrow'; // 'narrow' or 'wide'

Thanks!
for your help!

Al, I'm assuming your talking about http://www.rockycreekweather.com/ website.

It shows Pastel for me (and still has the theme switcher enabled).

Have you tried clearing your cookie in the browser for rockycreekweather.com , then reloading the page?  It does store the preference for the theme in a cookie.

Best regards,
Ken

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9279
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: CareterLake Ajax/Php Templates
« Reply #7 on: July 14, 2008, 05:59:52 PM »
I see Orange now too.

You'll still need to change Settings.php
Code: [Select]
$SITE['CSSscreen'] = 'weather-screen-php.css'; to
Code: [Select]
$SITE['CSSscreen'] = 'weather-screen-pastel-narrow.css'; to lock in the Pastel/Narrow look (leaving the other settings as you have them).

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline ADM

  • Contributor
  • ***
  • Posts: 135
    • Barrow County Weather - Barrow County, Georgia
Re: CareterLake Ajax/Php Templates
« Reply #8 on: July 14, 2008, 07:26:19 PM »
Once again, many thanks!  I guess I need to increase my eye glass prescription. :)

Thanks!

AL...

I see Orange now too.

You'll still need to change Settings.php
Code: [Select]
$SITE['CSSscreen'] = 'weather-screen-php.css'; to
Code: [Select]
$SITE['CSSscreen'] = 'weather-screen-pastel-narrow.css'; to lock in the Pastel/Narrow look (leaving the other settings as you have them).

Best regards,
Ken