cloudy

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

0 Members and 1 Guest are viewing this topic.

Offline ThorntonWeather

  • Tony
  • Commercial
  • Posts: 459
  • Thornton, CO USA
    • ThorntonWeather.com
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #15 on: August 03, 2008, 06:44:55 PM »
I got it working but now I am trying to fix HTML validation errors.

Looks good, Mike! 

As for the validation...  Bah!  We don't need no stinking validation!  LOL

   T

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #16 on: August 03, 2008, 07:36:38 PM »
I have it installed and HTML validated   :lol: 8) :lol:

http://www.642weather.com/weather/wxblog/

most of the html validation problems were list tags in sidebar.php
I will send it...
« Last Edit: October 28, 2008, 06:58:34 PM by MCHALLIS »

Offline ThorntonWeather

  • Tony
  • Commercial
  • Posts: 459
  • Thornton, CO USA
    • ThorntonWeather.com
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #17 on: August 03, 2008, 07:41:39 PM »
Quote
I have it installed and HTML validated

Awesome!  I'll replace the sidebar coding with yours. 

Now....  You have a weather blog, what do you have to say?  I am anxiously awaiting your first post!  :)

    Tony

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #18 on: August 03, 2008, 07:49:25 PM »
Can't say much now, I have to do some chores for the wife.  :lol:

another validation change I made was move this style section from sidebar.php to the <head></head> section of my header

Code: [Select]
<style type="text/css">
<!--
.style1 {
    font-size: 12px;
    font-weight: bold;
}
.style2 {font-size: 12px}
-->
</style>

also I will mention that the first plugin I always install on wordpress is the all-in-one-seo-pack
all-in-one-seo-pack needs no configuration. You just install and activate the plugin.

I want to fiddle a few more things for this.
I want to try to make the color themes inline with the style switcher so if I select the black theme the colors will change correctly.
If I am successful at this I will release those for others.  :lol:
Edit: current download includes my changes

« Last Edit: August 08, 2008, 02:00:30 PM by MCHALLIS »

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #19 on: August 03, 2008, 10:09:13 PM »
Theme switcher Updated today ...

Version: 1.09  03-Aug-2008
added full css support for the Worpress Blog Addon
"Weather Display Blog by Tony Hake & Jack Ahern"
http://www.weather-watch.com/smf/index.php/topic,33471.0.html
To upgrade from vers 1.08: just replace all the css files from this zip file to your server

Download:
http://www.642weather.com/weather/scripts/css-theme-switcher.zip
A readme.txt is included, look for the instructions inside, ask any questions here.

See my blog using the theme switcher here;
http://www.642weather.com/weather/wxblog/
« Last Edit: October 28, 2008, 06:59:00 PM by MCHALLIS »

Offline BfdWx

  • Posts: 1,509
  • Branford Connecticut
    • Branford Weather
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #20 on: August 03, 2008, 11:22:29 PM »
Quote
Theme switcher Updated today ...

That was a really nice addition, thanks Mike!

Jack

Offline ThorntonWeather

  • Tony
  • Commercial
  • Posts: 459
  • Thornton, CO USA
    • ThorntonWeather.com
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #21 on: August 03, 2008, 11:28:23 PM »
Quote
added full css support for the Worpress Blog Addon
"Weather Display Blog by Tony Hake & Jack Ahern"

Thanks, Mike!  I'll update our instructions to reflect the changes. 

    Tony

Offline MCHALLIS

  • Posts: 2,102
  • Long Beach, WA USA
    • Weather for Long Beach, WA USA
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #22 on: August 03, 2008, 11:34:07 PM »
Thanks, Mike!  I'll update our instructions to reflect the changes. 

    Tony

No problem...
Also I did not have to put my css files in the wordpress themes folder because I added the full url in the header to my main site folder for the css files.

Offline drobbins

  • Posts: 1,596
  • Kentucky, USA
    • Cave Country Weather
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #23 on: August 04, 2008, 11:52:49 PM »
I was checking out this thread & decided that I would like a blog added to my site. However none of my pages are PHP. Can this blog be added to a non php webpage? If so, what must I do? Or would it be way over my head? I already have the wordpress software running on my host.

Offline BfdWx

  • Posts: 1,509
  • Branford Connecticut
    • Branford Weather
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #24 on: August 05, 2008, 12:06:28 AM »
Hi Drobbins,

Do you have php available? It would seem that you do if wordpress is on your server. Here are some of the initial requirements from Wordpress...http://wordpress.org/about/requirements/

If that is the case you should be able to run your blog page using php.

Regards,

Jack

Offline drobbins

  • Posts: 1,596
  • Kentucky, USA
    • Cave Country Weather
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #25 on: August 05, 2008, 12:17:28 AM »
Yes I am using e-rice.

Offline BfdWx

  • Posts: 1,509
  • Branford Connecticut
    • Branford Weather
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #26 on: August 05, 2008, 12:26:33 AM »
Probably the best solution would be to follow the directions below from Tony, if you have difficulties post back I'm sure Tony can help you with this too!

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

Offline drobbins

  • Posts: 1,596
  • Kentucky, USA
    • Cave Country Weather
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #27 on: August 05, 2008, 12:39:23 AM »
When he says: "Then, either insert calls to the appropriate pages that generate the top, menu and footers for our site or just paste the coding itself." Does he mean that I should paste the code from each one of those pages into my website template page thus generating 7 new web pages?

Offline BfdWx

  • Posts: 1,509
  • Branford Connecticut
    • Branford Weather
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #28 on: August 05, 2008, 12:56:47 AM »
No, as he says here...

Quote
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 "  .........just paste the coding itself.....<div id="footer">".

I think you have the same situation. Then you would just need to change your menu to include a "blog" tab.

Jack

Offline drobbins

  • Posts: 1,596
  • Kentucky, USA
    • Cave Country Weather
Re: WordPress Blog Add On for Carterlake/AJAX/PHP Templates Now Available
« Reply #29 on: August 05, 2008, 01:00:07 AM »
Uh.. Where is the Wp coding copied from?  :oops:  http://www.cavecountryweather.com/wxblog.html
http://www.cavecountryweather.com/wordpress/ Note I did not modify the 7 files. I got lost as to what to paste where.

Got to call it a night. Will get back to it tomorrow night.
« Last Edit: August 05, 2008, 01:07:01 AM by drobbins »