Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 05-03-2011 06:44:57

htw_simon
Member
From: UK
Registered: 11-20-2007
Posts: 83
Website

CCP and Wordpress Integration

I am trying to integrate one of our CCP sites, which is working fine, and a wordpress install in a subfolder called blog - also working fine on its own. I'm trying to get the latest posts from the wordpress blog onto the CCP home page using the following code:

Code:

<?php
     define('WP_USE_THEMES', false);
     require('./blog/wp-blog-header.php');
     query_posts('showposts=2');
?>

<?php while (have_posts()): the_post(); ?>
<p><strong><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></strong></p>
<?php the_excerpt(); ?><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">Read more</a>
<?php endwhile; ?>

If this code is within a file test.php in the root it works fine and displays the latest two posts. However, when I try to integrate it into the CCP skin it redirects the site to:

wwwdomain.net/wp-admin/install.php (which isn't there anyway as the wordpress install is in the subfolder 'blog')

Any ideas why CCP is redirecting this and leaving out the /blog/ part of the url or how I can solve the issue?

Cheers,

Simon

Offline

 

#2 05-04-2011 02:50:08

ZipSkins
Member
From: United Kingdom
Registered: 01-15-2006
Posts: 822
Website

Re: CCP and Wordpress Integration

Can you give the real URL?

Nigel


| Professional Quality Customisable Skins for your ClickCartPro Powered Site


-----------------------------
Certified Support Partner

Offline

 

#3 05-05-2011 05:09:19

htw_simon
Member
From: UK
Registered: 11-20-2007
Posts: 83
Website

Re: CCP and Wordpress Integration

Thanks Nigel. I have sent you an email with the details.

Offline

 

#4 05-06-2011 03:14:51

ZipSkins
Member
From: United Kingdom
Registered: 01-15-2006
Posts: 822
Website

Re: CCP and Wordpress Integration

Hi Simon,

I haven't received anything yet - could you send it again to info@zipskins.com?

Thanks,  Nigel


| Professional Quality Customisable Skins for your ClickCartPro Powered Site


-----------------------------
Certified Support Partner

Offline

 

#5 06-18-2012 04:21:57

markp17
Member
Registered: 01-29-2012
Posts: 169
Website

Re: CCP and Wordpress Integration

hi

i would be interested in doing this too, how was it achieved?

thanks mark

Offline

 

#6 06-18-2012 04:27:32

htw_simon
Member
From: UK
Registered: 11-20-2007
Posts: 83
Website

Re: CCP and Wordpress Integration

This never worked exactly how we wanted and for what we were trying to achieve it was easier to use a different method rather than to pursue this.

Offline

 

#7 06-18-2012 04:29:46

markp17
Member
Registered: 01-29-2012
Posts: 169
Website

Re: CCP and Wordpress Integration

would you mind telling me how it was done in the end please, as I have been told a blog is the best way to drive business to a website

thanks mark

Offline

 

#8 10-04-2013 23:27:44

mdowning
Member
From: California
Registered: 11-05-2010
Posts: 725
Website

Re: CCP and Wordpress Integration

markp17 wrote:

would you mind telling me how it was done in the end please, as I have been told a blog is the best way to drive business to a website

thanks mark

I just create my own blog skin with Artisteer version 4. I also edit the skin.php file menu to show the link to the blog in the header. RSS feeds from both back feed into the system integration.


http://tuxedothemes.org/
Wordpress Themes for business, blogs and personal use.

Offline

 

Board footer