Floatbox extension

Discuss PivotX 2.0.x extensions here, and view extensions that are available for download.

Floatbox extension

Postby Schop » Wed Sep 24, 2008 2:11 pm

Of course it is a shameless rip-off of somebody else hard work, but I have 'written' an extensions that replaces the Pivot pop-up with Floatbox. Here's the zip, for interested peeps, just unzip it and throw it in the 'extensions' directory, and it will show up on your extensions page.

Want to see it first? Look here: http://www.johnschop.nl.
Attachments
floatbox.zip
(26.68 KiB) Downloaded 300 times
User avatar
Schop
Contributor
 
Posts: 485
Joined: Mon Apr 21, 2008 1:47 pm
Location: Hudson, Ohio

Re: Floatbox extension

Postby Schop » Thu Sep 25, 2008 1:59 pm

I do have a question about this though. Pivot still includes the thickbox script and css in my pages, and of course it does not have to do that if you use the floatbox (or the fancybox) extension. Is there a way to disable that?
User avatar
Schop
Contributor
 
Posts: 485
Joined: Mon Apr 21, 2008 1:47 pm
Location: Hudson, Ohio

Re: Floatbox extension

Postby hansfn » Fri Feb 20, 2009 5:25 pm

No need to disable anything, just remove the unneeded line
PIVOTX['extensions']->addHook('after_parse', 'callback', 'jqueryIncludeCallback');

in snippet_floatbox.php. Let us know if it still works nicely.
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway


Return to 2.x Extensions

Who is online

Users browsing this forum: No registered users and 1 guest