Integrating with Wordpress

6 posts by 2 authors in: Forums > CMS Builder
Last Post: June 25, 2009   (RSS)

By Moonworks - June 24, 2009

I'm wanting to set up a site using Wordpress, but then add additional sections to the site using CMS Builder.

Is there a simple way to do that?

A real bonus would be a way to comboine the two admins.
High quality residential training for writers, actors & Film Making - Click Here for further information

Re: [Moonworks] Integrating with Wordpress

By ross - June 24, 2009

Hi there.

Thanks for the email!

There isn't really going to be a way to have both admins running together but you can defintiely have both programs running on the same site at the same time.

I am curious though what you wanted to us WordPress for? Perhaps there are some options for you to run the entire site in CMS Builder.

Let me know what you think :).
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [Moonworks] Integrating with Wordpress

By Moonworks - June 25, 2009

I've tried to add the following to the header of Wordpress:

<?php

require_once "/var/www/vhosts/residential-training.com/httpdocs/cmsb/lib/viewer_functions.php";

list($writer_coursesRecords, $writer_coursesMetaData) = getRecords(array(
'tableName' => 'writer_courses',
'where' => whereRecordNumberInUrl(1),
'limit' => '1',
));
$writer_coursesRecord = @$writer_coursesRecords[0]; // get first record

// show error message if no matching record is found
if (!$writer_coursesRecord) {
print "Record not found!";
exit;
}

?>


But I just get the following error:

Fatal error: Cannot redeclare translate() (previously declared in /var/www/vhosts/residential-training.com/httpdocs/wp-includes/l10n.php:57) in /var/www/vhosts/residential-training.com/httpdocs/cmsb/lib/common.php on line 40
High quality residential training for writers, actors &amp; Film Making - Click Here for further information

Re: [Moonworks] Integrating with Wordpress

By ross - June 25, 2009

Hi there.

Thanks for the extra details :).

What you are running into there is that both WordPress and CMS Builder have a function with the same name.

That wasn't a problem I had thought of and I am not sure if there will be away around that short of renaming a bunch of functions in one of the programs. There's no easy way to know in advance how much work that would end up being. There are thousands of functions in both programs.

I think this might be a case where both programs won't be able to exist on the same page. Can you break that one up into two different things?

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [ross] Integrating with Wordpress

By Moonworks - June 25, 2009

I was thinking about the same thing.

I've decided to have a go at creating the whole thing using CMS Builder, so expect many questions from me [crazy]
High quality residential training for writers, actors &amp; Film Making - Click Here for further information