{% set currentUrl = app.request.attributes.get('_nodeTranslation').url %} {% set baseRoute = '_slug' ~ (app.request.attributes.get('preview') ? '_preview' : '') %} {% set basePath = path(baseRoute, { 'url': currentUrl, '_locale': app.request.locale }) %} {% set categoryContext = get_article_categories(app.request, 'App:WorkshopCategory') %} {{ render_pageparts(page, 'main') }}
{# {{ dump(results) }} #} {% include 'Pages/WorkshopOverviewPage/_workshoplist.html.twig' %}
{#
#} {#
#} {#
#} {# {% set count = 0 %} #} {# {% if pagerfanta.nbResults > 0 %} #} {# {% for article in pagerfanta.currentPageResults %} #} {# {% set articlenode = get_node_translation_for(article) %} #} {# #} {# {% set count = count + 1 %} #} {# {% endfor %} #} {# {% if pagerfanta.haveToPaginate() %} #} {# {{ pagerfanta(pagerfanta, null, { #} {# 'pageParameter': '[page]', #} {# 'prev_message':'', #} {# 'next_message':'' #} {# }) }} #} {# {% endif %} #} {# {% endif %} #} {#
#} {#
#} {#
#}