Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Image Slider free Joomla module.

Topic-icon Problem with overlay and buttons

More
5 years 11 months ago - 5 years 11 months ago #7818 by megamax
megamax created the topic: Problem with overlay and buttons
I have a problem with modules overlay and buttons showing number of slides. After instaling componenet sh404sef, overlay and buttons have dissapeared. I checked on page (with Chrome - inspect element) and found that link to the button is automaticaly changed and is not wright one. I assume that same problem is with gray overlay. Can you help me what to change that otherwise great component will work as it should.
Page is: www.medartis.si
Last Edit: 5 years 11 months ago by megamax.

Please Log in to join the conversation.

More
5 years 11 months ago #7826 by ivan.milic
ivan.milic replied the topic: Re: Problem with overlay and buttons
Try this:

in libraries/joomla/environment/uri.php line 228

Replace
$base = rtrim(dirname(str_replace(array('"', '<', '>', "'"), '', $_SERVER["PHP_SELF"])), '/\\');

With
$base = rtrim(dirname(str_replace(array('"', '<', '>', "'"), '', $_SERVER["SCRIPT_NAME"])), '/\\');


remember to back up file first.
(solution by charlie777pt)

Please Log in to join the conversation.

More
5 years 11 months ago - 5 years 11 months ago #7837 by megamax
megamax replied the topic: Re: Problem with overlay and buttons
That didn't solve the problem.
With button link there is a problem that I assume sh404sef insert a part of link name so the link is: www.medartis.si/Ginekologija-vsebina/mod.../slide-nav-brick.png instead of www.medartis.si/modules/mod_hot_image_sl.../slide-nav-brick.png
Please any other idea?
Last Edit: 5 years 11 months ago by megamax.

Please Log in to join the conversation.

More
5 years 11 months ago #7858 by ivan.milic
ivan.milic replied the topic: Re: Problem with overlay and buttons
Then you must alter .htaccess to add conditions that will make sef don't mess with image links.

I not expert on url rewriting, try to goolge around. This may be the rule that could solve your problem:

RewriteRule ^([^/]+/)+images/([^./]+\.[^/]+)$ /images/$2 [L]

Please Log in to join the conversation.

Time to create page: 0.146 seconds

Links, Partners and Social Media