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 <donnamarievinc...@yahoo.com <mailto:donnamarievinc...@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...@gmail.com
    <mailto:helvecio...@gmail.com>>
    *To:* NYPHP SIG: Joomla <joomla@lists.nyphp.org
    <mailto:joomla@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...@gmail.com
    <mailto:helvecio...@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...@gmail.com <mailto:helvecio...@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
_______________________________________________
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

Reply via email to