Page 1 of 1

Random {RELATED_SUMMARY} ??

Posted: Fri 18. May 2007, 21:30
by stelios
Hello,

I am using {RELATED_SUMMARY:4:4:scubasites} to show the last 4 articles with keyword=scubasites in the first page of http://www.diving-industry.com .

Now I want to show random summaries of the articles with this particular keyword.

Is this possible?

tia

Stelios

Re: Random {RELATED_SUMMARY} ??

Posted: Sun 20. May 2007, 17:47
by stelios
Hello !!!

as nobody is answering, it means that it is not possible to show random summaries with phpwcms.-:(

Stelios

Re: Random {RELATED_SUMMARY} ??

Posted: Sun 20. May 2007, 17:56
by marcus@localhorst
stelios wrote:Hello !!!

as nobody is answering, it means that it is not possible to show random summaries with phpwcms.-:(

Stelios
I think it is possible, but I don't know the Tag, is it shipped with the phpwcms core or a third party RT?

if it is hardcoded you are better to rewrite the function and make your own Replacementtag (in frontend_render folder) which fits your needs (I think it's just a few lines of code, to randomize the queried summaries).

in a further project I need that randomize feature too, but in the moment I've got no time to take a closer look, sorry.

But your question was "is it possible" and the answer is yes ;-)

best
marcus