找不到Joomla的分页模板

I'm going crazy with this one. I am trying to change a little bit the pagination style and layout in Joomla. So, I found this file: libraries\joomla\html\pagination.php but I know that pagination is overridden by this file: templates\gk_yourshop\html\pagination.php. Yet, if I modify something in gk_yourshop\html\pagination.php, I can't see the change in the pages. Does joomla cache templates and I have to re-load them (like phpBB)?. I don't understand.

I tried to check if writePagesLinks is called from joomla\html\pagination.php with this:

function getPagesLinks()
{
            echo "test";
    global $mainframe;

and I can't see the message. I also did this in the other pagination.php file and it's just like I can delete them and it doesn't matter. Can you help me? Thanks!

Where are you getting WritePageLinks from? That's not one of the supported methods.

http://docs.joomla.org/Understanding_Output_Overrides#Pagination_Links_Overrides

There are four functions that can be used:

pagination_list_footer

This function is responsible for showing the select list for the number of items to display per page.

pagination_list_render

This function is responsible for showing the list of page number links as well at the Start, End, Previous and Next links.

pagination_item_active

This function displays the links to other page numbers other than the "current" page.

pagination_item_inactive

This function displays the current page number, usually not hyperlinked.

[edit]

You may also want to look at Protostar as an example.

Looks like I changed it here some time ago:
\libraries\joomla\html\pagination.php

But, that is system file, so i just make a "hotfix" of it.

In Joomla 3.x you can create pagination override from Extensions > Templates > Default Template > Create Overrides > Layouts > Pagination.

The override files are created in "Default Template" "html\layouts\joomla\pagination" folder.

You can edit the override files as per your needs.