Forums / Developer / Related articles when displaying an article.
Pirabukannan Muthalagan
Tuesday 22 June 2004 11:59:16 am
Hi ,
I want to display related articles when displaying an article on the right menu. Can i use the following fetch
{ let node_list = fetch(content,search,hash(text,"eZ")) }
to retreive all the objects having a key word "EZ"?.
If yes can i use the result as a parements to node_view_gui function?. Or if you have any alternate method please let me know.
Balazs Halasy
Wednesday 23 June 2004 3:00:06 am
I'm sorry but this is not possible to do. To see which modules you can fetch from (and the according fetch parameters), look at the following documentation page:
http://ez.no/ez_publish/documentation/reference/data_fetching
Balazs
Wednesday 23 June 2004 6:33:26 am
But it seems to be working. :-) It seems i have made some syntax mistakes and it is working now. I have to make some further tests. But the initial results are really positive.
I used the same query to get the objects and passed them to node_view_gui. May be this is an hidden functionality :-)
shajeer K P
Friday 25 June 2004 1:58:32 am
Can you please show the code you used, because i also have the same problem.
Friday 25 June 2004 2:05:02 am
HI ,
I will post the code soon. But before that i am facing some other problems. Once i sort it out i will post the code. Keep watching this thread.