Compassdesigns.net

Teaching - Web - Sailing

  • Home
  • Services

Hide Columns When Editing the Front End of Joomla

July 20, 2010 By barrie@compassdesigns.net Leave a Comment

Somewhere you will probably have a statment where the right column module output is processed.

<?php if ($this->countModules( 'right' ) 
&& JRequest::getCmd('task') != 'edit' ) : ?>
<div id="rightcol">
<jdoc:include type="modules" name="right" style="rounded" />
</div>
<?php endif; ?>

You can see with the addition of && JRequest::getCmd(‘task’) != ‘edit’ it will also check to see if an editor is running. If there is, the right column will not be shown and there will be more space for the editor (assuming the template has fluid center column)

 

Filed Under: Uncategorized

The Skinny

I am an entrepreneur, web consultant, author and educator.

I have been involved in starting a K-12 School District, a Private High School, and three web tech companies. I also wrote one of the original and best selling books on Joomla.

And I like sailing with kids.

Recent Posts

  • Teenager Invents New Type of Hunting Camo Suit
  • A Parent’s Guide to Proficiency Based Learning
  • Proficiency/Competency Based Learning in NGSS Classrooms
  • Hunting Camouflage Website Launched
  • Get More Email Newsletter Signups With These Easy Tips
  • Proficiency Based Learning Resources
  • Social Media Redux
  • How to turn off WordPress Comments if you use Disqus
  • The API was Yesterday. The Tomorrow is iPaaS
  • Left Hook Digital Named Zapier’s First Integration Developer Partner

Top Posts

  • Just another Blog Post by Louis Landry
  • How to set up a Joomla website for a School in under 30 seconds

Blogroll

See3D Camo

Blaze Orange Camo

Vermont CPR

Copyright © 2023 Compass Designs · Musings on Education, Life, Joomla and the Web by Barrie North