Maximenu CK is adding # to the end of URLs

More
13 years 3 months ago #12294 by cas
I found a bug in Maximenu CK that is adding # to the end of URLs.

The file: /modules/mod_maximenuck/helper.php

Line 253 is adding a # and any anchor link, without actually checking if any anchor link was needed, if no anchor link was present a # is added to the end of the URL anyway.

I have recoded this line to include a check for an anchor link before appending the url with a #anchor. Here is the fixed code:

if (trim($item->params->get('maximenu_anchor', ''))){
$item->flink .= '#' . $item->params->get('maximenu_anchor', '');
}

Hopefully this fix can be added to the latest release to fix the problem for everyone.

Regards,
Chuck

Please Log in or Create an account to join the conversation.

More
13 years 3 months ago #12295 by ced1870
Hi
Please check that you have the latest version of the module because this has already been fixed
Regards
CEd

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

Time to create page: 0.179 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 823 guests and one member online