* LoadedGun please make forum for touch phone version and forum paging as blog paging.
2014-07-07 07:39 · (0)
* Graham * LoadedGun Forum for touch phone can be done with custom css

if you want the paging to be the same as the blogs and use the same classes
then you have to use the custom twig and custom blocks
and replace the pagination block in my_blocks.twig with
{% block pagination %}
    {% if pagination.pages|length > 1 %}
<div class="xt_pagination"><!--
            {# previous part #}
            {% if pagination.current_page - 1 != 0 %}
                --><span><a href="{{pagination.url}}{{ pagination.current_page - 1 }}" title="{{ translate ( 'previous' ) }}"><span>&laquo;</span></a></span><!--
            {% endif %}
            {% for page in pagination.pages %}
                {% if page == pagination.current_page %}
                  --><span class="selected"><span>{{page}}</span></span><!--
                {% elseif page == '...' %}
--><span class="selected"><span>{{page}}</span></span><!--
                {% else %}
                  --><span><a href="{{ pagination.url }}{{page}}"><span>{{ page }}</span></a></span><!--
                {% endif %}
            {% endfor %}
            {# next part #}
            {% if pagination.current_page != pagination.pages|last %}
                --><span><a href="{{pagination.url}}{{ pagination.current_page + 1 }}" title="{{ translate ( 'next' ) }}"><span>&raquo;</span></a></span><!--
            {% endif %}
        --></div>
    {% endif %}
{% endblock %}

Copy code
2014-07-10 22:41 (edited 2014-07-10 23:14 by Graham ) · (0)

Online: Guests: 1