- Posts: 6
- Thank you received: 0
Problem with overlay and buttons
-
megamax
Inactive member - Topic Author
- New Member
Less
More
13 years 8 months ago - 13 years 8 months ago #7818
by megamax
Problem with overlay and buttons was created by megamax
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
Page is: www.medartis.si
Last edit: 13 years 8 months ago by megamax.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 8 months ago #7826
by ivan.milic
Replied by ivan.milic on 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)
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.
-
megamax
Inactive member - Topic Author
- New Member
Less
More
- Posts: 6
- Thank you received: 0
13 years 8 months ago - 13 years 8 months ago #7837
by megamax
Replied by megamax on 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?
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: 13 years 8 months ago by megamax.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 8 months ago #7858
by ivan.milic
Replied by ivan.milic on 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]
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.176 seconds