cloudy cloudy

Author Topic: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available  (Read 94498 times)

0 Members and 1 Guest are viewing this topic.

Offline ThorntonWeather

  • Tony
  • Commercial
  • Posts: 507
  • Thornton, CO USA
    • ThorntonWeather.com
I first talked about this project some months ago and folks expressed quite a bit of interest (see here for the original topic).  When Ken True released the Carterlake/AJAX/PHP templates, Jack Ahern (stillweather.com) and I started working together to get it put in a distributable form but real life has a habit of getting in the way of our weather hobbies sometimes and it got pushed to the back burner.  We have returned to the project and now are ready to release it to the Weather Display public. 

In a nutshell, the project is an effort to allow users of the Carterlake/AJAX/PHP templates to install a fully integrated blog solution to their websites.  We accomplished this using WordPress and a custom template that makes the WordPress installation have a consistent design and feel to match Carterlake/AJAX/PHP based websites.  You can view this in action here:


If you are interested, you can view instructions and download the WordPress template here.

Please do note that Jack and I aren't PHP coding experts on anywhere near the level of Ken and some of the other users in this forum so please bear with us as we deploy this.  Thanks!

    Tony

Offline NorCal Dan

  • Dan - KJ6RGX
  • Posts: 10,552
  • Davis Vue/Win10
  • Ocean Park, WA.
    • Traveling RV Weather
I like it...will have to check with e-rice.net to see if they allow this sort of thing on the server.  If they do I may take a shot at installing.  I noticed on your website it says installing the blog requires extensive knowledge of the server setup.  Not sure what that means, but for those of us who do not run our own servers I am curious what information we would need to know to do a successful install.

Offline n9mfk9

  • Posts: 470
  • Springfield IL, USA
hi Tony,
can you tell me were the file header_ajax.php comes from ?
Thanks beau

Offline BfdWx

  • Posts: 1,607
  • Branford Connecticut
    • Southern CT Weather
Quote
I like it...will have to check with e-rice.net to see if they allow this sort of thing on the server

That is what I use too, it works well. You just need to setup a MySQL database which e-rice allows!

Regards,

Jack

Offline niko

  • syzygy
  • Global Moderator
  • Posts: 28,170
  • Crystal Ball broken! Please post the URL.
  • Northern California, U.S.A.
I like it...will have to check with e-rice.net to see if they allow this sort of thing on the server.  If they do I may take a shot at installing. 

According to Alan: "Yes, WordPress works well on our servers."  :D

Offline ThorntonWeather

  • Tony
  • Commercial
  • Posts: 507
  • Thornton, CO USA
    • ThorntonWeather.com
I like it...will have to check with e-rice.net to see if they allow this sort of thing on the server.  If they do I may take a shot at installing.  I noticed on your website it says installing the blog requires extensive knowledge of the server setup.  Not sure what that means, but for those of us who do not run our own servers I am curious what information we would need to know to do a successful install.

Not extensive....  I think I wrote "a good bit" but that is probably overstating it too.  I will fix that.  I do think for the "early adopters" there may be a hiccup or two as we work out any bugs in the installation process so I just want folks to understand that.  :)  Jack got it up and running pretty easily though so I don't think it will be that tough at all.  The "hardest" part will be the installation of a MySQL database and WordPress but that can be done in just a few minutes.  You can read the '5 minute installation' instructions for WordPress here.

Offline ThorntonWeather

  • Tony
  • Commercial
  • Posts: 507
  • Thornton, CO USA
    • ThorntonWeather.com
hi Tony,
can you tell me were the file header_ajax.php comes from ?
Thanks beau

Hmmm.  Unsure.  Where are you seeing that? 

**  Edit.  Okay, I see it.  That may be something Jack had to modify that we didn't account for in our instructions.  Standby.  **
« Last Edit: August 03, 2008, 03:34:05 PM by ThorntonWeather »

