Company Directory Search Result Entry Not Found
Posted: Sun Jul 11, 2010 3:13 am
Hi guys,
After a few searches I've seen some similar issues, but nothing that has helped me completely solve my dilemma...
I have tried reinstalling the company directory module a few times, etc but to no avail.
If I use a default summary template, everything works hunky-dory, and clicking company names brings up the detail page no problem.
As soon as I use the action="search" tag and enter a search, the search results appear to display fine. If I click the company name to get to the company detail page however, I receive an error message saying 'entry not found'.
URL containing entry not found error:
http://www.frizzendz.com.au/index.php?m ... eturnid=70
URL When it works:
http://www.frizzendz.com.au/index.php?m ... eturnid=70
In the url string, I can see that the link to the detail page does NOT include a companyid= string, so I figure that is why it is giving the entry not found error. I, unfortunately, don't know how to fix that issue, so if anyone can help me out with a source code edit or similar, it would be GREATLY appreciated, as I'm starting to pull my hair out!!
EDIT: if I add $companyid=1 to the URL, I get to the correct company detail page, so this is definitely the issue, I just don't know how to solve.
CMS version 1.7.1
Company Directory 1.6.1
Also, if anyone has a brief walkthrough on getting the postcodes module to work with a search, that would be appreciated - I assume I need to add city and postcode field definitions to each entry? I have the postcode module installed. Any pointers here appreciated also.
Another EDIT: If I add a postcode and city field definition, then search for that postcode, I get a blank results page.
After a few searches I've seen some similar issues, but nothing that has helped me completely solve my dilemma...
I have tried reinstalling the company directory module a few times, etc but to no avail.
If I use a default summary template, everything works hunky-dory, and clicking company names brings up the detail page no problem.
As soon as I use the action="search" tag and enter a search, the search results appear to display fine. If I click the company name to get to the company detail page however, I receive an error message saying 'entry not found'.
URL containing entry not found error:
http://www.frizzendz.com.au/index.php?m ... eturnid=70
URL When it works:
http://www.frizzendz.com.au/index.php?m ... eturnid=70
In the url string, I can see that the link to the detail page does NOT include a companyid= string, so I figure that is why it is giving the entry not found error. I, unfortunately, don't know how to fix that issue, so if anyone can help me out with a source code edit or similar, it would be GREATLY appreciated, as I'm starting to pull my hair out!!
EDIT: if I add $companyid=1 to the URL, I get to the correct company detail page, so this is definitely the issue, I just don't know how to solve.
CMS version 1.7.1
Company Directory 1.6.1
Also, if anyone has a brief walkthrough on getting the postcodes module to work with a search, that would be appreciated - I assume I need to add city and postcode field definitions to each entry? I have the postcode module installed. Any pointers here appreciated also.
Another EDIT: If I add a postcode and city field definition, then search for that postcode, I get a blank results page.