
Red Door
User
Jan 9, 2006, 3:08 PM
Post #1 of 3
(2753 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?
|