пагинация
Posted: Tue Jun 13, 2023 8:01 am
на главной странице в паджинаторе можно сделать так
range_separator="<li><span>...</span></li>" active_link_style="active" link_style=""
то есть активная страница с другим стилем
а можно ли в пагинаторе моделей сделать если нету prev_page то чтобы вывел кусок текста
<models skip_href_deletion="true" model_has_photos=true gallery_count_min=1 first_letter=GET_first_letter type=pagination items_per_page=40 link_type="prev_page"><li class="nav-prev"><a href="/models<?=first_letter_qsa('/?page=<!--PREV_PAGE-->');?>">Prev</a></li></models>
условно так
<models skip_href_deletion="true" model_has_photos=true gallery_count_min=1 first_letter=GET_first_letter type=pagination items_per_page=40 link_type="prev_page" noprev="<li class="nav-prev">Prev</li></models>
range_separator="<li><span>...</span></li>" active_link_style="active" link_style=""
то есть активная страница с другим стилем
а можно ли в пагинаторе моделей сделать если нету prev_page то чтобы вывел кусок текста
<models skip_href_deletion="true" model_has_photos=true gallery_count_min=1 first_letter=GET_first_letter type=pagination items_per_page=40 link_type="prev_page"><li class="nav-prev"><a href="/models<?=first_letter_qsa('/?page=<!--PREV_PAGE-->');?>">Prev</a></li></models>
условно так
<models skip_href_deletion="true" model_has_photos=true gallery_count_min=1 first_letter=GET_first_letter type=pagination items_per_page=40 link_type="prev_page" noprev="<li class="nav-prev">Prev</li></models>