cloudy cloudy

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

0 Members and 1 Guest are viewing this topic.

Offline Alan Rowley

  • Posts: 405
  • 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, 06: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,158
  • 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, 05: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: 405
  • 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, 07: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,158
  • 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, 09: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: 405
  • 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, 05: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, 02:14:28 PM by Alan Rowley »

Offline Alan Rowley

  • Posts: 405
  • 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, 02: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.

Offline Jonny J

  • Posts: 66
  • Davenport, Iowa USA
    • no skype
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 21.0.1180.89
    • Lightning Weather
Re: WordPress Blog Add On for Carterlake Templates updated for WP 2.9+
« Reply #141 on: September 26, 2012, 05:03:20 AM »
I wanted to touch base with this. I have been attempting to get a blog page going. The problem I have had so far, I have not been successful getting the blog page going properly. I have it all in a folder called "wxstories" http://lightningweather.com/wxstories
I have been getting a 500 internal server error attempting to go to this page, as if it doesn't exist. not sure what I may be doing wrong. I do know my hosting (iPage) does allow wordpress. no matter what part of the folder I attempt to go to, it gives me a 500 internal server error. ](*,)

I have been able to follow all directions to getting the page set up except adjusting the /flyout-menu.xml to using the url/flyout-menu.xml. Changing that changes the entire site and takes it off line.
I am running the alt-ajaxdashboard, with the updated ajaxwdwx.js and settngs.php files. I don't know if that makes a difference.
Can someone point me in the right direction?

Much appreciated in advance
~Jonny J~

Weather-Display    (10.37R Build 3XX
Station: Davis VP2 - 6152
Find us on Facebook: http://www.facebook.com/lightningweather
http://facebook.com/lightningwxqc

 

cumulus