Search
Other ReReplacer questions
Forum

How to apply same rule depending of the page

Laurent Lacoste's Avatar Laurent Lacoste
Hi,

I'm using ReReplacer to replace this code i.imgur.com/TJLyE6H.png and works fine.

Now, I would like to execute this code dynamically on all pages, except the page active / visited by the user.

Is it possible?

Thanks
L.
Peter van Westen's Avatar Peter van Westen ADMIN
You would need to replace via php, and check in the php whether the href is the same as the current url.
Not very easy, as there are different ways to format the same url. With or without the domain, with or without an ending slash, etc.
So can be done, but requires you to do some custom php coding in the replacement.
Please post a rating at the Joomla! Extensions Directory
Laurent Lacoste's Avatar Laurent Lacoste
ok thanks for the feedback.
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription