CMSms and ThickBox or GreyBox
Posted: Wed Feb 13, 2008 4:44 am
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