levelx.me

  • Home
  • Design
    • Freebies
    • Inspiration
    • Tutorials
  • Technology
    • Benchmarks
    • How To
    • News
    • Programming
    • Reviews
  • Entertainment
    • Gaming
  • Life
    • Photography
    • Quotes
    • Self Improvement
  • Resources
    • Themes
    • Tools
    • Wallpapers
  • ETC
    • Do it Yourself
    • places
    • Uncategorized
  • Hiding the Administrator or Front end layout template in Joomla!

    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

    Similar Posts

    • Taking Screenshots on HTC Desire
    • How Can Dawkins Explain the Perfect Eye in Our Brains?
    • Fixing IE7 dropping PHP Sessions
    • Panasonic HDC-HS250 HD Camcorder Unboxing
    • Download Music Legally & Free
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  

    Posted in: Programming

    Leave a Reply

    Categories

    • Benchmarks
    • Design
    • Do it Yourself
    • Entertainment
    • ETC
    • Freebies
    • Gaming
    • How To
    • Inspiration
    • Life
    • News
    • Photography
    • places
    • Programming
    • Quotes
    • Resources
    • Reviews
    • Self Improvement
    • Technology
    • Themes
    • Tools
    • Tutorials
    • Uncategorized
    • Wallpapers

    Explore us

    • deviantART
    • Flickr
    • oDesk
    • Picasa Album
    • Twitter
    • YouTube

    Friends

    • I Am The Stig
    • Stig Facts

    Recent Comments

    • ashwiniverma on Windows 7 Theme – VEER II
      please veer II help me you can understand my pain. my mom and dad is poor and not able to bay me a h... »
    • ashwiniverma on Windows 7 Theme – VEER II
      my internet speed is slow i am using relience net connect hi speed 1x modammodal no: AC8720my downlo... »
    • Jude Sleby on Calibrating HTC Desire Battery
      Looks like it worked »
    • B@D on Pakistan Floods 2010 – How to Donate
      @Aamir - Which area are you from? Where are you living these days? »
    • aamir on Pakistan Floods 2010 – How to Donate
      hy sir i am student of medical last year abroad in osh kirgyzctan.sir i am belonging to flooded effe... »
    • Older »
    levelx.me on Facebook

    Top Posts

    • FORMULA 1 - 2009 Season. (28)
    • Windows 7 Theme – VEER II (18)
    • M2N32 SLI-DLX WFI && RzR DeathADDER - - BURNT ! ! (17)
    • HTC Desire - Benchmark (17)
    • REQ: Stalker [ 1979 ] OST. (15)
    • Collaborations II - Sukhshinder Shinda feat. Rahat Fateh Ali Khan (14)
    • HP Pavilion dv6t Series Notebook PC (14)
    • Action Video Games Could Sharpen Eyesight (14)
    • Long March , The SIT-IN – 2009. (13)
    • Mobile OS wars: Symbian leads globally (13)

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

    Valid CSS! Valid XHTML 1.0 Transitional