ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Pagination doesn't include channel name

November 22, 2012 3:28am

Subscribe [1]
  • #1 / Nov 22, 2012 3:28am

    Hi All,

    I have an issue with the pagination tag. In the code below you can see that i am also using the transcribe module.

    {paginate}
                         <div class="pagination">{exp:transcribe:replace name="page"} {current_page} {exp:transcribe:replace name="of"} {total_pages}
                            {pagination_links}
                                <ul>
                                    {first_page}
                                            <li><a href="http://{pagination_url}" class="page-first">{site_url}content/img/pag_first.jpg</a></li>
                                    {/first_page}
                            
                                    {previous_page}
                                            <li><a href="http://{pagination_url}" class="page-previous">{site_url}content/img/pag_prev.jpg</a></li>
                                    {/previous_page}
                            
                                    {page}
                                            <li class="{if current_page}active{/if}"><a href="http://{pagination_url}" class="page-numbers {pagination_page_number} {if current_page}active{/if}">{pagination_page_number}</a></li>
                                    {/page}
                            
                                    {next_page}
                                            <li><a href="http://{pagination_url}" class="page-next">{site_url}content/img/pag_next.jpg</a></li>
                                    {/next_page}
                            
                                    {last_page}
                                            <li><a href="http://{pagination_url}" class="page-last">{site_url}content/img/pag_last.jpg</a></li>
                                    {/last_page}
                                </ul>
                            {/pagination_links}
                            </div>
                        {/paginate}

    My problem is that i do get a url with the “P1” etc, but the channel name is left out. I tried different things but couln’t locate the problem.

    I am using EE:  v2.5.3 - Build Date: 20120911

    Thanks for your help

     

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases