3217 Posts in 853 Topics by 812 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 258 Views |
-
How to call/show a template in a lightbox witohut the theme (plain/raw view)

8 March 2013 at 5:07am
Hi all,
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.
Best regards,
K... -
Re: How to call/show a template in a lightbox witohut the theme (plain/raw view)

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.
K...
| 258 Views | ||
|
Page:
1
|
Go to Top |

