View module positions on a Joomla site with ?tp=1

So, you have a Joomla site, but you can’t seem to figure out what position a module is situated into on your site.

Maybe you are looking at template companies demo and want to understand how they layed it out? Perhaps you are just a snoop. :)
Well it’s easy peasy to do this. Just add ?tp=1 to the end of a Joomla url, preferably a non SEF url.
You will then be able to see all the published modules on that page.

Here are a few examples.

You see how that last links layout looks all fancy?  Thats because that site is powered by Morph.  In Morph you can actually bring up a  toolbar on your website frontend and easily enable or disable stuff like module positions or turn on or off the sites javascript.  Pretty cool stuff.
Want to disable this functionality for some reason?  Check out this post.

About the author

5 Comments

  1. That is a GREAT tip, thanks!

  2. Something you forgot to mention Matt, one of Morphs little recent additions is the ability to turn this off in Configurator – so if you want to prevent snoops from seeing how you have structured your site, you simply disable the tp=1 option. Easy peasy ;)
    .-= Chris´s last blog ..Morph updated – new versions across the board =-.

  3. Since not everyone wants their module positions to be viewed there is a way to hide it. In a production website no one should see the module positions… it’s not of anyone’s business.

    add the following to your .htaccess file
    ########## Start ?tp=1 prevention
    #
    RewriteCond %{QUERY_STRING} tp=(.*)
    RewriteRule ^(.*)$ index.php [F,L]
    #
    ########## End ?tp=1 prevention

  4. That’s a awesome tip Hans. Thanks for that contribution.

    Just to play devils advocate here…..what is the harm in people being able to see your module positions? I fail to see the security risk, but I would like your take on it.

  5. I think that there’s no security risk with it Matt.

Trackbacks/Pingbacks

  1. How to disable ?tp=1 in Joomla | Joomla Tips - [...] We covered how to show your published module positions using ?tp=1 in a previous post. [...]
  2. Where is that Joomla module published? 3 simple ways to find out. | ProThemer Team Blog - [...] we blogged about this topic here, we received questions about how to disable this functionality on your Joomla website …
  3. How to disable ?tp=1 in Joomla - Joomla Tips | Joomla Tips - [...] We covered how to show your published module positions using ?tp=1 in a previous post. [...]

Submit a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>