Saturday, 15 January 2011 13:43

?tp=1 in Joomla 1.6

For those of you that create templates or need to temporarily display your templates modules positions on the front end for development purposes, then you will already know about the handy "?tp=1" which can be added to the end of a URL.

In Joomla 1.6 this function is disabled by default, which is great to prevent it from being displayed, but how do you enable it?

  1. Go to Extensions - Template Manager - Options in the upper right corner, looks like a light switch.
  2. Under the Templates tab, set Preview Module Positions to Enabled.
  3. Dont forget to Save.
  4. As an example, Go to your site homepage and add index.php?tp=1 to the end of the URL, so it looks something like:
    www.mysite.com/index.php?tp=1 
    An example: http://k2joom.com/sites_joomla/joomla16/index.php/getting-started?tp=1 

Joomla16_tempmanoptions

You will then be able to see the module positions as normal on the site.

Joomla16_tempmodpositions

 

Published in K2Joom Blog