cloudy

Author Topic: WordPress Blog Add On for Carterlake Templates updated for WP 2.9+  (Read 23004 times)

0 Members and 2 Guests are viewing this topic.

Offline Alan Rowley

  • Posts: 259
  • Selston, Nottinghamshire, England
    • Bracken House Weather
Re: WordPress Blog Add On for Carterlake Templates updated for WP 2.9+
« Reply #135 on: June 14, 2011, 05:31:50 AM »
Hi Mike,

My footer.php didn't have the code ...

Quote
<?php echo $footer ?>

My footer.php was as follows ...

Quote
  <br />
  </div>  <!-- end blog-main -->
   <br class="clearfloat" />

  <!-- End wordpress code -->

<?php
############################################################################
include("../footer.php");
############################################################################
# End of Page
############################################################################
?>

I added the code ...

Quote
     <?php
      wp_footer();
      echo $footer
      ?>

... after 'End Wordpress code' and the admin bar appears.

Thanks for your help, now just need to get the gizmo working.

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: WordPress Blog Add On for Carterlake Templates updated for WP 2.9+
« Reply #136 on: June 14, 2011, 04:34:31 PM »
I corrected my post, leave the       echo $footer out

It should look like this:
Code: [Select]
<?php wp_footer(); ?>
 <!-- End wordpress code -->

Offline Alan Rowley

  • Posts: 259
  • Selston, Nottinghamshire, England
    • Bracken House Weather
Re: WordPress Blog Add On for Carterlake Templates updated for WP 2.9+
« Reply #137 on: June 14, 2011, 06:43:52 PM »
Changed the code to reflect your new coding, Mike and everything is working as it should.

Thanks!

I still need to get the current conditions on the gizmo working. It works fine on all other pages on my site but all I get on the blog is the large temperature displayed (see here). Anyone have any ideas?

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: WordPress Blog Add On for Carterlake Templates updated for WP 2.9+
« Reply #138 on: June 14, 2011, 08:19:16 PM »
Alan, view the source there is an error tag:
ajax-gizmo not loaded .. no wxtags specified

I am not sure what that means, but
double check all the gizmo settings in step 5
http://www.weather-watch.com/smf/index.php/topic,36381.0.html

Offline Alan Rowley

  • Posts: 259
  • Selston, Nottinghamshire, England
    • Bracken House Weather
Re: WordPress Blog Add On for Carterlake Templates updated for WP 2.9+
« Reply #139 on: June 15, 2011, 04:47:57 AM »
I think we may be getting somewhere here Mike. I have all my data, including clientraw.txt, in a sub-folder of my weather folder called 'data'. So, although the weather site URL is http://www.brackenhouse.net/weather, the path to the data is http://www.brackenhouse.net/weather/data.

Something somewhere is not finding the WXtags because of this. Does that make sense?

If so, we need to tell the program that clientraw.txt testtags.php is located in a folder called 'data' in such a way that it can be found be all the other pages. But how?
« Last Edit: June 16, 2011, 01:14:28 PM by Alan Rowley »

Offline Alan Rowley

  • Posts: 259
  • Selston, Nottinghamshire, England
    • Bracken House Weather
Re: WordPress Blog Add On for Carterlake Templates updated for WP 2.9+
« Reply #140 on: June 16, 2011, 01:30:21 PM »
SUCCESS !!!

In Settings.php, I changed ...

Code: [Select]
// default settings needed for various pages when the weather software plugin is not installed.
// do not change these
$SITE['WXsoftwareURL'] = '#';
$SITE['WXsoftwareLongName'] = '(unspecified)';
$SITE['WXtags'] = ' ';

to ...

Code: [Select]
// default settings needed for various pages when the weather software plugin is not installed.
// do not change these
$SITE['WXsoftwareURL'] = '#';
$SITE['WXsoftwareLongName'] = '(unspecified)';
$SITE['WXtags'] = 'testtags.php';

... and it works.

Not sure if this is the correct way of fixing the problem, or if it affects anything else, but it's looking good.

HAPPY.