|

Integrating Wordpress Blog
Posted 28 September 2007 - 12:13 AM #1
So I have a question into CS support regarding Wordpress Blog integration, but I thought others might be interested in the topic.
Here is what I'd like to have:
1) A primary Nav item that says "Blog"
- Easy enough to do by editing a .tpl file
2) The Wordpress template wrapped in CS wrapper in its own /blog/ directory
- This is where it starts to get weird. I know I can include a different main template in the CS Cart index.tpl (blog.tpl, etc.), but there is lots of PHP code in the Wordpress files. Would just wrapping everything in {PHP} tags work? That doesn't really seem like the best solution.
The other issue is that I want to be able to use wordpress as it was intended in its own directory and not have it be something like index.php?target=pages&pageid=blog
I can't think of a way to not have that type of set up while still using CS and the template engine.
The other option is to duplicate the header and footer outside the CS .tpl files and just build out separate PHP files to include in Wordpress. This doesn't really seem like an ideal solution as I'd be maintaining code in two places.
Any care to weigh in here or better yet has integrated a blog into their CS site??
Thanks,
B
Posted 28 September 2007 - 02:35 PM #2
For instance, go to Manage Pages, add a page called "Blog", and then within the full description field, something like this
<IFRAME border=0 name=blog align=center marginWidth=0 marginHeight=0 src="http://yourblog.com/subfolder" frameBorder=0 width=600 height=400> Your browser does not support inline frames or is currently configured not to display inline frames. To view this page directly, go to http://yourblog.com/subfolder </IFRAME>
CS-Cart v. 1.3.4 sp2
Dell PowerEdge Servers and Server Parts & Accessories
Posted 28 September 2007 - 08:45 PM #3
Posted 07 November 2007 - 06:59 PM #4
Posted 08 November 2007 - 01:25 AM #5
Posted 08 November 2007 - 07:04 AM #6
Also, if I were to just put wordpress into a subdomain and link the store on the blog page would that work? Basically I want to use a blog to bring traffic by updating fresh content and having search engines find the site. Would this work?
Posted 08 November 2007 - 06:57 PM #7

That will work, but what you have to remember is how much you want your blog to look like your store. If you're not that concerned, the you can just install it wherever and maintain the different design.
B
Posted 09 November 2007 - 06:31 AM #8
Posted 09 November 2007 - 06:46 AM #9
I would recomend downlaoding WP and isntalling it in a directory other than your root...It's really quick and easy to do. My personal preference is to have it in /blog/, but it doens't really matter...
B
Posted 09 November 2007 - 06:51 AM #10
Also i too wanted to change the default cs-cart look to look more professional and unique. Check out WishingGifts.com
I've seen other Cs-Cart stores that truly modified but this is as much as I can change with my own skills.
Posted 09 November 2007 - 05:54 PM #11
I do get the value of having one tool though. As a compromise, what if you considered creating a new admin template w/ an iframe, so you move WP admin into your CS admin area, but let the two public areas remain independent?
<edit> If you haven't already, look at urbangiraffe.com for a great tutorial on customizing WP themes</edit>
(Real reason I posted was to say I really like your domain name paulesport .. great aquisition!)
Posted 11 November 2007 - 11:27 PM #12
I am probably going to just install wordpress into WishingGifts.com/blog and like you said have it live in 2 separate locations rather than trying to truly integrate it into Cs-Cart. It is not a big deal to access two different admins when using tabs in the browser.