NYCPHP Meetup

NYPHP.org

[joomla] Hiding a column on frontpage

Paul Bouzakis nyphp at zooluserver.com
Sat Aug 21 11:30:05 EDT 2010


You should use $this->countModules('left') in template to conditionally 
render the div.

On 8/21/2010 11:10 AM, Helvécio da Silva wrote:
> Actually I'd live the <div id="left"> tag to dissappear entirely, when 
> there is no module assigned to it.
>
> 2010/8/21 Donna Marie Vincent <donnamarievincent at yahoo.com 
> <mailto:donnamarievincent at yahoo.com>>
>
>     As long as you don't have any modules published in that column for
>     that page, the column should collapse.  Unless you're using a very
>     old template that doesn't allow for collapsing module positions.
>
>     Go to Module Manager and see if there are any modules published to
>     "All" pages.  If there are not, filter the list by the name of the
>     left column (usually "left"), and open each one to make sure it's
>     not set to display on the home page.
>
>
>
>     ------------------------------------------------------------------------
>     *From:* Helvécio da Silva <helvecio.rj at gmail.com
>     <mailto:helvecio.rj at gmail.com>>
>     *To:* NYPHP SIG: Joomla <joomla at lists.nyphp.org
>     <mailto:joomla at lists.nyphp.org>>
>     *Sent:* Sat, August 21, 2010 10:45:40 AM
>     *Subject:* [joomla] Hiding a column on frontpage
>
>     I used to have a small tutorial on how to do this, but I lost it.
>
>     I have a 3-collumn layout and I want the left collumn to dissapear
>     entirely on the front page. The content collumn should flow to the
>     left and take the space left.
>
>     How can I do that? Help please!
>
>     Thanks in advance!
>
>     -- 
>     Helvecio "Elvis" da Silva
>     Rio de Janeiro - Brasil - helvecio.rj at gmail.com
>     <mailto:helvecio.rj at gmail.com>
>     http://www.helvecio.com - http://blog.helvecio.com
>
>
>     _______________________________________________
>     New York PHP SIG: Joomla! Mailing List
>     http://lists.nyphp.org/mailman/listinfo/joomla
>
>     NYPHPCon 2006 Presentations Online
>     http://www.nyphpcon.com
>
>     Show Your Participation in New York PHP
>     http://www.nyphp.org/show_participation.php
>
>
>
>
> -- 
> Helvecio "Elvis" da Silva
> Rio de Janeiro - Brasil - helvecio.rj at gmail.com 
> <mailto:helvecio.rj at gmail.com>
> http://www.helvecio.com - http://blog.helvecio.com
>
>
> _______________________________________________
> New York PHP SIG: Joomla! Mailing List
> http://lists.nyphp.org/mailman/listinfo/joomla
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/joomla/attachments/20100821/27c2a297/attachment.html>


More information about the Joomla mailing list