CMSms and ThickBox or GreyBox

General project discussion. NOT for help questions.
Post Reply
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

CMSms and ThickBox or GreyBox

Post by hexdj »

I have been trying to integrate ThickBox or GreyBox modal popups into CMSms but haven't really gotten very far.
EDIT:
Before anyone asks: I am not trying to make photo albums, I am trying to display actual CMS content pages in a popup.

This was my approach (with ThickBox):
- Create a 'Popup' template for all the pages that I want to show in the modal popup window.
- This template calls my simple UDT which simply adds the ?keepThis=true&TB_iframe=true&height=250&width=400 to the URL
- Associate all my popup pages to this template
- When linking to a popup page, I have to click the chain icon in Tiny and enter the URL manually and set the class to 'thickbox'

This does create a ThickBox popup window for me but fails to show the contents of the popup page plus I see this other issues:
- I would much rather use the CMSSelfLink tag so I don't have to copy/paste (or memorize) the url of the page I want to popup
- I have to set the class to thickbox everytime
- I am not sure if pretty URLs mess things up


Has anyone had tried to implement this into CMSms?

Thanks
vaughnt
Forum Members
Forum Members
Posts: 82
Joined: Tue Jun 13, 2006 2:05 pm

Re: CMSms and ThickBox or GreyBox

Post by vaughnt »

I use Thickbox on my site http://www.vaughnsphotoart.com/index.ph ... -additions but only to pop up images, not pages the way you describe. I did test the page popups though and they worked. I don't know if that is encouragement or not, but there it is.
--
My photography: http://vaughnsphotoart.com
Festiva Resorts: http://www.festiva.travel
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: CMSms and ThickBox or GreyBox

Post by hexdj »

Hi,
thanks but yeah, I want to popup pages and want to try to make it simpler for the end user to create such popups, rather than having them edit the HTML directly.
sportman
Forum Members
Forum Members
Posts: 11
Joined: Sat Jul 28, 2007 2:12 am

Re: CMSms and ThickBox or GreyBox

Post by sportman »

hexDJ if you looked recently a light box module has been added, maybe something like that can be done with thickbox talk to calguy1000 or take a look at the code
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: CMSms and ThickBox or GreyBox

Post by hexdj »

hey sportman
I know about cal's lightbox module but it only works for images which is not what I am after :(
sportman
Forum Members
Forum Members
Posts: 11
Joined: Sat Jul 28, 2007 2:12 am

Re: CMSms and ThickBox or GreyBox

Post by sportman »

i was saying look at the code for that and we just modify it for thickbox
vaughnt
Forum Members
Forum Members
Posts: 82
Joined: Tue Jun 13, 2006 2:05 pm

Re: CMSms and ThickBox or GreyBox

Post by vaughnt »

Are you wanting to do this only for links placed in pages, or for menu links as well?
--
My photography: http://vaughnsphotoart.com
Festiva Resorts: http://www.festiva.travel
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: CMSms and ThickBox or GreyBox

Post by hexdj »

vaunght:

both
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: CMSms and ThickBox or GreyBox

Post by calguy1000 »

I'll take a look at this if I ever get some time.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
vaughnt
Forum Members
Forum Members
Posts: 82
Joined: Tue Jun 13, 2006 2:05 pm

Re: CMSms and ThickBox or GreyBox

Post by vaughnt »

Ah. If it was just for within pages, I was going to suggest hacking the TinyMCE CMSMS-link plugin might be your best bet. But for both... don't have an idea.
--
My photography: http://vaughnsphotoart.com
Festiva Resorts: http://www.festiva.travel
sportman
Forum Members
Forum Members
Posts: 11
Joined: Sat Jul 28, 2007 2:12 am

Re: CMSms and ThickBox or GreyBox

Post by sportman »

couldn't he modify something in the menu template in menu manager?
Post Reply

Return to “General Discussion”