levelx.me

  • Home
  • Design
    • 3D
    • Art
    • Freebies
    • Inspiration
    • Interior Design
    • Photography
    • Tutorials
    • Typography
  • Technology
    • Benchmarks
    • How To
    • News
    • Programming
    • Reviews
    • SAP BASIS
  • Lifestyle
    • Do it Yourself
    • Entertainment
    • Quotes
    • Self Improvement
    • Sports
  • Resources
    • Infographics
    • Themes
    • Tools
    • Wallpapers
  • ETC
    • places
    • Uncategorized
  • Android
    • How To
    • News
  • Apple
    • How To
    • News
  • Hiding the Administrator or Front end layout template in Joomla!

    Digg Digg

    It’s taken a good part of an hour trying to find how to disable the administrator or front end template for Joomla.
    So I thought I’d just make a post in an effort to turn this frustrated energy into something positive.

    To display only the contents of the view on the page without being framed by a template, the tmpl variable needs to be set to “component”.

    Something along the lines of having the following snippet in the controller method:
    JRequest::setVar(’tmpl’, ‘component’);

    Either that, or adding “&tmpl=component” to the URL.

    I remember doing it before, however it’s been a while.

    All attempts at searching on how to do the above proved frustratingly impossible as the organic search results for google are filled with people asking how to “disable legacy” modes, “templates”, “modules”, “plugins”, how to make your joomla admin panel rock(!!!!) – not what I was looking for!

    Hope this helps other Joomla! component developers :P

    reference

    You should read

    • Google +1 – Recommendations when you want them
    • WordPress vs Joomla Vs Drupal – Infographic Comparison
    • Typography Tips – With Amazing Examples
    • Taking Screenshots on HTC Desire
    • How Can Dawkins Explain the Perfect Eye in Our Brains?

    Posted by Faizan on: September 1st, 2009 | Posted in: Programming

    Leave a Reply


    Subscribe to Levelx

    Popular Posts

    • Create a jigsaw puzzle in adobe illustrator
    • At The Heart of The Image! – Nikon D5000 Review
    • Calibrating HTC Desire Battery
    • Famous Salvador Dali Paintings
    • Taking Screenshots on HTC Desire
    • Typography Tips – With Amazing Examples
    • Home Decoration and Interior Design 2011
    • Funny Road Signs (Part II)
    • Nokia Touch and Type X3-02 and C3-01: Review and Comparison
    • 3D Building Exterior Render – Design Workflow

    Recent Comments

    • Loading...

    Top Posts

    • FORMULA 1 - 2009 Season. (28)
    • Fixing IE7 dropping PHP Sessions (25)
    • M2N32 SLI-DLX WFI && RzR DeathADDER - - BURNT ! ! (17)
    • HTC Desire - Benchmark (17)
    • Home Decoration and Interior Design 2011 (17)
    • From Sand To Silicon: How A Intel CPU Is Built (16)
    • Windows 7 Theme - VEER II (16)
    • HTC Desire 2.10.405.2 OTA Update (16)
    • REQ: Stalker [ 1979 ] OST. (15)
    • Meet your DESIRE | HTC Desire Reviewed (15)

    Tags

    1TB android android 2.3 gingerbread android software apple art asus benchmark desire desktop eclair facebook Formula 1 froyo Gaming gingerbread google hacking htc HTC Desire infographic internet ios iPad iphone Islam lahore Lifestyle mobile new year Nexus one Nokia nvidia pakistan photography php psp Review s60 smart phones symbian symfony typography wallpapers web 2.0

    levelx.me is proudly powered by WordPress | Theme Designed by AF8AB