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

Home: Products: Listings Manager Add-ons:
search_homepage problem with links

 

 


Red Door
User

Jan 9, 2006, 3:08 PM

Post #1 of 3 (1915 views)
Shortcut
search_homepage problem with links Can't Post

Hi guys, Happy New Year, and another thank you for all the help we received during 2004 completing our site.
We use the search homepage feature, couples with a string of PHP iincludes to create the homepage we needed.
Up to now we have always entered a URL in the database for the Agents homepage (these actually link to agents own websites rather than using the built-in homepages created by LM.
However
We are now working on another stage of development and would like to use the built in homepages, but the links created by the templates are incorrect.

this is the include for the page section giving thye problem:

http://www.NAMEOFOURSITE.co.uk/listman/exec/search_homepage.cgi?search=1&perpage=100&sort_order=-28,abc,forward&hfield6_keyword=Leeds&search=++Search+for+Agents++&template=_basic_homepage_results.html

On the page returned, all works fine until we choose 'Specify Homepage Filename? = no in the user manager.

In our _basic_homepage_results.html file the link is $user_file$ but when the html page is generated the link path is:

http://www.NAMEOFOURSITE.co.uk/listman/templates/h0129.html

when surely it should be:

http://www.NAMEOFOURSITE.co.uk/listman/homepages/h0129.html

We have of course checked the server set up options in the Admin but none of these seem incorrect:

Listings = ../listings
Homepage = ../homepages
Image = ../images
Listings Directory = http://www. NAMEOFOURSITE.co.uk/listman/listings
Homepage Diirectory URL = http://www. NAMEOFOURSITE.co.uk/listman/homepages
Search Engine URL = http://www. NAMEOFOURSITE.co.uk/listman/exec/search.cgi
Publish Templates = ../templates/_realty/
etc..

I guessed that this problem is somehow connected to the search_homepage templates etc. being in the templates/ directory rather than the templates/_realty but I am stuck on how to fix this one?

Help?


ross
Staff / Moderator


Jan 10, 2006, 9:50 AM

Post #2 of 3 (1904 views)
Shortcut
Re: [Red Door] search_homepage problem with links [In reply to] Can't Post

Hi Red Door.

Thanks for posting!

I am not actually quite sure what the problem is going to be here. Would you mind posting up your template so I can have a look at it for you?

If you wanted, you could send in an email or PM. I look forward to hearing from you either way Smile.
-----------------------------------------------------------
Cheers,
Ross Fairbairn - 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.




Red Door
User

Jan 10, 2006, 10:14 AM

Post #3 of 3 (1902 views)
Shortcut
Re: [ross] search_homepage problem with links [In reply to] Can't Post

Thanks Ross,
I think I made some headway with this, in that the link URL created in the homepage is a simple relative link i.e. h0001.html and so as my PHP files were in the templates rather than homepages directory then this caused the problem.

We have moved our PHP pages, and made a few additional tweaks and I think we have cracked it.

Thank you as always for your prompt response.

Cheers

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
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