Hello
In the same category I have 3 types or articles.
the font color of each type of article is specifical :
exemple :
article 'baisse de prix' : font blue
article 'promotion' : font red
article 'nouveau produit' : font green
These types of article have quite the same type of fields. So I have duplicated the users fields for each type to manage the text colors.
In articles no problems I have 3 templates.
Now for categories : I want to display together the 3 types of articles.
I'm using a 'blog' model categorie template.
I display the all the fields I use in the 3 types above or under the article's image.
If I use a user's field no problem the field is displayed once following the type of article.
If I use a
copy of the title (
core field)or a
copy of a user's field (fieldname##0) the title is duplicated 3 times in the display.
I have 3 variables :
baisse_prix whose value is <span style="color:#0000ff;">{{item->title}}</span>
promo whose value is <span style="color:#ff0000;">{{item->title}}</span>
nouveau whose value is <span style="color:#ff00ff;">{{item->title}}</span>
I get the copy of the title 3 times for each article (in blue, in red and in green)
All user's field or copy of a user's field are displayed only once in the good colour for each article.
I have found the problem in the V1680 and in the beta 4 V1696
Is it possible to get the core field working like user's fields
thank you for help
best regards
Michel