XF 1.2 xen if is prefixe definition

TsinJu

Well-known member
I want to add something like a News Picture to a Page i am working on, if there is a special Prefixe added into a created Threads Headline.

Is there any defintion for prefixes like:
<xen:if is="{$is_there_a_thread_prefixe_definition} == ServerNews"><a href="{xen:link threads, $postNews}"><img src="news-server.png" alt="{$postNews.image}" style="max-height: 150px; max-width: 150px;" /></a></xen:if>

Thanks
 
I would like to add a Thread Prefixe within Applications -> Thread Prefixes (ACP) which i want to add to a selected Forum.
Then i want to add the Prefix to the Threads Topic. Within the Threads Text i want to display a Picture but only if the "Threads Topic Prefix" is selected.

The Code is almost selfmade to a Page created with ACP´s "Create New Page"
 
Back
Top Bottom