Closed faselunare closed 3 years ago
You should be able to use {variable type="text" name="header_button_link"}
for this. See https://octobercms.com/docs/services/parser#dynamic-syntax-parser. You would then be able to use regular twig (I think):
{% if header_button_link is not empty %}
Thank you! I will try!
Is it possible to show certain fields only when they have content? for example i have this button
if the button has content is rendered but if button has no content, is rendered empty i need something like