Removing "Facoids Box" from selected website

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

Removing "Facoids Box" from selected website

Rupinder
Hi,
I have created different websites for ecommerce application. I want to remove the factoid box from some of those websites. I am trying to do it by comenting the display code in the following file:
/ofbiz/applications/ecommerce/webapp/<website-name>/content/facoids.ftl

I have three different websites under "/ofbiz/applications/ecommerce/webapp/" like ecommerce(which is default in ofbiz), automobile, book. Each of these have  "/content/facoids.ftl" file. But commenting this file in websites, automobile and book doesn' t result in removal of factiod box in these websites. Now, if I comment this file under ecommerce website folder, it results in removal of factoid box from other websites(automobile, books) also. I have found that to display factoid in all websites created, the being used is from ecommerce(/ofbiz/applications/ecommerce/webapp/ecommerce/content/facoids.ftl).
So kindly tell me a way of removing "Factoid box" from selected websites only.
Reply | Threaded
Open this post in threaded view
|

Re: Removing "Facoids Box" from selected website

rajsaini
Why do you want to comment it? Just remove the screenlet from left or
right bar. It would be better if you follow the best practice of
extending the applications.

Raj

Rupinder wrote:

> Hi,
> I have created different websites for ecommerce application. I want to
> remove the factoid box from some of those websites. I am trying to do it by
> comenting the display code in the following file:
> /ofbiz/applications/ecommerce/webapp/<website-name>/content/facoids.ftl
>
> I have three different websites under
> "/ofbiz/applications/ecommerce/webapp/" like ecommerce(which is default in
> ofbiz), automobile, book. Each of these have  "/content/facoids.ftl" file.
> But commenting this file in websites, automobile and book doesn' t result in
> removal of factiod box in these websites. Now, if I comment this file under
> ecommerce website folder, it results in removal of factoid box from other
> websites(automobile, books) also. I have found that to display factoid in
> all websites created, the being used is from
> ecommerce(/ofbiz/applications/ecommerce/webapp/ecommerce/content/facoids.ftl).
> So kindly tell me a way of removing "Factoid box" from selected websites
> only.
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: Removing "Facoids Box" from selected website

Rupinder
Hi,
You are right. I should make changes in right panel. But I am not aware of that file. Can you plz suggest the name of file for right panel.

Thanx.

Raj Saini wrote
Why do you want to comment it? Just remove the screenlet from left or
right bar. It would be better if you follow the best practice of
extending the applications.

Raj

Rupinder wrote:
> Hi,
> I have created different websites for ecommerce application. I want to
> remove the factoid box from some of those websites. I am trying to do it by
> comenting the display code in the following file:
> /ofbiz/applications/ecommerce/webapp/<website-name>/content/facoids.ftl
>
> I have three different websites under
> "/ofbiz/applications/ecommerce/webapp/" like ecommerce(which is default in
> ofbiz), automobile, book. Each of these have  "/content/facoids.ftl" file.
> But commenting this file in websites, automobile and book doesn' t result in
> removal of factiod box in these websites. Now, if I comment this file under
> ecommerce website folder, it results in removal of factoid box from other
> websites(automobile, books) also. I have found that to display factoid in
> all websites created, the being used is from
> ecommerce(/ofbiz/applications/ecommerce/webapp/ecommerce/content/facoids.ftl).
> So kindly tell me a way of removing "Factoid box" from selected websites
> only.
>
>  
Reply | Threaded
Open this post in threaded view
|

Re: Removing "Facoids Box" from selected website

rajsaini
Look for the rightbar screen in CommonScreens.xml of ecommerce
application. You will find the factoid screen included from
ContentScreens.xml file.

Raj
Rupinder wrote:

> Hi,
> You are right. I should make changes in right panel. But I am not aware of
> that file. Can you plz suggest the name of file for right panel.
>
> Thanx.
>
>
> Raj Saini wrote:
>  
>> Why do you want to comment it? Just remove the screenlet from left or
>> right bar. It would be better if you follow the best practice of
>> extending the applications.
>>
>> Raj
>>
>> Rupinder wrote:
>>    
>>> Hi,
>>> I have created different websites for ecommerce application. I want to
>>> remove the factoid box from some of those websites. I am trying to do it
>>> by
>>> comenting the display code in the following file:
>>> /ofbiz/applications/ecommerce/webapp/<website-name>/content/facoids.ftl
>>>
>>> I have three different websites under
>>> "/ofbiz/applications/ecommerce/webapp/" like ecommerce(which is default
>>> in
>>> ofbiz), automobile, book. Each of these have  "/content/facoids.ftl"
>>> file.
>>> But commenting this file in websites, automobile and book doesn' t result
>>> in
>>> removal of factiod box in these websites. Now, if I comment this file
>>> under
>>> ecommerce website folder, it results in removal of factoid box from other
>>> websites(automobile, books) also. I have found that to display factoid in
>>> all websites created, the being used is from
>>> ecommerce(/ofbiz/applications/ecommerce/webapp/ecommerce/content/facoids.ftl).
>>> So kindly tell me a way of removing "Factoid box" from selected websites
>>> only.
>>>
>>>  
>>>      
>>
>>    
>
>  

