Main
Index
Search
Posts
Who's
Online
Log
In

Home: Discontinued/Classic Products: Listings Manager Add-ons:
Wordpress integration

 

 


cclinton
User

Jun 28, 2007, 4:09 PM

Post #1 of 7 (15131 views)
Shortcut
Wordpress integration Can't Post

I am trying to integrate Listing Manager with a Wordpress generated site and want to use the Wordpress system to keep track of templates so I can integrate both on each page. Can I:
1) change the Publish Templates Directory field (under the Server tab of the Setup Options) to the Wordpress directory and have LM still work?
2) would I need to make any changes to the directory paths to match?
3) would I have to make any changes to the cgi scripts to compensate for the new locations?
I don't mind the extra coding work, I just want to make sure I get some recommendations before heading down the wrong direction.
Thanks.
Chris


Jake
Staff / Moderator


Jun 29, 2007, 4:36 PM

Post #2 of 7 (15021 views)
Shortcut
Re: [cclinton] Wordpress integration [In reply to] Can't Post

Hi Chris,

Thanks for posting!

What would probably be easiest for you here would be to move your Listings Manager templates to Wordpress's templates directory. Then under "Setup Options", adjust the path to Listings Manager's templates to reflect the Wordpress template directory. These are the only steps you'll need to take in order for this to work.

Let us know if there's anything else we can help you with. Smile
-----------------------------------------------------------
Cheers,
Jake Marvin - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
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 [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


cclinton
User

Jul 2, 2007, 7:52 AM

Post #3 of 7 (14972 views)
Shortcut
Re: [Jake] Wordpress integration [In reply to] Can't Post

I was hoping for an easy answer like that. Thanks.


cclinton
User

Oct 18, 2007, 11:31 PM

Post #4 of 7 (10532 views)
Shortcut
Re: [Jake] Wordpress integration [In reply to] Can't Post

I just made the attempt and am having trouble. Here's how my folder layout works:
Wordpress is in a folder titled Community.
Inside that folder is the data, exec, homepages, listings, templates and wordpress folders and files. One of those folders is the WP-content folder.
Inside that folder is another titled Themes.
Inside that folder is another titled SuperD, the name of my theme for Wordpress.
I left the interface templates in the Templates folder but moved the templates for my Realty Manager pages within the Superd folder and retained the correct names such as _publish_listing_index.html, etc.

I changed the Publish Templates directory in Realty Manager to ../wp-content/themes/superd/
I then modified the templates to match my wordpress templates but for the correct fields for Realty Manager.

Here's the kicker - Realty Manager is causing problems with my wordpress php codes. If i copy the final codes from an existing page and replace them on the template the page renders fine. Otherwise I get an error like this where the php code resides: Fatal error: Call to undefined function: wp_list_categories() in /homepages/1/d88691069/htdocs/sum07/community/homepages/index.php on line 206

Is there a way to force the Realty Manager pages to pull the information or do I have to set up a wordpress template with a php include to load my agents and listings?

As an aside, here is an example of some of the header codes from Wordpress:
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<title><?php bloginfo('name'); ?><?php wp_title(); ?></title>
<meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->
<style type="text/css" media="screen">
@import url( <?php bloginfo('stylesheet_url'); ?> );

I don't mind hard coding these but I have codes within the page which pull information that is dependent on updates in Wordpress.


Jake
Staff / Moderator


Oct 20, 2007, 11:50 AM

Post #5 of 7 (10409 views)
Shortcut
Re: [cclinton] Wordpress integration [In reply to] Can't Post

Hi cclinton,

Thanks for your post. Smile

This is a bit beyond our support capabilities but we can certainly take a crack at solving this for you.

Could you let me know where that PHP error currently appearing? Is it on a published page or somewhere else?

I look forward to your reply!
-----------------------------------------------------------
Cheers,
Jake Marvin - Product Specialist
support@interactivetools.com

[hr][i][url "http://www.interactivetools.com/consulting/"][b]Hire me![/b][/url]
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 [url "http://www.interactivetools.com/consulting/"][b]Priority Consulting[/b][/url].[/i]


cclinton
User

Oct 21, 2007, 12:08 AM

Post #6 of 7 (10354 views)
Shortcut
Re: [Jake] Wordpress integration [In reply to] Can't Post

The errors occur when I call the posted page in my browser. For instance, when I call on www.domain.com/listman/homepages.


Donna
Staff / Moderator


Oct 22, 2007, 1:37 PM

Post #7 of 7 (10240 views)
Shortcut
Re: [cclinton] Wordpress integration [In reply to] Can't Post

Hi there,

It looks like you're using Wordpress specific code. That code is really only going to work on Wordpress templates. Beyond that, there's not a lot we can do to help with that... but I suspect finding a php programmer who's a little more familiar with Wordpress will probably help. :)

Donna

--
support@interactivetools.com