PDA

View Full Version : How to assign and new field in ticker


fer_75
04-10-2008, 10:21 AM
Hi all,

I've added a new field to the table Articles named "stock_info".

I want just want to replace the value of the original "Category_name" in the scrolling ticker in .tpl file:

original:

<span class="ticker_category"><a href=""><vte:value select="{article.get_category_name}" /></a> <br/> </span>

I want:
<span class="ticker_category"><a href=""><vte:value select="{article.get_stock_info}" /></a> <br/> </span>

I did it but I do not get the value of "stock_info", where do I have to declare this field in order to assign the value ?

Thanks in advance, this is really needed

:confused: