Hi everyone,
my problem:
i wan't t do something in the template when a certain page in navigation is selected. My idea was the following code:
<% if $Top.Title = TopTitleValue %>
<p>Show me something</p>
<% end_if %>
Unfortunately im getting a parse error only: Parse error: syntax error, unexpected '}' in C:\Windows\Temp\silverstripe-cacheC--Program-Files-(x86)-Zend-Apache2-htdocs-ss\.cache.themes.notdienst.templates.Inhalt.ss on line 304
Is there a way to my goal?
I'm using Silverstripe 2.4.
TIA
Tom