Showing posts with label template. Show all posts
Showing posts with label template. Show all posts

Monday, June 10, 2013

View page / popup without template Joomla 2.5

So I wanted to create a popup in my custom Joomla component that is basically a whole page in itself not an alert box so I needed to create a page without template (header footer) showing and just what I want.

For example: <a href='index.php?option=my_component&view=popup_page'>Click here</a>

(I used jQuery plugin to open it up in a popup instead of new page)
To view this page without template, all you need to do is simply add '&tmpl=component', so in the above case the URL will simply become:

For example: <a href='index.php?option=my_component&view=popup_page&tmpl=component'>Click here</a>

Hope it helps someone :)

Tuesday, February 28, 2012

View template module positions tp=1 Joomla 2.5

Hi,

If you are a developer or designer of Joomla 1.5 and have recently moved to Joomla 1.6, 1.7 or Joomla 2.5 you will see that setting the parameter of tp=1 in url doesn't show you module positions anymore. So if you are wondering how to view module positions in Joomla 2.5 its simple, you go to Extensions->Template Manager, click on options and set 'Preview module positions' from disabled to enabled and the old tp=1 will start working.