Home | Products | Consulting | Hosting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Listings Manager (Realty Manager & Auto Manager):
Passing listing_file to SSI

 

 


bytezmoi
User

Jun 4, 2008, 1:51 PM

Post #1 of 7 (2835 views)
Shortcut
Passing listing_file to SSI Can't Post

I want each listing to appear as the included file within a single page, e.g. xyx.htm
I want to be able to click any link in the listings index page and pass the corresponding listing_file to xyz.htm so that listing_file is the included file referenced in the SSI statement.

How is this done?


MikeB
Staff / Moderator


Jun 5, 2008, 11:11 AM

Post #2 of 7 (2784 views)
Shortcut
Re: [bytezmoi] Passing listing_file to SSI [In reply to] Can't Post

Hi,

Thanks for the post!

I've been looking over this for you here and based on what you've outlined it's a bit tough to see what the best way to do this might be. I'm a bit curious as to what you were looking for regarding the single page. Would this necessarily need to be an HTML page or is this something that you'd be able to set up with PHP? I'm thinking that if there is a way to do this, it's more likely that it'll work via PHP.

Just let me know and I'll have a look into this for you.

Thanks! Smile

Cheers,
Mike Briggs - Product Specialist
support@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.


bytezmoi
User

Jun 5, 2008, 11:15 AM

Post #3 of 7 (2782 views)
Shortcut
Re: [MikeB] Passing listing_file to SSI [In reply to] Can't Post

Sure, PHP would be fine.


MikeB
Staff / Moderator


Jun 6, 2008, 10:59 AM

Post #4 of 7 (2690 views)
Shortcut
Re: [bytezmoi] Passing listing_file to SSI [In reply to] Can't Post

Hi,

Thanks for the post!

I've looked into this for you and this should be something you can set up. I'll outline the steps for you so you can give this a try:

1. First, create a file called "listing.php" and upload it to your "/listman/listings/" directory. The contents of this file should just be:


Code
<?php 
$query=$_SERVER['QUERY_STRING'];
include $query;
?>


2. Next, you'll want to modify the /templates/_INDUSTRY/_publish_listing_index.html. You'll want to find anywhere you see this:

<a href="$listing_file$">

And replace it with this:

<a href="listing.php?$listing_file$">

Once you've made this change, re-upload this file and log into Listings Manager to click the four "Publish" buttons in the Setup Options.

From here, when you go to the listing index page and click on a listing you'll be taken to a URL that looks like this:

http://www.yoursite.com/listman/listings/listing.php?l0001.html

And this page will use a PHP include to bring in the listing details. If you'll need to have this PHP page external to the /listings/ folder, just let me know as there are a couple of quick tweaks that should allow you to set this up.

I hope this helps! Smile

Cheers,
Mike Briggs - Product Specialist
support@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.


(This post was edited by Jake on Jun 6, 2008, 7:37 PM)


bytezmoi
User

Jun 6, 2008, 11:49 AM

Post #5 of 7 (2687 views)
Shortcut
Re: [MikeB] Passing listing_file to SSI [In reply to] Can't Post

But what is supposed to be in test.php?


Jake
Staff / Moderator


Jun 6, 2008, 7:37 PM

Post #6 of 7 (2668 views)
Shortcut
Re: [bytezmoi] Passing listing_file to SSI [In reply to] Can't Post

Hi bytezmoi,

It looks like Mike just made a small mistake in his example above - "test.php" should actually be "listing.php" - I've gone ahead and edited his post to reflect this.

Let us know how this works out for you!
-----------------------------------------------------------
Cheers,
Jake Swanson - Product Specialist
support@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.



bytezmoi
User

Jun 9, 2008, 7:22 AM

Post #7 of 7 (2293 views)
Shortcut
Re: [Jake] Passing listing_file to SSI [In reply to] Can't Post

Works great, thanks!

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Hosting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4