How to view just your component in Joomla! 1.5
July 22, 2008 | by CoryHere is a neat little trick I picked up last Friday at the Joomla! 1.5 bootcamp in Austin led by Johan Janssens.
In Joomla! 1.5, if you simply want to display your component without any modules and without your template styles, all you have to do is add "?tmpl=component" or "&tmpl=component" to the end of the URL, depending on whether or not there are already other parameters on the end of the URL.
For example, if you just want to view the component on the home page of the new community.joomla.org site, you simply add "?tmpl=component" to the URL like this: http://community.joomla.org/?tmpl=component.
This trick is really useful for template designers because you can isolate the HTML used in a specific component, so you can determine how best to set up your CSS for styling that component.
Enjoy!
About the Author
In the years since Joomla! was founded, Cory has built dozens of websites with Joomla! and helped thousands of people find answers to questions about Joomla! through HowToJoomla.net. Cory has also written a book about Joomla titled Beginning Joomla! Web Site Development published by Wrox in April, 2009. In February of 2008, Cory founded Cory Webb Media, LLC, where he provides consulting and web development services for companies of all sizes. You can follow Cory on Twitter @corywebb, or become a fan of Cory Webb Media on Facebook. Cory is also the founder of Themeables, a template club for Joomla!, and developer of /motif, the framework that powers Themeables.






