Random {RELATED_SUMMARY} ??

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
stelios
Posts: 19
Joined: Sun 10. Jul 2005, 18:37
Location: Schopfheim, "The Black Forest" Germany
Contact:

Random {RELATED_SUMMARY} ??

Post 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
stelios
Posts: 19
Joined: Sun 10. Jul 2005, 18:37
Location: Schopfheim, "The Black Forest" Germany
Contact:

Re: Random {RELATED_SUMMARY} ??

Post by stelios »

Hello !!!

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

Stelios
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Re: Random {RELATED_SUMMARY} ??

Post 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
Post Reply