i also filed a bug, but possibly someone can point me to the error in my templates:
when i am using pagination for article, the current issue does not go to current issue. the template that should call it has this:
(top of the template:)
{{ $campsite->url->reset_parameter("ls-art0") }}
(i am using local as an attempt to force it... it does not work with or without. the same for "unset_issue", i used that to force it, again it does not work with or without)
{{ local }}
{{ set_language name="Deutsch" }}
{{ set_publication name="fluter" }}
{{ unset_issue }}
{{ set_current_issue }}
{{ set_section number="11" }}
{{ unset_article }}
You are using this statement to list articles:
{{ list_articles length="5" ignore_issue="true" constraints="type is
editorial" order="byPublishDate desc"}}
ignore_issue="true" means articles from any issue are listed. If an article
from a previous issue was selected automatically the template issue is set
to the article issue - the previous one.
Right after "set_current_issue" you get the current issue in the template.
But inside the list it depends on each article.
Insert this code right before the pagination links:
{{ set_current_issue }}
{{ set_section number="11" }}
> i also filed a bug, but possibly someone can point me to the error in
> my templates:
>
> when i am using pagination for article, the current issue does not go to
> current issue. the template that should call it has this:
>
> (top of the template:)
> {{ $campsite->url->reset_parameter("ls-art0") }}
>
> (i am using local as an attempt to force it... it does not work with or
> without. the same for "unset_issue", i used that to force it, again it does
> not work with or without)
> {{ local }}
> {{ set_language name="Deutsch" }}
> {{ set_publication name="fluter" }}
> {{ unset_issue }}
> {{ set_current_issue }}
> {{ set_section number="11" }}
> {{ unset_article }}
>
> <li class="redLink {{ if $campsite->default_publication->name == "fluter"
> AND $campsite->default_section->number == $campsite->section->number
> }}active{{ /if }}"><a href="{{ url }}" class="redLink">Fokus</a>
> <ul>
> {{ list_articles length="5" ignore_issue="true" constraints="type is
> editorial" order="byPublishDate desc"}}
> <li><a href="{{ url options="section" }}">{{ $campsite->issue->name
> }}</a></li>
> {{ /list_articles }}
> <!-- <li><a href="#">FOKUS-ARCHIV</a></li> -->
> {{ /local }}
>
> pagination:
>
>
> {{ if $campsite->current_list->at_end }}
> </ul>
> {{ unset_article }}
> <ul class="pagination">
> <li>{{ $campsite->current_list->count }} Artikel</li>
> {{ if $campsite->current_list->has_previous_elements }}
> <li class="previous"><a href="{{ uri options="previous_items"
> }}">«</a></li>
> {{ /if }}
> {{ if $campsite->current_list->has_next_elements }}
> <li class="next"><a href="{{ uri options="next_items" }}">»</a></li>
> {{ /if }}
> <!-- <li class="activePage"><a href="#">1</a></li> -->
> <!-- <li><a href="#">2</a></li> -->
> </ul>
> <div class="clear"></div>
> {{ /if }}
>