Lightbox, thickbox, whatnotbox [was:The Infamous Show Off Topic]

Discuss PivotX 2.0.x here. Non-PivotX related discussions go in The Drain.

Re: Lightbox, thickbox, whatnotbox [was:The Infamous Show Off To

Postby Schop » Fri Jun 06, 2008 3:38 pm

Well, I think other content could be done in the Thickbox as well. That was actually something I've been wondering about...I'd like to have the possibility to openb links to external websites in a thickbox (or fancybox, for that matter)...
User avatar
Schop
Contributor
 
Posts: 485
Joined: Mon Apr 21, 2008 1:47 pm
Location: Hudson, Ohio

Re: Lightbox, thickbox, whatnotbox [was:The Infamous Show Off To

Postby Bob » Fri Jun 06, 2008 3:49 pm

Got it to work: http://webtwee.net/archive/2008/06/06/fancybox

It's an actual extension, that overrides the [[ popup ]] tag with the fancybox behaviour.

- Download the extension here http://pivotx.net/files/extensions/fancybox_0.1.zip
- Unzip and upload to pivot/extensions/fancybox
- Go to Extensions in PivotX, and enable the fancybox extension
- Voila, all your [[ popup ]] tags will show as fancyboxes now.
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm

Re: Lightbox, thickbox, whatnotbox [was:The Infamous Show Off To

Postby loly » Fri Jun 06, 2008 5:02 pm


... work very strange in FF
girl.jpg
girl.jpg (95.65 KiB) Viewed 5177 times
loly
 
Posts: 64
Joined: Mon Mar 31, 2008 7:59 am
Location: Russia

Re: Lightbox, thickbox, whatnotbox [was:The Infamous Show Off To

Postby Schop » Fri Jun 06, 2008 6:29 pm

Thank you Bob! With your little extension for Fancybox, I was able to finally make my own extension for Floatbox http://randomous.com/tools/floatbox/.

It's really not that hard if you have an example ;)

Now, I know Floatbox is not as slick as Fancybox when it comes to the code (because Float does not use jquery, for instance), but I simply _love_ the options I have and the way it looks.

Anyway, If anybody wants to use it too, I do have an extension for it now. Although I removed all the crap I didn't need (fancy other color themes and stuff), it'll be easy to implement that if you'd want to. You can check it out here: http://www.mcheerjansdam.nl/racingteam
User avatar
Schop
Contributor
 
Posts: 485
Joined: Mon Apr 21, 2008 1:47 pm
Location: Hudson, Ohio

Re: Lightbox, thickbox, whatnotbox [was:The Infamous Show Off To

Postby Bob » Fri Jun 06, 2008 10:26 pm

Loly, what version of firefox is that? It should word in most recent browser versions.. Do the examples in http://fancy.klade.lv/ work? If they do, i can narrow down where it goes wrong.

Schop: You're welcome. The thing is: Pivotx has a lot of things that are easily extensible, even with minor PHP knowlodge. The problem is, most of these things are in my head, only. I'll need to write down everything, and make proper documentation, so that more people can write extensions to fit their needs.

In the meantime, please consider tidying up your own work, and providing it as an extension to the community. We all benefit from having more choices. ;-)
Bob
Lead Developer
 
Posts: 1374
Joined: Tue Nov 20, 2007 11:16 pm

Re: Lightbox, thickbox, whatnotbox [was:The Infamous Show Off To

Postby Schop » Sat Jun 07, 2008 1:50 am

Will do.

I'm also working on integrating Piwik (http://www.piwik.org) into my own install of Pivot, as an alternative to BBClone. I'll let you guys know when it's working.
User avatar
Schop
Contributor
 
Posts: 485
Joined: Mon Apr 21, 2008 1:47 pm
Location: Hudson, Ohio

Re: Lightbox, thickbox, whatnotbox [was:The Infamous Show Off To

Postby gwbonline » Sat Jun 07, 2008 6:34 pm

I really like to see that the FancyBox is an extension now!
gwbonline
 
Posts: 580
Joined: Tue Jan 01, 2008 5:17 pm

Re: Lightbox, thickbox, whatnotbox [was:The Infamous Show Off To

Postby loly » Sat Jun 07, 2008 7:50 pm

I use lightgallery.
(only 7kb and no need JQuery)
loly
 
Posts: 64
Joined: Mon Mar 31, 2008 7:59 am
Location: Russia

Re: Lightbox, thickbox, whatnotbox [was:The Infamous Show Off To

Postby countrycharm » Mon Jun 23, 2008 8:23 pm

I have a dumb question. I have shopping card on line. Made from zen cart. Where do I upload these files and place them at to get it to work.
http://pivotx.net/files/extensions/fancybox_0.1.zip

Thank you for the help. On the fancybox web site they don't have any good documentation what so ever.
countrycharm
 
Posts: 1
Joined: Mon Jun 23, 2008 8:17 pm

Previous

Return to 2.x Discussion

Who is online

Users browsing this forum: No registered users and 2 guests

cron