Reply | Threaded
Open this post in threaded view
|

Re: Removing "Facoids Box" from selected website

Rupinder
Hi,
 I am successful in removing "factoid box". But this resulted in removal of that in all websites as I told before. Is there any method for removal of "Factoid Box" in selected websites only.

Raj Saini wrote
Look for the rightbar screen in CommonScreens.xml of ecommerce
application. You will find the factoid screen included from
ContentScreens.xml file.

Raj
Rupinder wrote:
> Hi,
> You are right. I should make changes in right panel. But I am not aware of
> that file. Can you plz suggest the name of file for right panel.
>
> Thanx.
>
>
> Raj Saini wrote:
>  
>> Why do you want to comment it? Just remove the screenlet from left or
>> right bar. It would be better if you follow the best practice of
>> extending the applications.
>>
>> Raj
>>
>> Rupinder wrote:
>>    
>>> Hi,
>>> I have created different websites for ecommerce application. I want to
>>> remove the factoid box from some of those websites. I am trying to do it
>>> by
>>> comenting the display code in the following file:
>>> /ofbiz/applications/ecommerce/webapp/<website-name>/content/facoids.ftl
>>>
>>> I have three different websites under
>>> "/ofbiz/applications/ecommerce/webapp/" like ecommerce(which is default
>>> in
>>> ofbiz), automobile, book. Each of these have  "/content/facoids.ftl"
>>> file.
>>> But commenting this file in websites, automobile and book doesn' t result
>>> in
>>> removal of factiod box in these websites. Now, if I comment this file
>>> under
>>> ecommerce website folder, it results in removal of factoid box from other
>>> websites(automobile, books) also. I have found that to display factoid in
>>> all websites created, the being used is from
>>> ecommerce(/ofbiz/applications/ecommerce/webapp/ecommerce/content/facoids.ftl).
>>> So kindly tell me a way of removing "Factoid box" from selected websites
>>> only.
>>>
>>>  
>>>      
>>
>>    
>
>  
Reply | Threaded
Open this post in threaded view
|

Re: Removing "Facoids Box" from selected website

rajsaini
Do you mean all the pages or websites? I don't know how you are using
multiple websites per web application.

If you mean pages, create different rightbar for other pages. And
include those in the screens.

Thanks,

Raj

Rupinder wrote:

> Hi,
>  I am successful in removing "factoid box". But this resulted in removal of
> that in all websites as I told before. Is there any method for removal of
> "Factoid Box" in selected websites only.
>
>
> Raj Saini wrote:
>  
>> Look for the rightbar screen in CommonScreens.xml of ecommerce
>> application. You will find the factoid screen included from
>> ContentScreens.xml file.
>>
>> Raj
>> Rupinder wrote:
>>    
>>> Hi,
>>> You are right. I should make changes in right panel. But I am not aware
>>> of
>>> that file. Can you plz suggest the name of file for right panel.
>>>
>>> Thanx.
>>>
>>>
>>> Raj Saini wrote:
>>>  
>>>      
>>>> Why do you want to comment it? Just remove the screenlet from left or
>>>> right bar. It would be better if you follow the best practice of
>>>> extending the applications.
>>>>
>>>> Raj
>>>>
>>>> Rupinder wrote:
>>>>    
>>>>        
>>>>> Hi,
>>>>> I have created different websites for ecommerce application. I want to
>>>>> remove the factoid box from some of those websites. I am trying to do
>>>>> it
>>>>> by
>>>>> comenting the display code in the following file:
>>>>> /ofbiz/applications/ecommerce/webapp/<website-name>/content/facoids.ftl
>>>>>
>>>>> I have three different websites under
>>>>> "/ofbiz/applications/ecommerce/webapp/" like ecommerce(which is default
>>>>> in
>>>>> ofbiz), automobile, book. Each of these have  "/content/facoids.ftl"
>>>>> file.
>>>>> But commenting this file in websites, automobile and book doesn' t
>>>>> result
>>>>> in
>>>>> removal of factiod box in these websites. Now, if I comment this file
>>>>> under
>>>>> ecommerce website folder, it results in removal of factoid box from
>>>>> other
>>>>> websites(automobile, books) also. I have found that to display factoid
>>>>> in
>>>>> all websites created, the being used is from
>>>>> ecommerce(/ofbiz/applications/ecommerce/webapp/ecommerce/content/facoids.ftl).
>>>>> So kindly tell me a way of removing "Factoid box" from selected
>>>>> websites
>>>>> only.
>>>>>
>>>>>  
>>>>>      
>>>>>          
>>>>    
>>>>        
>>>  
>>>      
>>
>>    
>
>