You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem of next solution is that {% if page == None %} condition never triggered. Is show all pages. For example in my case from 1 to 200 without any ... symbol.
The second thing which I tried is redefine templates (show_more.html, current_link.html, next_link.html, e.t.c.)
In templates folder of my project I create el_pagination folder with html files like this:
{% for page in pages %}
{{ page.render_link|default:'<li class="page-item disabled"><span aria-hidden="true">...</span></li>' }}
{% endfor %}
Problem in this solution is that only show_pages.html works (style works). Other templates don't work? How to fix the problem? I want to change style of digg-style pagination.
The text was updated successfully, but these errors were encountered:
First of all THANK YOU for this wonderful project!
I use version 3.2.4 to create digg-style pagination. Whats the best way to change style?
I tried this:
The problem of next solution is that
{% if page == None %}
condition never triggered. Is show all pages. For example in my case from 1 to 200 without any...
symbol.The second thing which I tried is redefine templates (show_more.html, current_link.html, next_link.html, e.t.c.)
In
templates
folder of my project I createel_pagination
folder with html files like this:Then in main template i use:
show_pages.html:
Problem in this solution is that only show_pages.html works (style works). Other templates don't work? How to fix the problem? I want to change style of digg-style pagination.
The text was updated successfully, but these errors were encountered: