Quickie right bar removal question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Quickie right bar removal question

Tim Ruppert
I have been able to turn things on and off and customize them quite
simply, but my most recent application requires totally removing the
right bar.  We are working on a current copy (within the last week) and
are customizing the ecommerce application.

I have completed modifications to a customized the CommonScreens.xml
file.  Commented out leftbar from each of the screens, including main
and the commonForumDecorator.

On the page, the left and right bar have been properly removed, but
there is still room left for them in the main ecom-mainarea .

What am I missing here?  Any help would be appreciated.

Cheers,
Tim

--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595


Reply | Threaded
Open this post in threaded view
|

Re: Quickie right bar removal question

Adrian Crum
Probably a CSS issue. Maybe the content area width is specified there.

Tim Ruppert wrote:

> I have been able to turn things on and off and customize them quite
> simply, but my most recent application requires totally removing the
> right bar.  We are working on a current copy (within the last week) and
> are customizing the ecommerce application.
>
> I have completed modifications to a customized the CommonScreens.xml
> file.  Commented out leftbar from each of the screens, including main
> and the commonForumDecorator.
>
> On the page, the left and right bar have been properly removed, but
> there is still room left for them in the main ecom-mainarea .
>
> What am I missing here?  Any help would be appreciated.
>
> Cheers,
> Tim
>

Reply | Threaded
Open this post in threaded view
|

Re: Quickie right bar removal question

Tim Ruppert
Yeah - the snippet looks like this:

<div id="ecom-mainarea">
  <div class="center">

    <div class="contenttext">
      <h3>Introduction</h3>

      <p>Just some text</p>

    </div>
  </div>
</div>

No mention of left or right anywhere.  Here's the associated CSS (adapted from the original ecommain.css):

#ecom-mainarea {
  position: relative;
  width: auto;
  height: auto;
}
#ecom-mainarea .center {
  background: #fff;
  text-align: left;
  margin-top: 10px;
  vertical-align: top;
}
#ecom-mainarea .center {
  padding: 30px;
  voice-family: inherit
}
.contenttext {
  color: #49422c;
  font-size: 11px;
  font-family: "Trebuchet MS";
  line-height: 2;
  text-decoration: none;
  letter-spacing: 1px
}

This is pretty straight forward stuff - this same css file works when we've built the same code outside of OFBiz - so I know must be just forgetting something.

Cheers,
Tim

--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595



Adrian Crum wrote:

> Probably a CSS issue. Maybe the content area width is specified there.
>
> Tim Ruppert wrote:
>> I have been able to turn things on and off and customize them quite
>> simply, but my most recent application requires totally removing the
>> right bar.  We are working on a current copy (within the last week)
>> and are customizing the ecommerce application.
>>
>> I have completed modifications to a customized the CommonScreens.xml
>> file.  Commented out leftbar from each of the screens, including main
>> and the commonForumDecorator.
>>
>> On the page, the left and right bar have been properly removed, but
>> there is still room left for them in the main ecom-mainarea .
>>
>> What am I missing here?  Any help would be appreciated.
>>
>> Cheers,
>> Tim
>>

Reply | Threaded
Open this post in threaded view
|

Re: Quickie right bar removal question

Si Chen-2
By any chance did you change these tags?

                 <set field="leftbarScreenName" value="leftbar"/>
                 <set field="rightbarScreenName" value="rightbar"/>
                 <set field="MainColumnStyle" value="center"/>



On Jun 23, 2006, at 4:03 PM, Tim Ruppert wrote:

> Yeah - the snippet looks like this:
>
> <div id="ecom-mainarea">
>  <div class="center">
>
>    <div class="contenttext">
>      <h3>Introduction</h3>
>
>      <p>Just some text</p>
>
>    </div>
>  </div>
> </div>
>
> No mention of left or right anywhere.  Here's the associated CSS  
> (adapted from the original ecommain.css):
>
> #ecom-mainarea {  position: relative;  width: auto;  height: auto; }
> #ecom-mainarea .center {  background: #fff;  text-align: left;  
> margin-top: 10px;  vertical-align: top; }
> #ecom-mainarea .center {  padding: 30px;  voice-family: inherit }
> .contenttext {  color: #49422c;  font-size: 11px;  font-family:  
> "Trebuchet MS";  line-height: 2;  text-decoration: none;  letter-
> spacing: 1px }
>
> This is pretty straight forward stuff - this same css file works  
> when we've built the same code outside of OFBiz - so I know must be  
> just forgetting something.
>
> Cheers,
> Tim
>
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
>
>
> Adrian Crum wrote:
>> Probably a CSS issue. Maybe the content area width is specified  
>> there.
>>
>> Tim Ruppert wrote:
>>> I have been able to turn things on and off and customize them  
>>> quite simply, but my most recent application requires totally  
>>> removing the right bar.  We are working on a current copy (within  
>>> the last week) and are customizing the ecommerce application.
>>>
>>> I have completed modifications to a customized the  
>>> CommonScreens.xml file.  Commented out leftbar from each of the  
>>> screens, including main and the commonForumDecorator.
>>>
>>> On the page, the left and right bar have been properly removed,  
>>> but there is still room left for them in the main ecom-mainarea .
>>>
>>> What am I missing here?  Any help would be appreciated.
>>>
>>> Cheers,
>>> Tim
>>>


Reply | Threaded
Open this post in threaded view
|

Re: Quickie right bar removal question

Tim Ruppert
Commented the left and rightbar .

Cheers,
Tim

--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595



Si Chen wrote:

> By any chance did you change these tags?
>
>                 <set field="leftbarScreenName" value="leftbar"/>
>                 <set field="rightbarScreenName" value="rightbar"/>
>                 <set field="MainColumnStyle" value="center"/>
>
>
>
> On Jun 23, 2006, at 4:03 PM, Tim Ruppert wrote:
>
>> Yeah - the snippet looks like this:
>>
>> <div id="ecom-mainarea">
>>  <div class="center">
>>
>>    <div class="contenttext">
>>      <h3>Introduction</h3>
>>
>>      <p>Just some text</p>
>>
>>    </div>
>>  </div>
>> </div>
>>
>> No mention of left or right anywhere.  Here's the associated CSS
>> (adapted from the original ecommain.css):
>>
>> #ecom-mainarea {  position: relative;  width: auto;  height: auto; }
>> #ecom-mainarea .center {  background: #fff;  text-align: left;  
>> margin-top: 10px;  vertical-align: top; }
>> #ecom-mainarea .center {  padding: 30px;  voice-family: inherit }
>> .contenttext {  color: #49422c;  font-size: 11px;  font-family:
>> "Trebuchet MS";  line-height: 2;  text-decoration: none;  
>> letter-spacing: 1px }
>>
>> This is pretty straight forward stuff - this same css file works when
>> we've built the same code outside of OFBiz - so I know must be just
>> forgetting something.
>>
>> Cheers,
>> Tim
>>
>> --
>> Tim Ruppert
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> o:801.649.6594
>> f:801.649.6595
>>
>>
>>
>> Adrian Crum wrote:
>>> Probably a CSS issue. Maybe the content area width is specified there.
>>>
>>> Tim Ruppert wrote:
>>>> I have been able to turn things on and off and customize them quite
>>>> simply, but my most recent application requires totally removing
>>>> the right bar.  We are working on a current copy (within the last
>>>> week) and are customizing the ecommerce application.
>>>>
>>>> I have completed modifications to a customized the
>>>> CommonScreens.xml file.  Commented out leftbar from each of the
>>>> screens, including main and the commonForumDecorator.
>>>>
>>>> On the page, the left and right bar have been properly removed, but
>>>> there is still room left for them in the main ecom-mainarea .
>>>>
>>>> What am I missing here?  Any help would be appreciated.
>>>>
>>>> Cheers,
>>>> Tim
>>>>

Reply | Threaded
Open this post in threaded view
|

Re: Quickie right bar removal question

Si Chen-2
What about your MainColumnStyle?

On Jun 23, 2006, at 4:24 PM, Tim Ruppert wrote:

> Commented the left and rightbar .
>
> Cheers,
> Tim
>
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
>
>
> Si Chen wrote:
>> By any chance did you change these tags?
>>
>>                 <set field="leftbarScreenName" value="leftbar"/>
>>                 <set field="rightbarScreenName" value="rightbar"/>
>>                 <set field="MainColumnStyle" value="center"/>
>>
>>
>>
>> On Jun 23, 2006, at 4:03 PM, Tim Ruppert wrote:
>>
>>> Yeah - the snippet looks like this:
>>>
>>> <div id="ecom-mainarea">
>>>  <div class="center">
>>>
>>>    <div class="contenttext">
>>>      <h3>Introduction</h3>
>>>
>>>      <p>Just some text</p>
>>>
>>>    </div>
>>>  </div>
>>> </div>
>>>
>>> No mention of left or right anywhere.  Here's the associated CSS  
>>> (adapted from the original ecommain.css):
>>>
>>> #ecom-mainarea {  position: relative;  width: auto;  height: auto; }
>>> #ecom-mainarea .center {  background: #fff;  text-align: left;  
>>> margin-top: 10px;  vertical-align: top; }
>>> #ecom-mainarea .center {  padding: 30px;  voice-family: inherit }
>>> .contenttext {  color: #49422c;  font-size: 11px;  font-family:  
>>> "Trebuchet MS";  line-height: 2;  text-decoration: none;  letter-
>>> spacing: 1px }
>>>
>>> This is pretty straight forward stuff - this same css file works  
>>> when we've built the same code outside of OFBiz - so I know must  
>>> be just forgetting something.
>>>
>>> Cheers,
>>> Tim
>>>
>>> --
>>> Tim Ruppert
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>>
>>> o:801.649.6594
>>> f:801.649.6595
>>>
>>>
>>>
>>> Adrian Crum wrote:
>>>> Probably a CSS issue. Maybe the content area width is specified  
>>>> there.
>>>>
>>>> Tim Ruppert wrote:
>>>>> I have been able to turn things on and off and customize them  
>>>>> quite simply, but my most recent application requires totally  
>>>>> removing the right bar.  We are working on a current copy  
>>>>> (within the last week) and are customizing the ecommerce  
>>>>> application.
>>>>>
>>>>> I have completed modifications to a customized the  
>>>>> CommonScreens.xml file.  Commented out leftbar from each of the  
>>>>> screens, including main and the commonForumDecorator.
>>>>>
>>>>> On the page, the left and right bar have been properly removed,  
>>>>> but there is still room left for them in the main ecom-mainarea .
>>>>>
>>>>> What am I missing here?  Any help would be appreciated.
>>>>>
>>>>> Cheers,
>>>>> Tim
>>>>>


Reply | Threaded
Open this post in threaded view
|

Re: Quickie right bar removal question

Tim Ruppert
MainColumnStyle I left - could that be causing the problem?

Cheers,
Tim

--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595



Si Chen wrote:

> What about your MainColumnStyle?
>
> On Jun 23, 2006, at 4:24 PM, Tim Ruppert wrote:
>
>> Commented the left and rightbar .
>>
>> Cheers,
>> Tim
>>
>> --
>> Tim Ruppert
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> o:801.649.6594
>> f:801.649.6595
>>
>>
>>
>> Si Chen wrote:
>>> By any chance did you change these tags?
>>>
>>>                 <set field="leftbarScreenName" value="leftbar"/>
>>>                 <set field="rightbarScreenName" value="rightbar"/>
>>>                 <set field="MainColumnStyle" value="center"/>
>>>
>>>
>>>
>>> On Jun 23, 2006, at 4:03 PM, Tim Ruppert wrote:
>>>
>>>> Yeah - the snippet looks like this:
>>>>
>>>> <div id="ecom-mainarea">
>>>>  <div class="center">
>>>>
>>>>    <div class="contenttext">
>>>>      <h3>Introduction</h3>
>>>>
>>>>      <p>Just some text</p>
>>>>
>>>>    </div>
>>>>  </div>
>>>> </div>
>>>>
>>>> No mention of left or right anywhere.  Here's the associated CSS
>>>> (adapted from the original ecommain.css):
>>>>
>>>> #ecom-mainarea {  position: relative;  width: auto;  height: auto; }
>>>> #ecom-mainarea .center {  background: #fff;  text-align: left;  
>>>> margin-top: 10px;  vertical-align: top; }
>>>> #ecom-mainarea .center {  padding: 30px;  voice-family: inherit }
>>>> .contenttext {  color: #49422c;  font-size: 11px;  font-family:
>>>> "Trebuchet MS";  line-height: 2;  text-decoration: none;  
>>>> letter-spacing: 1px }
>>>>
>>>> This is pretty straight forward stuff - this same css file works
>>>> when we've built the same code outside of OFBiz - so I know must be
>>>> just forgetting something.
>>>>
>>>> Cheers,
>>>> Tim
>>>>
>>>> --Tim Ruppert
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>>
>>>> o:801.649.6594
>>>> f:801.649.6595
>>>>
>>>>
>>>>
>>>> Adrian Crum wrote:
>>>>> Probably a CSS issue. Maybe the content area width is specified
>>>>> there.
>>>>>
>>>>> Tim Ruppert wrote:
>>>>>> I have been able to turn things on and off and customize them
>>>>>> quite simply, but my most recent application requires totally
>>>>>> removing the right bar.  We are working on a current copy (within
>>>>>> the last week) and are customizing the ecommerce application.
>>>>>>
>>>>>> I have completed modifications to a customized the
>>>>>> CommonScreens.xml file.  Commented out leftbar from each of the
>>>>>> screens, including main and the commonForumDecorator.
>>>>>>
>>>>>> On the page, the left and right bar have been properly removed,
>>>>>> but there is still room left for them in the main ecom-mainarea .
>>>>>>
>>>>>> What am I missing here?  Any help would be appreciated.
>>>>>>
>>>>>> Cheers,
>>>>>> Tim
>>>>>>

Reply | Threaded
Open this post in threaded view
|

Re: Quickie right bar removal question

Si Chen-2
Yes, let's see:

[si@localhost widget]$ grep MainColumnStyle *
CartScreens.xml:                <set field="MainColumnStyle"  
value="leftonly"/>
CartScreens.xml:                <set field="MainColumnStyle"  
value="leftonly"/>
CartScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
CatalogScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
CatalogScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
CatalogScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
CatalogScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
CatalogScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
CatalogScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
CatalogScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
CommonScreens.xml:                <set field="MainColumnStyle"  
value="nocolumns" global="true"/>
CommonScreens.xml:                    <container style="$
{MainColumnStyle}">
CommonScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
ContentScreens.xml:                <set field="MainColumnStyle"  
value="leftonly"/>
ContentScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
ContentScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
ContentScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
CustomerScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
CustomerScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
CustomerScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
CustomerScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
ForumScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
ForumScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
ForumScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
ForumScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
ForumScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
ForumScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
ForumScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
ForumScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
ForumScreens.xml:                <set field="MainColumnStyle"  
value="center"/>
OrderScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
OrderScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
OrderScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
OrderScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
OrderScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
OrderScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
OrderScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
OrderScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
OrderScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
OrderScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
OrderScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
QuoteScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
QuoteScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
RequestScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
RequestScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>
ShoppingListScreens.xml:                <set field="MainColumnStyle"  
value="rightonly"/>

Those seem to be the allowable values based on a grep from the  
ecommerce/widget.  You might want to change it and see what happens.

Si

On Jun 23, 2006, at 4:28 PM, Tim Ruppert wrote:

> MainColumnStyle I left - could that be causing the problem?
>
> Cheers,
> Tim
>
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
>
>
> Si Chen wrote:
>> What about your MainColumnStyle?
>>
>> On Jun 23, 2006, at 4:24 PM, Tim Ruppert wrote:
>>
>>> Commented the left and rightbar .
>>>
>>> Cheers,
>>> Tim
>>>
>>> --
>>> Tim Ruppert
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>>
>>> o:801.649.6594
>>> f:801.649.6595
>>>
>>>
>>>
>>> Si Chen wrote:
>>>> By any chance did you change these tags?
>>>>
>>>>                 <set field="leftbarScreenName" value="leftbar"/>
>>>>                 <set field="rightbarScreenName" value="rightbar"/>
>>>>                 <set field="MainColumnStyle" value="center"/>
>>>>
>>>>
>>>>
>>>> On Jun 23, 2006, at 4:03 PM, Tim Ruppert wrote:
>>>>
>>>>> Yeah - the snippet looks like this:
>>>>>
>>>>> <div id="ecom-mainarea">
>>>>>  <div class="center">
>>>>>
>>>>>    <div class="contenttext">
>>>>>      <h3>Introduction</h3>
>>>>>
>>>>>      <p>Just some text</p>
>>>>>
>>>>>    </div>
>>>>>  </div>
>>>>> </div>
>>>>>
>>>>> No mention of left or right anywhere.  Here's the associated  
>>>>> CSS (adapted from the original ecommain.css):
>>>>>
>>>>> #ecom-mainarea {  position: relative;  width: auto;  height:  
>>>>> auto; }
>>>>> #ecom-mainarea .center {  background: #fff;  text-align: left;  
>>>>> margin-top: 10px;  vertical-align: top; }
>>>>> #ecom-mainarea .center {  padding: 30px;  voice-family: inherit }
>>>>> .contenttext {  color: #49422c;  font-size: 11px;  font-family:  
>>>>> "Trebuchet MS";  line-height: 2;  text-decoration: none;  
>>>>> letter-spacing: 1px }
>>>>>
>>>>> This is pretty straight forward stuff - this same css file  
>>>>> works when we've built the same code outside of OFBiz - so I  
>>>>> know must be just forgetting something.
>>>>>
>>>>> Cheers,
>>>>> Tim
>>>>>
>>>>> --Tim Ruppert
>>>>> HotWax Media
>>>>> http://www.hotwaxmedia.com
>>>>>
>>>>> o:801.649.6594
>>>>> f:801.649.6595
>>>>>
>>>>>
>>>>>
>>>>> Adrian Crum wrote:
>>>>>> Probably a CSS issue. Maybe the content area width is  
>>>>>> specified there.
>>>>>>
>>>>>> Tim Ruppert wrote:
>>>>>>> I have been able to turn things on and off and customize them  
>>>>>>> quite simply, but my most recent application requires totally  
>>>>>>> removing the right bar.  We are working on a current copy  
>>>>>>> (within the last week) and are customizing the ecommerce  
>>>>>>> application.
>>>>>>>
>>>>>>> I have completed modifications to a customized the  
>>>>>>> CommonScreens.xml file.  Commented out leftbar from each of  
>>>>>>> the screens, including main and the commonForumDecorator.
>>>>>>>
>>>>>>> On the page, the left and right bar have been properly  
>>>>>>> removed, but there is still room left for them in the main  
>>>>>>> ecom-mainarea .
>>>>>>>
>>>>>>> What am I missing here?  Any help would be appreciated.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Tim
>>>>>>>


Reply | Threaded
Open this post in threaded view
|

Re: Quickie right bar removal question

Tim Ruppert
Thanks a bunch, Si.  I'll let you know how it turns out.

Cheers,
Tim

--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595

Si Chen wrote:

> Yes, let's see:
>
> [si@localhost widget]$ grep MainColumnStyle *
> CartScreens.xml:                <set field="MainColumnStyle"
> value="leftonly"/>
> CartScreens.xml:                <set field="MainColumnStyle"
> value="leftonly"/>
> CartScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CatalogScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CatalogScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CatalogScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CatalogScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CatalogScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CatalogScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CatalogScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CommonScreens.xml:                <set field="MainColumnStyle"
> value="nocolumns" global="true"/>
> CommonScreens.xml:                    <container
> style="${MainColumnStyle}">
> CommonScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ContentScreens.xml:                <set field="MainColumnStyle"
> value="leftonly"/>
> ContentScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ContentScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ContentScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CustomerScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CustomerScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CustomerScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CustomerScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> QuoteScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> QuoteScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> RequestScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> RequestScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> ShoppingListScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
>
> Those seem to be the allowable values based on a grep from the
> ecommerce/widget.  You might want to change it and see what happens.
>
> Si
>
> On Jun 23, 2006, at 4:28 PM, Tim Ruppert wrote:
>
>> MainColumnStyle I left - could that be causing the problem?
>>
>> Cheers,
>> Tim
>>
>> --
>> Tim Ruppert
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> o:801.649.6594
>> f:801.649.6595
>>
>>
>>
>> Si Chen wrote:
>>> What about your MainColumnStyle?
>>>
>>> On Jun 23, 2006, at 4:24 PM, Tim Ruppert wrote:
>>>
>>>> Commented the left and rightbar .
>>>>
>>>> Cheers,
>>>> Tim
>>>>
>>>> --Tim Ruppert
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>>
>>>> o:801.649.6594
>>>> f:801.649.6595
>>>>
>>>>
>>>>
>>>> Si Chen wrote:
>>>>> By any chance did you change these tags?
>>>>>
>>>>>                 <set field="leftbarScreenName" value="leftbar"/>
>>>>>                 <set field="rightbarScreenName" value="rightbar"/>
>>>>>                 <set field="MainColumnStyle" value="center"/>
>>>>>
>>>>>
>>>>>
>>>>> On Jun 23, 2006, at 4:03 PM, Tim Ruppert wrote:
>>>>>
>>>>>> Yeah - the snippet looks like this:
>>>>>>
>>>>>> <div id="ecom-mainarea">
>>>>>>  <div class="center">
>>>>>>
>>>>>>    <div class="contenttext">
>>>>>>      <h3>Introduction</h3>
>>>>>>
>>>>>>      <p>Just some text</p>
>>>>>>
>>>>>>    </div>
>>>>>>  </div>
>>>>>> </div>
>>>>>>
>>>>>> No mention of left or right anywhere.  Here's the associated CSS
>>>>>> (adapted from the original ecommain.css):
>>>>>>
>>>>>> #ecom-mainarea {  position: relative;  width: auto;  height: auto; }
>>>>>> #ecom-mainarea .center {  background: #fff;  text-align: left;  
>>>>>> margin-top: 10px;  vertical-align: top; }
>>>>>> #ecom-mainarea .center {  padding: 30px;  voice-family: inherit }
>>>>>> .contenttext {  color: #49422c;  font-size: 11px;  font-family:
>>>>>> "Trebuchet MS";  line-height: 2;  text-decoration: none;  
>>>>>> letter-spacing: 1px }
>>>>>>
>>>>>> This is pretty straight forward stuff - this same css file works
>>>>>> when we've built the same code outside of OFBiz - so I know must
>>>>>> be just forgetting something.
>>>>>>
>>>>>> Cheers,
>>>>>> Tim
>>>>>>
>>>>>> --Tim Ruppert
>>>>>> HotWax Media
>>>>>> http://www.hotwaxmedia.com
>>>>>>
>>>>>> o:801.649.6594
>>>>>> f:801.649.6595
>>>>>>
>>>>>>
>>>>>>
>>>>>> Adrian Crum wrote:
>>>>>>> Probably a CSS issue. Maybe the content area width is specified
>>>>>>> there.
>>>>>>>
>>>>>>> Tim Ruppert wrote:
>>>>>>>> I have been able to turn things on and off and customize them
>>>>>>>> quite simply, but my most recent application requires totally
>>>>>>>> removing the right bar.  We are working on a current copy
>>>>>>>> (within the last week) and are customizing the ecommerce
>>>>>>>> application.
>>>>>>>>
>>>>>>>> I have completed modifications to a customized the
>>>>>>>> CommonScreens.xml file.  Commented out leftbar from each of the
>>>>>>>> screens, including main and the commonForumDecorator.
>>>>>>>>
>>>>>>>> On the page, the left and right bar have been properly removed,
>>>>>>>> but there is still room left for them in the main ecom-mainarea .
>>>>>>>>
>>>>>>>> What am I missing here?  Any help would be appreciated.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Tim
>>>>>>>>

Reply | Threaded
Open this post in threaded view
|

Re: Quickie right bar removal question

Ruth Hoffman
In reply to this post by Tim Ruppert
Hi Tim:
I think you want MainColumnStyle to be "nocolumns",  for example in your
decorator screen.  And then you can reset for each individual screen or
just leave the right/left column definitions out, if you want a full screen.

I've done this several times, several different ways and it is a little
confusing since these can be set in many places.
Ruth

Tim Ruppert wrote:

