CMSms and ThickBox or GreyBox
CMSms and ThickBox or GreyBox
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
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
Re: CMSms and ThickBox or GreyBox
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.
Re: CMSms and ThickBox or GreyBox
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.
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.
Re: CMSms and ThickBox or GreyBox
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
Re: CMSms and ThickBox or GreyBox
hey sportman
I know about cal's lightbox module but it only works for images which is not what I am after
I know about cal's lightbox module but it only works for images which is not what I am after

Re: CMSms and ThickBox or GreyBox
i was saying look at the code for that and we just modify it for thickbox
Re: CMSms and ThickBox or GreyBox
Are you wanting to do this only for links placed in pages, or for menu links as well?
Re: CMSms and ThickBox or GreyBox
vaunght:
both
both
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: CMSms and ThickBox or GreyBox
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.
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.
Re: CMSms and ThickBox or GreyBox
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.
Re: CMSms and ThickBox or GreyBox
couldn't he modify something in the menu template in menu manager?