Offline BfdWx

  • Posts: 1,607
  • Branford Connecticut
    • Southern CT Weather
Quote
can you tell me were the file header_ajax.php comes from ?

That is a hybrid header I use on my site which gives different header information based on the page you are on. It is much like the ajax gizmo but in a different format. It is not needed for the blog template.

Regards,

Jack

Offline ThorntonWeather

  • Tony
  • Commercial
  • Posts: 507
  • Thornton, CO USA
    • ThorntonWeather.com
All - I have updated the zip file to fix the incorrect header file being called in the template.  It now calls the standard header.php.  Please re-download and overwrite.  Sorry about that!  :)

   Tony

Offline NorCal Dan

  • Dan - KJ6RGX
  • Posts: 10,552
  • Davis Vue/Win10
  • Ocean Park, WA.
    • Traveling RV Weather
Ok, thanks for the info.  When I get some time I will see about setting this up.  I would do it today but going to float the river this morning and then have an NFL game this afternoon.  Got some guys coming over to watch it since they either don't have satellite or a TV, or both :)   Maybe make it tomorrows project...

Offline MCHALLIS

  • Posts: 2,158
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #10 on: August 03, 2008, 05:17:06 PM »
I am going to try it.

I do not use the site templates, even though my site looks like the current site templates, my site precedes them. ..  so I will have some customizing to make it work.

Offline ThorntonWeather

  • Tony
  • Commercial
  • Posts: 507
  • Thornton, CO USA
    • ThorntonWeather.com
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #11 on: August 03, 2008, 05:44:56 PM »
I am going to try it.

I do not use the site templates, even though my site looks like the current site templates, my site precedes them. ..  so I will have some customizing to make it work.


Let me know how it goes, Mike.  Like you, I don't use the standard templates so I actually started with the standard WordPress template and then customized it.  It actually isn't all that hard.  The WordPress template system is pretty modular with just a few main pages calling the header, footer, menu, etc.  I essentially took a basic page from my own site and then plugged the WordPress coding into it.

   Tony

Offline n9mfk9

  • Posts: 470
  • Springfield IL, USA
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #12 on: August 03, 2008, 06:02:36 PM »
Hi Tony
On my my site i have a custom set up to
I have word prees set up how did you go about
doing your custom setup
thanks Beau

Offline MCHALLIS

  • Posts: 2,158
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #13 on: August 03, 2008, 07:37:35 PM »
I got it working but now I am trying to fix HTML validation errors.

Offline ThorntonWeather

  • Tony
  • Commercial
  • Posts: 507
  • Thornton, CO USA
    • ThorntonWeather.com
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #14 on: August 03, 2008, 07:41:13 PM »
Hi Tony
On my my site i have a custom set up to
I have word prees set up how did you go about
doing your custom setup
thanks Beau

It really isn't all that hard.  Basically you just start with a plain page that matches the design of your existing site, then plug in the WordPress coding for various pages WordPress uses into the main section.  Glancing at the coding for your site, you would insert the WP coding between the section called "<div id="main-copy">" and the section called "<div id="footer">".  

I would start by downloading the "default" theme from your WordPress installation.  When you look at the coding you will get a feel for how it works.  There are seven files that need to be modified:  single.php, search.php, page.php, index.php, attachment.php, archives.php, and archive.php.  In each of those, you would want to remove the coding that says <?php get_header(); ?> and <?php get_footer(); ?>.  Then, either insert calls to the appropriate pages that generate the top, menu and footers for our site or just paste the coding itself.  You will also most likely need to modify the various paths for links to other pages in your since you are running WordPress from a subdirectory.  Lastly, you need to insert the WordPress CSS stuff into your own CSS file - I would start by just copying and pasting the stuff from our template into your CSS file and see what that gets you.  

When you get those all done, upload them to a new subdirectory in the WordPress themes directory and then select it from the admin section.  That is it in a nutshell.  :)

   Tony

 

cumulus