Implemented Exclude ochGlightbox by menu or page

More
2 years 8 months ago - 2 years 7 months ago #1729 by Tim Davis
Exclude ochGlightbox by menu or page was created by Tim Davis
Hi Ruud,

You've got plenty on your plate I am sure, so I am just going to drop this idea (for which I hae a workaround already) here for your intake system.

I have a site where I want ochresponsiveimages to work on the home page, but I don't want ochGlighbox to be in effect because the images are hotlinked to a url. It would be great to be able to exclude pop-ups on certain pages or menu items.

BTW, my workaround is to use reReplacer from Regular Labs to remove the ochGlightbox class on the home page.

Thanks!

Download link to testversion below:
This message contains confidential information
Last edit: 2 years 7 months ago by Ruud van Lent. Reason: Added download link
The topic has been locked.
More
2 years 8 months ago #1731 by Ruud van Lent
Replied by Ruud van Lent on topic Exclude ochGlightbox by menu or page
Hi Tim,
Good feature request!
Would it make sense if the menu items where an include / exclude?
So when you have only one menu item you want to have handled you select it as include, when you have only one (or more) that you don't want you can make it exclude?

Maybe also throw in article ID's to exclude? Would that make life easier?
The topic has been locked.
More
2 years 8 months ago #1732 by Tim Davis
Replied by Tim Davis on topic Exclude ochGlightbox by menu or page
Yes, those would all be great options to choose from!

How can I be the man when you are the man!?
The topic has been locked.
More
2 years 7 months ago #1743 by Ruud van Lent
Replied by Ruud van Lent on topic Exclude ochGlightbox by menu or page

How can I be the man when you are the man!?

That is fairly simple Tim, you can be THE man when you test the version I have setup for you in the OP of this topic (and report back of course) :)
The topic has been locked.
More
2 years 7 months ago #1755 by Tim Davis
Replied by Tim Davis on topic Exclude ochGlightbox by menu or page
I've tested this and it works great - thank you very much!
The topic has been locked.
More
2 years 7 months ago #1756 by Ruud van Lent
Replied by Ruud van Lent on topic Exclude ochGlightbox by menu or page
Thanks Tim for the feature request and for testing!
Will release a new version tomorrow.

Regards,
Ruud
The topic has been locked.