Jump to content

Button "Show All", not working with Friendly Urls and own module


Recommended Posts

Hi to everybody,
I'm developing a module to get a list of elements from the data base.

The pages are working awesome and also really easy, but the button of "Show All" send me a 404 page (and the url is OK but not friendly).

I have this code:

in the controller file:

...
public function initContent() {
    parent::initContent();
    ...
    ...
    $iCount = $oPhotoOrder->countAll($this->context->shop->id);
    $this->pagination($iCount);
    ...
}
...

in the tpl file:

...
{include file="$tpl_dir./pagination.tpl"}
...

Do you know any clue?

 

Thanks a los!!

Edited by Alsernet2000 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...