Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Silverstripe and Fancybox


Reply


2 Posts   1461 Views

Avatar
VictorH

Community Member, 29 Posts

18 December 2009 at 9:28am

I'm trying to get fancybox (http://fancybox.net/) to work on a Silverstripe build of mine.

I'm trying to have some inline elements appear on the the fancybox popup.

In order for it to work you need an anchor tag where the href="#something" has the fancybox show the contents of a div with an id='something'.

The problem is Silverstripe adds the base tag to the anchor href so instead of href="#something I get href="/mysite/section/#something".

Anyone have any ideas?

Avatar
VictorH

Community Member, 29 Posts

18 December 2009 at 2:04pm

THIS IS NO LONGER AN ISSUE. I DIDNT DO ANYTHING AND IT FIXED ITSELF.