> MainColumnStyle I left - could that be causing the problem?
>
> Cheers,
> Tim
>
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
>
>
> Si Chen wrote:
>
>> What about your MainColumnStyle?
>>
>> On Jun 23, 2006, at 4:24 PM, Tim Ruppert wrote:
>>
>>> Commented the left and rightbar .
>>>
>>> Cheers,
>>> Tim
>>>
>>> --
>>> Tim Ruppert
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>>
>>> o:801.649.6594
>>> f:801.649.6595
>>>
>>>
>>>
>>> Si Chen wrote:
>>>
>>>> By any chance did you change these tags?
>>>>
>>>>                 <set field="leftbarScreenName" value="leftbar"/>
>>>>                 <set field="rightbarScreenName" value="rightbar"/>
>>>>                 <set field="MainColumnStyle" value="center"/>
>>>>
>>>>
>>>>
>>>> On Jun 23, 2006, at 4:03 PM, Tim Ruppert wrote:
>>>>
>>>>> Yeah - the snippet looks like this:
>>>>>
>>>>> <div id="ecom-mainarea">
>>>>>  <div class="center">
>>>>>
>>>>>    <div class="contenttext">
>>>>>      <h3>Introduction</h3>
>>>>>
>>>>>      <p>Just some text</p>
>>>>>
>>>>>    </div>
>>>>>  </div>
>>>>> </div>
>>>>>
>>>>> No mention of left or right anywhere.  Here's the associated CSS
>>>>> (adapted from the original ecommain.css):
>>>>>
>>>>> #ecom-mainarea {  position: relative;  width: auto;  height: auto; }
>>>>> #ecom-mainarea .center {  background: #fff;  text-align: left;  
>>>>> margin-top: 10px;  vertical-align: top; }
>>>>> #ecom-mainarea .center {  padding: 30px;  voice-family: inherit }
>>>>> .contenttext {  color: #49422c;  font-size: 11px;  font-family:
>>>>> "Trebuchet MS";  line-height: 2;  text-decoration: none;  
>>>>> letter-spacing: 1px }
>>>>>
>>>>> This is pretty straight forward stuff - this same css file works
>>>>> when we've built the same code outside of OFBiz - so I know must
>>>>> be just forgetting something.
>>>>>
>>>>> Cheers,
>>>>> Tim
>>>>>
>>>>> --Tim Ruppert
>>>>> HotWax Media
>>>>> http://www.hotwaxmedia.com
>>>>>
>>>>> o:801.649.6594
>>>>> f:801.649.6595
>>>>>
>>>>>
>>>>>
>>>>> Adrian Crum wrote:
>>>>>
>>>>>> Probably a CSS issue. Maybe the content area width is specified
>>>>>> there.
>>>>>>
>>>>>> Tim Ruppert wrote:
>>>>>>
>>>>>>> I have been able to turn things on and off and customize them
>>>>>>> quite simply, but my most recent application requires totally
>>>>>>> removing the right bar.  We are working on a current copy
>>>>>>> (within the last week) and are customizing the ecommerce
>>>>>>> application.
>>>>>>>
>>>>>>> I have completed modifications to a customized the
>>>>>>> CommonScreens.xml file.  Commented out leftbar from each of the
>>>>>>> screens, including main and the commonForumDecorator.
>>>>>>>
>>>>>>> On the page, the left and right bar have been properly removed,
>>>>>>> but there is still room left for them in the main ecom-mainarea .
>>>>>>>
>>>>>>> What am I missing here?  Any help would be appreciated.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Tim
>>>>>>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Quickie right bar removal question

Tim Ruppert
Thanks Ruth - that's some great insight.  I'll give that a try as well.

Cheers,
Tim

PS btw - we start up with Sue next week - thanks again.

--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595



Ruth Hoffman wrote:

> Hi Tim:
> I think you want MainColumnStyle to be "nocolumns",  for example in
> your decorator screen.  And then you can reset for each individual
> screen or just leave the right/left column definitions out, if you
> want a full screen.
>
> I've done this several times, several different ways and it is a
> little confusing since these can be set in many places.
> Ruth
>
> Tim Ruppert wrote:
>
>> MainColumnStyle I left - could that be causing the problem?
>>
>> Cheers,
>> Tim
>>
>> --
>> Tim Ruppert
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> o:801.649.6594
>> f:801.649.6595
>>
>>
>>
>> Si Chen wrote:
>>
>>> What about your MainColumnStyle?
>>>
>>> On Jun 23, 2006, at 4:24 PM, Tim Ruppert wrote:
>>>
>>>> Commented the left and rightbar .
>>>>
>>>> Cheers,
>>>> Tim
>>>>
>>>> --
>>>> Tim Ruppert
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>>
>>>> o:801.649.6594
>>>> f:801.649.6595
>>>>
>>>>
>>>>
>>>> Si Chen wrote:
>>>>
>>>>> By any chance did you change these tags?
>>>>>
>>>>>                 <set field="leftbarScreenName" value="leftbar"/>
>>>>>                 <set field="rightbarScreenName" value="rightbar"/>
>>>>>                 <set field="MainColumnStyle" value="center"/>
>>>>>
>>>>>
>>>>>
>>>>> On Jun 23, 2006, at 4:03 PM, Tim Ruppert wrote:
>>>>>
>>>>>> Yeah - the snippet looks like this:
>>>>>>
>>>>>> <div id="ecom-mainarea">
>>>>>>  <div class="center">
>>>>>>
>>>>>>    <div class="contenttext">
>>>>>>      <h3>Introduction</h3>
>>>>>>
>>>>>>      <p>Just some text</p>
>>>>>>
>>>>>>    </div>
>>>>>>  </div>
>>>>>> </div>
>>>>>>
>>>>>> No mention of left or right anywhere.  Here's the associated CSS
>>>>>> (adapted from the original ecommain.css):
>>>>>>
>>>>>> #ecom-mainarea {  position: relative;  width: auto;  height: auto; }
>>>>>> #ecom-mainarea .center {  background: #fff;  text-align: left;  
>>>>>> margin-top: 10px;  vertical-align: top; }
>>>>>> #ecom-mainarea .center {  padding: 30px;  voice-family: inherit }
>>>>>> .contenttext {  color: #49422c;  font-size: 11px;  font-family:
>>>>>> "Trebuchet MS";  line-height: 2;  text-decoration: none;  
>>>>>> letter-spacing: 1px }
>>>>>>
>>>>>> This is pretty straight forward stuff - this same css file works
>>>>>> when we've built the same code outside of OFBiz - so I know must
>>>>>> be just forgetting something.
>>>>>>
>>>>>> Cheers,
>>>>>> Tim
>>>>>>
>>>>>> --Tim Ruppert
>>>>>> HotWax Media
>>>>>> http://www.hotwaxmedia.com
>>>>>>
>>>>>> o:801.649.6594
>>>>>> f:801.649.6595
>>>>>>
>>>>>>
>>>>>>
>>>>>> Adrian Crum wrote:
>>>>>>
>>>>>>> Probably a CSS issue. Maybe the content area width is specified
>>>>>>> there.
>>>>>>>
>>>>>>> Tim Ruppert wrote:
>>>>>>>
>>>>>>>> I have been able to turn things on and off and customize them
>>>>>>>> quite simply, but my most recent application requires totally
>>>>>>>> removing the right bar.  We are working on a current copy
>>>>>>>> (within the last week) and are customizing the ecommerce
>>>>>>>> application.
>>>>>>>>
>>>>>>>> I have completed modifications to a customized the
>>>>>>>> CommonScreens.xml file.  Commented out leftbar from each of the
>>>>>>>> screens, including main and the commonForumDecorator.
>>>>>>>>
>>>>>>>> On the page, the left and right bar have been properly removed,
>>>>>>>> but there is still room left for them in the main ecom-mainarea .
>>>>>>>>
>>>>>>>> What am I missing here?  Any help would be appreciated.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Tim
>>>>>>>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: Quickie right bar removal question

Tim Ruppert
In reply to this post by Si Chen-2
I got it fixed up - it turned about being a strange older piece of css
that was in a file that I didn't realize that was introduced - but most
of the major components were being overridden by my file.

Thanks to Si, Ruth and Adrian for their quick responses.

Cheers,
Tim

--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595

Si Chen wrote:

> Yes, let's see:
>
> [si@localhost widget]$ grep MainColumnStyle *
> CartScreens.xml:                <set field="MainColumnStyle"
> value="leftonly"/>
> CartScreens.xml:                <set field="MainColumnStyle"
> value="leftonly"/>
> CartScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CatalogScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CatalogScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CatalogScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CatalogScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CatalogScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CatalogScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CatalogScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CommonScreens.xml:                <set field="MainColumnStyle"
> value="nocolumns" global="true"/>
> CommonScreens.xml:                    <container
> style="${MainColumnStyle}">
> CommonScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ContentScreens.xml:                <set field="MainColumnStyle"
> value="leftonly"/>
> ContentScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ContentScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ContentScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CustomerScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CustomerScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CustomerScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> CustomerScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> ForumScreens.xml:                <set field="MainColumnStyle"
> value="center"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> OrderScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> QuoteScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> QuoteScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> RequestScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> RequestScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
> ShoppingListScreens.xml:                <set field="MainColumnStyle"
> value="rightonly"/>
>
> Those seem to be the allowable values based on a grep from the
> ecommerce/widget.  You might want to change it and see what happens.
>
> Si
>
> On Jun 23, 2006, at 4:28 PM, Tim Ruppert wrote:
>
>> MainColumnStyle I left - could that be causing the problem?
>>
>> Cheers,
>> Tim
>>
>> --
>> Tim Ruppert
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> o:801.649.6594
>> f:801.649.6595
>>
>>
>>
>> Si Chen wrote:
>>> What about your MainColumnStyle?
>>>
>>> On Jun 23, 2006, at 4:24 PM, Tim Ruppert wrote:
>>>
>>>> Commented the left and rightbar .
>>>>
>>>> Cheers,
>>>> Tim
>>>>
>>>> --Tim Ruppert
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>>
>>>> o:801.649.6594
>>>> f:801.649.6595
>>>>
>>>>
>>>>
>>>> Si Chen wrote:
>>>>> By any chance did you change these tags?
>>>>>
>>>>>                 <set field="leftbarScreenName" value="leftbar"/>
>>>>>                 <set field="rightbarScreenName" value="rightbar"/>
>>>>>                 <set field="MainColumnStyle" value="center"/>
>>>>>
>>>>>
>>>>>
>>>>> On Jun 23, 2006, at 4:03 PM, Tim Ruppert wrote:
>>>>>
>>>>>> Yeah - the snippet looks like this:
>>>>>>
>>>>>> <div id="ecom-mainarea">
>>>>>>  <div class="center">
>>>>>>
>>>>>>    <div class="contenttext">
>>>>>>      <h3>Introduction</h3>
>>>>>>
>>>>>>      <p>Just some text</p>
>>>>>>
>>>>>>    </div>
>>>>>>  </div>
>>>>>> </div>
>>>>>>
>>>>>> No mention of left or right anywhere.  Here's the associated CSS
>>>>>> (adapted from the original ecommain.css):
>>>>>>
>>>>>> #ecom-mainarea {  position: relative;  width: auto;  height: auto; }
>>>>>> #ecom-mainarea .center {  background: #fff;  text-align: left;  
>>>>>> margin-top: 10px;  vertical-align: top; }
>>>>>> #ecom-mainarea .center {  padding: 30px;  voice-family: inherit }
>>>>>> .contenttext {  color: #49422c;  font-size: 11px;  font-family:
>>>>>> "Trebuchet MS";  line-height: 2;  text-decoration: none;  
>>>>>> letter-spacing: 1px }
>>>>>>
>>>>>> This is pretty straight forward stuff - this same css file works
>>>>>> when we've built the same code outside of OFBiz - so I know must
>>>>>> be just forgetting something.
>>>>>>
>>>>>> Cheers,
>>>>>> Tim
>>>>>>
>>>>>> --Tim Ruppert
>>>>>> HotWax Media
>>>>>> http://www.hotwaxmedia.com
>>>>>>
>>>>>> o:801.649.6594
>>>>>> f:801.649.6595
>>>>>>
>>>>>>
>>>>>>
>>>>>> Adrian Crum wrote:
>>>>>>> Probably a CSS issue. Maybe the content area width is specified
>>>>>>> there.
>>>>>>>
>>>>>>> Tim Ruppert wrote:
>>>>>>>> I have been able to turn things on and off and customize them
>>>>>>>> quite simply, but my most recent application requires totally
>>>>>>>> removing the right bar.  We are working on a current copy
>>>>>>>> (within the last week) and are customizing the ecommerce
>>>>>>>> application.
>>>>>>>>
>>>>>>>> I have completed modifications to a customized the
>>>>>>>> CommonScreens.xml file.  Commented out leftbar from each of the
>>>>>>>> screens, including main and the commonForumDecorator.
>>>>>>>>
>>>>>>>> On the page, the left and right bar have been properly removed,
>>>>>>>> but there is still room left for them in the main ecom-mainarea .
>>>>>>>>
>>>>>>>> What am I missing here?  Any help would be appreciated.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Tim
>>>>>>>>

Reply | Threaded
Open this post in threaded view
|

Re: Quickie right bar removal question

Ruth Hoffman
In reply to this post by Tim Ruppert
Tim:
I'm pretty sure this is how I set this up:

In your decorator screen:

<set field="MainColumnStyle" value="nocolumns" global="true"/>

<container id="ecom-mainarea">
                    <!-- by default will render left-bar only if
left/rightbarScreenName value not empty -->
                    <include-screen name="${leftbarScreenName}"
location="${leftbarScreenLocation}"/>
                    <include-screen name="${rightbarScreenName}"
location="${rightbarScreenLocation}"/>
               
                    <container style="${MainColumnStyle}">
                        <!-- render messages -->
                        <platform-specific><html><html-template
location="component://common/webcommon/includes/messages.ftl"/></html></platform-specific>
                        <decorator-section-include name="body"/>
                    </container>
                   
                    <container style="endcolumns"/>

And then in your main screen, leave out or comment out the column settings
<actions>
               <!--  <set field="leftbarScreenName" value="leftbar"/> -->
               <!--  <set field="rightbarScreenName" value="rightbar"/> -->

I think the MainColumnStyle gets overridden by the setting in the
decorator screen.

Ruth

Tim Ruppert wrote:

> Thanks Ruth - that's some great insight.  I'll give that a try as well.
>
> Cheers,
> Tim
>
> PS btw - we start up with Sue next week - thanks again.
>
> --
> Tim Ruppert
> HotWax Media
> http://www.hotwaxmedia.com
>
> o:801.649.6594
> f:801.649.6595
>
>
>
> Ruth Hoffman wrote:
>
>> Hi Tim:
>> I think you want MainColumnStyle to be "nocolumns",  for example in
>> your decorator screen.  And then you can reset for each individual
>> screen or just leave the right/left column definitions out, if you
>> want a full screen.
>>
>> I've done this several times, several different ways and it is a
>> little confusing since these can be set in many places.
>> Ruth
>>
>> Tim Ruppert wrote:
>>
>>> MainColumnStyle I left - could that be causing the problem?
>>>
>>> Cheers,
>>> Tim
>>>
>>> --
>>> Tim Ruppert
>>> HotWax Media
>>> http://www.hotwaxmedia.com
>>>
>>> o:801.649.6594
>>> f:801.649.6595
>>>
>>>
>>>
>>> Si Chen wrote:
>>>
>>>> What about your MainColumnStyle?
>>>>
>>>> On Jun 23, 2006, at 4:24 PM, Tim Ruppert wrote:
>>>>
>>>>> Commented the left and rightbar .
>>>>>
>>>>> Cheers,
>>>>> Tim
>>>>>
>>>>> --
>>>>> Tim Ruppert
>>>>> HotWax Media
>>>>> http://www.hotwaxmedia.com
>>>>>
>>>>> o:801.649.6594
>>>>> f:801.649.6595
>>>>>
>>>>>
>>>>>
>>>>> Si Chen wrote:
>>>>>
>>>>>> By any chance did you change these tags?
>>>>>>
>>>>>>                 <set field="leftbarScreenName" value="leftbar"/>
>>>>>>                 <set field="rightbarScreenName" value="rightbar"/>
>>>>>>                 <set field="MainColumnStyle" value="center"/>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Jun 23, 2006, at 4:03 PM, Tim Ruppert wrote:
>>>>>>
>>>>>>> Yeah - the snippet looks like this:
>>>>>>>
>>>>>>> <div id="ecom-mainarea">
>>>>>>>  <div class="center">
>>>>>>>
>>>>>>>    <div class="contenttext">
>>>>>>>      <h3>Introduction</h3>
>>>>>>>
>>>>>>>      <p>Just some text</p>
>>>>>>>
>>>>>>>    </div>
>>>>>>>  </div>
>>>>>>> </div>
>>>>>>>
>>>>>>> No mention of left or right anywhere.  Here's the associated CSS
>>>>>>> (adapted from the original ecommain.css):
>>>>>>>
>>>>>>> #ecom-mainarea {  position: relative;  width: auto;  height:
>>>>>>> auto; }
>>>>>>> #ecom-mainarea .center {  background: #fff;  text-align: left;  
>>>>>>> margin-top: 10px;  vertical-align: top; }
>>>>>>> #ecom-mainarea .center {  padding: 30px;  voice-family: inherit }
>>>>>>> .contenttext {  color: #49422c;  font-size: 11px;  font-family:
>>>>>>> "Trebuchet MS";  line-height: 2;  text-decoration: none;  
>>>>>>> letter-spacing: 1px }
>>>>>>>
>>>>>>> This is pretty straight forward stuff - this same css file works
>>>>>>> when we've built the same code outside of OFBiz - so I know must
>>>>>>> be just forgetting something.
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Tim
>>>>>>>
>>>>>>> --Tim Ruppert
>>>>>>> HotWax Media
>>>>>>> http://www.hotwaxmedia.com
>>>>>>>
>>>>>>> o:801.649.6594
>>>>>>> f:801.649.6595
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Adrian Crum wrote:
>>>>>>>
>>>>>>>> Probably a CSS issue. Maybe the content area width is specified
>>>>>>>> there.
>>>>>>>>
>>>>>>>> Tim Ruppert wrote:
>>>>>>>>
>>>>>>>>> I have been able to turn things on and off and customize them
>>>>>>>>> quite simply, but my most recent application requires totally
>>>>>>>>> removing the right bar.  We are working on a current copy
>>>>>>>>> (within the last week) and are customizing the ecommerce
>>>>>>>>> application.
>>>>>>>>>
>>>>>>>>> I have completed modifications to a customized the
>>>>>>>>> CommonScreens.xml file.  Commented out leftbar from each of
>>>>>>>>> the screens, including main and the commonForumDecorator.
>>>>>>>>>
>>>>>>>>> On the page, the left and right bar have been properly
>>>>>>>>> removed, but there is still room left for them in the main
>>>>>>>>> ecom-mainarea .
>>>>>>>>>
>>>>>>>>> What am I missing here?  Any help would be appreciated.
>>>>>>>>>
>>>>>>>>> Cheers,
>>>>>>>>> Tim
>>>>>>>>>
>>>
>

Reply | Threaded
Open this post in threaded view
|

Re: Quickie right bar removal question

Tim Ruppert
Thanks again Ruth - much appreciated.

Cheers,
Tim

--
Tim Ruppert
HotWax Media
http://www.hotwaxmedia.com

o:801.649.6594
f:801.649.6595



Ruth Hoffman wrote:

> Tim:
> I'm pretty sure this is how I set this up:
>
> In your decorator screen:
>
> <set field="MainColumnStyle" value="nocolumns" global="true"/>
>
> <container id="ecom-mainarea">
>                    <!-- by default will render left-bar only if
> left/rightbarScreenName value not empty -->
>                    <include-screen name="${leftbarScreenName}"
> location="${leftbarScreenLocation}"/>
>                    <include-screen name="${rightbarScreenName}"
> location="${rightbarScreenLocation}"/>
>                                  <container style="${MainColumnStyle}">
>                        <!-- render messages -->
>                        <platform-specific><html><html-template
> location="component://common/webcommon/includes/messages.ftl"/></html></platform-specific>
>
>                        <decorator-section-include name="body"/>
>                    </container>
>                                      <container style="endcolumns"/>
>
> And then in your main screen, leave out or comment out the column
> settings
> <actions>
>               <!--  <set field="leftbarScreenName" value="leftbar"/> -->
>               <!--  <set field="rightbarScreenName" value="rightbar"/>
> -->
>
> I think the MainColumnStyle gets overridden by the setting in the
> decorator screen.
>
> Ruth
>
> Tim Ruppert wrote:
>
>> Thanks Ruth - that's some great insight.  I'll give that a try as well.
>>
>> Cheers,
>> Tim
>>
>> PS btw - we start up with Sue next week - thanks again.
>>
>> --
>> Tim Ruppert
>> HotWax Media
>> http://www.hotwaxmedia.com
>>
>> o:801.649.6594
>> f:801.649.6595
>>
>>
>>
>> Ruth Hoffman wrote:
>>
>>> Hi Tim:
>>> I think you want MainColumnStyle to be "nocolumns",  for example in
>>> your decorator screen.  And then you can reset for each individual
>>> screen or just leave the right/left column definitions out, if you
>>> want a full screen.
>>>
>>> I've done this several times, several different ways and it is a
>>> little confusing since these can be set in many places.
>>> Ruth
>>>
>>> Tim Ruppert wrote:
>>>
>>>> MainColumnStyle I left - could that be causing the problem?
>>>>
>>>> Cheers,
>>>> Tim
>>>>
>>>> --
>>>> Tim Ruppert
>>>> HotWax Media
>>>> http://www.hotwaxmedia.com
>>>>
>>>> o:801.649.6594
>>>> f:801.649.6595
>>>>
>>>>
>>>>
>>>> Si Chen wrote:
>>>>
>>>>> What about your MainColumnStyle?
>>>>>
>>>>> On Jun 23, 2006, at 4:24 PM, Tim Ruppert wrote:
>>>>>
>>>>>> Commented the left and rightbar .
>>>>>>
>>>>>> Cheers,
>>>>>> Tim
>>>>>>
>>>>>> --
>>>>>> Tim Ruppert
>>>>>> HotWax Media
>>>>>> http://www.hotwaxmedia.com
>>>>>>
>>>>>> o:801.649.6594
>>>>>> f:801.649.6595
>>>>>>
>>>>>>
>>>>>>
>>>>>> Si Chen wrote:
>>>>>>
>>>>>>> By any chance did you change these tags?
>>>>>>>
>>>>>>>                 <set field="leftbarScreenName" value="leftbar"/>
>>>>>>>                 <set field="rightbarScreenName" value="rightbar"/>
>>>>>>>                 <set field="MainColumnStyle" value="center"/>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Jun 23, 2006, at 4:03 PM, Tim Ruppert wrote:
>>>>>>>
>>>>>>>> Yeah - the snippet looks like this:
>>>>>>>>
>>>>>>>> <div id="ecom-mainarea">
>>>>>>>>  <div class="center">
>>>>>>>>
>>>>>>>>    <div class="contenttext">
>>>>>>>>      <h3>Introduction</h3>
>>>>>>>>
>>>>>>>>      <p>Just some text</p>
>>>>>>>>
>>>>>>>>    </div>
>>>>>>>>  </div>
>>>>>>>> </div>
>>>>>>>>
>>>>>>>> No mention of left or right anywhere.  Here's the associated
>>>>>>>> CSS (adapted from the original ecommain.css):
>>>>>>>>
>>>>>>>> #ecom-mainarea {  position: relative;  width: auto;  height:
>>>>>>>> auto; }
>>>>>>>> #ecom-mainarea .center {  background: #fff;  text-align: left;  
>>>>>>>> margin-top: 10px;  vertical-align: top; }
>>>>>>>> #ecom-mainarea .center {  padding: 30px;  voice-family: inherit }
>>>>>>>> .contenttext {  color: #49422c;  font-size: 11px;  font-family:
>>>>>>>> "Trebuchet MS";  line-height: 2;  text-decoration: none;  
>>>>>>>> letter-spacing: 1px }
>>>>>>>>
>>>>>>>> This is pretty straight forward stuff - this same css file
>>>>>>>> works when we've built the same code outside of OFBiz - so I
>>>>>>>> know must be just forgetting something.
>>>>>>>>
>>>>>>>> Cheers,
>>>>>>>> Tim
>>>>>>>>
>>>>>>>> --Tim Ruppert
>>>>>>>> HotWax Media
>>>>>>>> http://www.hotwaxmedia.com
>>>>>>>>
>>>>>>>> o:801.649.6594
>>>>>>>> f:801.649.6595
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Adrian Crum wrote:
>>>>>>>>
>>>>>>>>> Probably a CSS issue. Maybe the content area width is
>>>>>>>>> specified there.
>>>>>>>>>
>>>>>>>>> Tim Ruppert wrote:
>>>>>>>>>
>>>>>>>>>> I have been able to turn things on and off and customize them
>>>>>>>>>> quite simply, but my most recent application requires totally
>>>>>>>>>> removing the right bar.  We are working on a current copy
>>>>>>>>>> (within the last week) and are customizing the ecommerce
>>>>>>>>>> application.
>>>>>>>>>>
>>>>>>>>>> I have completed modifications to a customized the
>>>>>>>>>> CommonScreens.xml file.  Commented out leftbar from each of
>>>>>>>>>> the screens, including main and the commonForumDecorator.
>>>>>>>>>>
>>>>>>>>>> On the page, the left and right bar have been properly
>>>>>>>>>> removed, but there is still room left for them in the main
>>>>>>>>>> ecom-mainarea .
>>>>>>>>>>
>>>>>>>>>> What am I missing here?  Any help would be appreciated.
>>>>>>>>>>
>>>>>>>>>> Cheers,
>>>>>>>>>> Tim
>>>>>>>>>>
>>>>
>>