Alsernet2000 Posted September 6, 2016 Share Posted September 6, 2016 (edited) 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 September 6, 2016 by Alsernet2000 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted September 7, 2016 Share Posted September 7, 2016 Actually I think it's broken at the very root, I had the same issue and could never figure out what to do Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now