
wendy
User
Apr 24, 2007, 5:56 PM
Post #3 of 7
(3514 views)
Shortcut
|
|
Re: [ross] Using search.cgi criteria in art_field
[In reply to]
|
Can't Post
|
|
Thanks Ross. Here's what I'm aiming to do: 1) I have a "news" page (news.shtml), on which appears all the articles in artman. 2) I have serveral "portfolio" pages, on which I want to appear only articles related to that portfolio company In artman, I've created a keyword field (art_field10) in which I put the name of the portfolio company the news article relates too. If I was going to put the article on a non-template page, I use would use this: <!-- #include virtual="/cgi-bin/artman/exec/search.cgi?cat=1&perpage=999&fields=art_field10&keyword=(companyname)&template=search/headlines_news.html" --> But, I want to put this on the portfolio template page so I've created "art_field15", in which I want to include the appropriate search.cgi criteria (it would be different for each portfolio record as the keyword would be different) so when each page is generated, the news stories tagged with the appropriate keyword, appear on the page. Is that more clear? Perhaps there is some javascript I can put in the field? Thanks, Wendy
|