View Single Post
Old 08-23-2011, 12:40 AM   #1
Bertrand
Zealot
Bertrand began at the beginning.
 
Posts: 124
Karma: 10
Join Date: Dec 2008
Location: France
Device: None
Composite column or not ?

Hi,

Here's what I'm trying to do :

- If a book has the tag 'mytag' => rating column = 1 automatically.

Is it possible ?

I tried with a composite column, and used the example found in the sticky post
{formats:contains(EPUB, Yes,)}
modified to
{tags:contains(mytag, Yes,)}
It works, but instead of 'yes', I would like to display 1 star.

I don't even know if I need a composite column.
Can it be accomplished with the native column 'Rating' ?

Thanks.

(I'm not quite a novice in programmation, but I must say I 'm having a hard time with the template language :-)
Bertrand is offline   Reply With Quote