Fixed column-width when there is no portlet

6 messages Options
Embed this post
Permalink
Gerhard Hug () Fixed column-width when there is no portlet
Reply Threaded More More options
Print post
Permalink
Hi

Can anybody tell me. how i can  held a  fixed column-width, when there
is no portlet in the column.  I want to avoid that the content drifts to
the left when there is no portlet in the left column.

Thanks for an answer
Gerhard

_______________________________________________
UI mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/ui
Jean Jordaan () Re: Fixed column-width when there is no portlet
Reply Threaded More More options
Print post
Permalink
> Can anybody tell me. how i can  held a  fixed column-width, when there
> is no portlet in the column.

How about just making sure that there is always a placeholder portlet
in the column, and making it invisible using CSS?

--
jean                                              . .. .... //\\\oo///\\

_______________________________________________
UI mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/ui
Winn King () Re: Fixed column-width when there is no portlet
Reply Threaded More More options
Print post
Permalink
In reply to this post by Gerhard Hug
On Sat, 03 Oct 2009 11:38:52 +0200, redCOR AG Gerhard Hug wrote:

> Hi
>
> Can anybody tell me. how i can  held a  fixed column-width, when there
> is no portlet in the column.  I want to avoid that the content drifts to
> the left when there is no portlet in the left column.
>
> Thanks for an answer
> Gerhard

Try http://plone.org/products/placeholder-portlet/
Winn


_______________________________________________
UI mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/ui
vedaw () Re: Fixed column-width when there is no portlet
Reply Threaded More More options
Print post
Permalink
In reply to this post by Gerhard Hug
Maybe create an empty portlet with a height of about 5 pixels?


On 10/3/09 2:38 AM, "redCOR AG Gerhard Hug" <[hidden email]> wrote:

> Hi
>
> Can anybody tell me. how i can  held a  fixed column-width, when there
> is no portlet in the column.  I want to avoid that the content drifts to
> the left when there is no portlet in the left column.
>
> Thanks for an answer
> Gerhard
>
> _______________________________________________
> UI mailing list
> [hidden email]
> http://lists.plone.org/mailman/listinfo/ui


_______________________________________________
UI mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/ui
Shuens () Re: Fixed column-width when there is no portlet
Reply Threaded More More options
Print post
Permalink
In reply to this post by Gerhard Hug
On Sat, Oct 3, 2009 at 6:38 AM, redCOR AG Gerhard Hug <[hidden email]> wrote:

> Hi
>
> Can anybody tell me. how i can  held a  fixed column-width, when there
> is no portlet in the column.  I want to avoid that the content drifts to
> the left when there is no portlet in the left column.
>
> Thanks for an answer
> Gerhard
>
> _______________________________________________
> UI mailing list
> [hidden email]
> http://lists.plone.org/mailman/listinfo/ui
>

In the main_template.pt search for => " tal:condition="sl" " and
delete it... (sr for right column)
I'm assuming that you have a fixed width defined in your column.


ps: if you are curious about the magic behind,
CMFPlone/skins/plone_templates/global_defines.pt or
CMFPlone/browser/ploneview.py and search for "sl" or "sr"

regards...
Q.

--
www.menttes.com

_______________________________________________
UI mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/ui
Espen Moe-Nilssen () Re: Fixed column-width when there is no portlet
Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
I have made a pathetic product: medialog.placeholder that I use for this, add this to your buildout

eggs = medialog.placeholder
zcml = medialog.placeholder

Espen Moe-Nilssen
_______________________________________________

Author of Subskins III , build your own theme for Plone. Try it at:




Den 4. okt. 2009 kl. 01.58 skrev Shuens:

On Sat, Oct 3, 2009 at 6:38 AM, redCOR AG Gerhard Hug <[hidden email]> wrote:
Hi

Can anybody tell me. how i can  held a  fixed column-width, when there
is no portlet in the column.  I want to avoid that the content drifts to
the left when there is no portlet in the left column.

Thanks for an answer
Gerhard

_______________________________________________
UI mailing list


In the main_template.pt search for => " tal:condition="sl" " and
delete it... (sr for right column)
I'm assuming that you have a fixed width defined in your column.


ps: if you are curious about the magic behind,
CMFPlone/skins/plone_templates/global_defines.pt or
CMFPlone/browser/ploneview.py and search for "sl" or "sr"

regards...
Q.

-- 
www.menttes.com

_______________________________________________
UI mailing list


_______________________________________________
UI mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/ui