 |

hsteensland
User
May 14, 2008, 1:25 PM
Post #1 of 3
(195 views)
Shortcut
|
|
Including dynamic searches
|
Can't Post
|
|
I tried including a dynamic search using the following:
<!--#include virtual="/artman2/search.pl?action=search&page=1&perpage=10&template=searchEngine/projectList.html&categoryNums=78,79&keyword=&keywordSearchFields="--> When the search query is used as a full URL it works fine, but obviously it needs to be included within a page. When using the include above, AM instead outputs the contents of search.pl itself (!?) Any ideas? Harald
|
|
|  |
 |

Jake
Staff
/ Moderator

May 15, 2008, 1:36 AM
Post #2 of 3
(184 views)
Shortcut
|
|
Re: [hsteensland] Including dynamic searches
[In reply to]
|
Can't Post
|
|
Hi Harald, Thanks for posting. It sounds like you're on a Windows server - they sometimes require a slightly different code format in order to include the output of CGI scripts. Try using this instead:
<!--#exec cgi="/artman2/search.pl?action=search&page=1&perpage=10&template=searchEngine/projectList.html&categoryNums=78,79&keyword=&keywordSearchFields="--> Let us know if you need anything else! ----------------------------------------------------------- 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.
|
|
|  |
 |

hsteensland
User
May 15, 2008, 1:49 AM
Post #3 of 3
(183 views)
Shortcut
|
|
Re: [Jake] Including dynamic searches
[In reply to]
|
Can't Post
|
|
It works! Thanks Jake
|
|
|  |
|