List Info

Thread: List article topic




List article topic
country flaguser name
Guatemala
2007-04-09 13:30:13
Hi,
I need display a list of articles, if they have the same
topic of the  
current article.
I try with this:

<!** If Topic is "topicname:es">
<!** List Article topic is "topicname:es">
	<li><a href="<!** uri
reset_subtitle_list>"><!** print article
name></a></li>
<!** EndList>
<!** EndIf>

This works, but show me always the list, even in articles
dont have  
this topic.

I try with this too:
<!** List ArticleTopic>
<li><a href="<!** uri
reset_subtitle_list>"><!** print article
name></a></li>
<!**EndList>

This only show me one article, the current, but no the
others with the  
same topic.

Theres another way to do that?

Thanks.

Re: List article topic
country flaguser name
Czech Republic
2007-04-09 15:01:34
I bet the 1st version works, however if you leave article,
you need to
turn topic off. In other case topic temain a part of URL and
is all the
time set.

Ondra

ccabreraelperiodico.com.gt píše v Po 09. 04. 2007 v 13:30
-0500:
> Hi,
> I need display a list of articles, if they have the
same topic of the  
> current article.
> I try with this:
> 
> <!** If Topic is "topicname:es">
> <!** List Article topic is
"topicname:es">
> 	<li><a href="<!** uri
reset_subtitle_list>"><!** print article
name></a></li>
> <!** EndList>
> <!** EndIf>
> 
> This works, but show me always the list, even in
articles dont have  
> this topic.
> 
> I try with this too:
> <!** List ArticleTopic>
> <li><a href="<!** uri
reset_subtitle_list>"><!** print article
name></a></li>
> <!**EndList>
> 
> This only show me one article, the current, but no the
others with the  
> same topic.
> 
> Theres another way to do that?
> 
> Thanks.


Re: List article topic
country flaguser name
Guatemala
2007-04-09 16:57:13
Thanks Ondra,
How i turn off the topic?



Quoting Ondra Koutek <koutekotol.org>:

> I bet the 1st version works, however if you leave
article, you need to
> turn topic off. In other case topic temain a part of
URL and is all the
> time set.
>
> Ondra
>
> ccabreraelperiodico.com.gt píše v Po 09. 04.
2007 v 13:30 -0500:
>> Hi,
>> I need display a list of articles, if they have the
same topic of the
>> current article.
>> I try with this:
>>
>> <!** If Topic is "topicname:es">
>> <!** List Article topic is
"topicname:es">
>> 	<li><a href="<!** uri
reset_subtitle_list>"><!** print article   
>> name></a></li>
>> <!** EndList>
>> <!** EndIf>
>>
>> This works, but show me always the list, even in
articles dont have
>> this topic.
>>
>> I try with this too:
>> <!** List ArticleTopic>
>> <li><a href="<!** uri
reset_subtitle_list>"><!** print article   
>> name></a></li>
>> <!**EndList>
>>
>> This only show me one article, the current, but no
the others with the
>> same topic.
>>
>> Theres another way to do that?
>>
>> Thanks.
>
>



Re: List article topic
country flaguser name
Czech Republic
2007-04-10 00:43:50
it depends on your templates, I usually do it in my menus,
where I use
<!** topic off> 

Ondra

ccabreraelperiodico.com.gt píše v Po 09. 04. 2007 v 16:57
-0500:
> Thanks Ondra,
> How i turn off the topic?
> 
> 
> 
> Quoting Ondra Koutek <koutekotol.org>:
> 
> > I bet the 1st version works, however if you leave
article, you need to
> > turn topic off. In other case topic temain a part
of URL and is all the
> > time set.
> >
> > Ondra



[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )