@@ -17,7 +17,7 @@
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50"> </td>
- <td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets" | get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
+ <td width="394"><img src="{{ _p.web_css }}/themes/{{ "stylesheets"|api_get_setting }}/images/header-logo.png" width="230" height="60" alt="Ministerio de Educación"></td>
</tr>
@@ -80,7 +80,7 @@
<h4 class="title">
<a href="{{ _p.web ~ 'session/' ~ session.id ~ '/about/' }}">{{ session.name }}</a>
</h4>
- {% if 'show_session_coach'|get_setting == 'true' %}
+ {% if 'show_session_coach'|api_get_setting == 'true' %}
<p><em class="fa fa-user fa-fw"></em> {{ session.coach }}</p>
{% endif %}
<p><em class="fa fa-calendar fa-fw"></em> {{ session.dates.display }}</p>
3. Portal settings
You can access the portal settings using:
- {{ "siteName"|get_setting }}
+ {{ "siteName"|api_get_setting }}
For more settings check the settings_current database table
4. Read more
You can also see more examples in main/template/default/layout