 |

simonwh
User
Feb 11, 2007, 6:04 AM
Post #1 of 5
(292 views)
Shortcut
|
|
Related articles problem
|
Can't Post
|
|
Hi I'm trying to incorporate the Related article facility into my pages but I just keep getting an error. Tis is the code I've added:
<!--#include virtual="$settings.searchUrl$?action=search&keywordSearchFields=keywords&keyword=$article.keywords$&template=searchEngine/relatedArticles.html&perpage=10" --> (my keyword field is called keywords) But I just get this error:
[an error occurred while processing this directive] I've tried running the search string on it's own and it works OK and the resulting output is properly formatted but when I run it as an include it errors. Any suggestions? Thanks
|
|
|  |
 |

diness
User
Feb 11, 2007, 6:37 AM
Post #2 of 5
(290 views)
Shortcut
|
|
Re: [simonwh] Related articles problem
[In reply to]
|
Can't Post
|
|
Hi, I had same problem, please check you have the right settings for the path to the search engine. Go to Admin > Server Settings , and make sure the path is a relative URL (/cgi-bin/artman2/search.cgi) It must NOT be http://www.yourdomain.com/cgi-bin/artman2/search.cgi That worked for me.
|
|
|  |
 |

simonwh
User
Feb 11, 2007, 7:31 AM
Post #3 of 5
(288 views)
Shortcut
|
|
Re: [diness] Related articles problem
[In reply to]
|
Can't Post
|
|
PERFECT!!!! Many thanks, I hadn't thought of that. Problem fixed Cheers
|
|
|  |
 |

diness
User
Feb 11, 2007, 7:34 AM
Post #4 of 5
(287 views)
Shortcut
|
|
Re: [simonwh] Related articles problem
[In reply to]
|
Can't Post
|
|
Great to hear that. There is a note about it in the tutorial, but it is not clear enough. I think they will update it when they got time for it. Anyway, glad to help, hopefully the IT crew can now save a little time, and respond my support ticket faster :-)
|
|
|  |
 |

ChetW
Staff

Feb 11, 2007, 11:40 AM
Post #5 of 5
(283 views)
Shortcut
|
|
Re: [simonwh] Related articles problem
[In reply to]
|
Can't Post
|
|
Hi diness and simonwh, diness thanks for jumping in here it's always good to see the community helping each other out. :) Cheers, Chet Woodside - 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.
|
|
|  |
|