Hi
I have a blog entry. At the bottem of the entry is a channel entry tag with a summary of all the Blog entrys avalable.
In this summary there is always one entry which is the current one. I’d like to style this entry diffrent than the other ones.
I’m triyng to write such a conditional. But a cant get it to work.
This is the code of the overview:
<!--Blog entry Overview -->
{exp:channel:entries channel="blog" dynamic="no"}
<div class="three columns {if entry == '[MODERATOR EDIT]removed Censored Word [END MODERATOR EDIT] same as the entry itself'}current_entry{/if}">
<h6>
<a href="http://{title_permalink=blog/view}">{title}</a>
</h6>
<p> {projektart}<br />
</div><br />
{/exp:channel:entries}I tried to compare the entry Url with the url Segment. But I couldn’t get it to work.
{if enrty_url == "segment_3"}add-this{/if}Thanks for any help.