Jump to content

KoalaBear

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • First Name
    Hristomir
  • Last Name
    Vitanov

Recent Profile Visitors

97 profile views

KoalaBear's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, thank you for your quick answer. i still want to use the module. I want to remove the AJAX pagination without disabling the module.
  2. Hello, I am using Prestashop 1.6 and want to remove the AJAX navigation. What I mean: For example on some categories my pagination, sorting, etc. are handled with AJAX and have this structure: site.com/category#/page-2 Other are handled by parameters and act on preload with this structure: site.com/category?p=2 I want all of my categories to use the second option for pagination, sorting, filters, etc. I think it has something to do with the "Layered navigation block" module, but I am not quite sure. Any help will be much appreciated.
  3. Okay, thank you. I will try StackOverflow. With JS I am able to get the client side URL, but unfortunately I can't use it for my needs.
  4. I have extended my FrontController.php in order to get a custom Smarty variable, like {$current_url}, but I am still not able to obtain the actual URL even through PHP. I've tried: $_SERVER['REQUEST_URI']; $_SERVER['QUERY_STRING']; $_SERVER['HTTP_REFERER']; etc. But I can obtain only the main URL, not the query string like #/page-2, or #/category $_SERVER['PHP_SELF']; is returning /index.php no matter what page I am browsing.
  5. Thank you for your answer, but unfortunately JS is not an option. I need to get it done via Smarty or PHP. Any other suggestions will be much appreciated
  6. Hello, I've tried every solution posted all over the Internet but with no luck, so please give me a hint. I want to display the full URL from the current page in my Smarty tpl files. I am using Prestashop 1.6 So far I tried with tens of methods, for example {$request} or {$request_uri}, but I am not achieving the desired result. I want to get the full address, for example: my-website/22-category#/page-2 But even if I am on pagination or sorting, I managed to display only the main URL, for ex.: my-website/22-category Any help will be much appreciated
×
×
  • Create New...