Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

K2 parameter "layout" is removed from URL
(1 viewing) (1) Guest
Support forum for customers who have purchased paid JoomSEF extension. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: K2 parameter "layout" is removed from URL

K2 parameter "layout" is removed from URL 11 years, 7 months ago #33935

We acquired the K2 content plugin for JomSEF 4 / Joomla 2.5.

When the plugin generates the URL, it removes a paramenter we need to keep.

What we need:
index.php?option=com_k2&id=5&task=category&layout=category&view=itemlist&Itemid=388

What is happening:
index.php?option=com_k2&id=5&task=category&view=itemlist&Itemid=388

The extension is removing the layout=category parameter.

How can we tell JomSEF to not remove this paramenter?
The topic has been locked.

Re: K2 parameter "layout" is removed from URL 11 years, 7 months ago #34052

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
Unfortunately it's not currently possible. We will need to fix this in next version of our K2 JoomSEF extension.
But if you're willing to modify the PHP code manually, just edit the /components/com_sef/sef_ext/com_k2.php file and around line number 256 find and delete the following line:
$uri->delVar('layout');


Of course make a backup of the file prior to doing so.
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
User Login Empty