3314 Posts in 890 Topics by 835 members
|Go to End|
8 March 2013 at 5:07am
How would I call, from one template, another template inside a light box. And without the theme warapped around it?
I have a list page and a button to Add a new item and would like the page for adding new item to be displayed to user in lightbox from the listing page (to make workflow faster).
I tried searching but didnt have any joy finding what I needed! If anyone has some handy tips or references on the web I'd really appreciate them.
12 March 2013 at 3:28am
OK, I implemented fancybox for the lightbox.
I then, on each lightbox link, added a param ?modal=1 and grabbed this from the page.php and used it to show/hide elements in the page.ss so that existing templates extending 'page' can carry on doing so but without the themes header and footer etc.
Hope this helps somebody with similar query.
|Go to Top|