Hiding Menus in Ofbiz

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

Hiding Menus in Ofbiz

Rakesh S
HI All,

I am trying to customize Ofbiz. I have overriden HR and Party module in hot deploy. I want to hide other menu's in the App. Could some one suggest,Whats the best approach to hide the Menu.
 
Thank You All
Raka



Reply | Threaded
Open this post in threaded view
|

Re: Hiding Menus in Ofbiz

Kumaraswamy nandipati
Hi Rakesh,

If I am getting you currectly(Other menus means Content, CMS, Catalog
etc.... modules), you can do this in 3 ways.

Sol. 1) Remove components: If you don't want those modules at all, Just
comment them in OFBIZ-HOME/applications/component-load.xml. So, they won't
load at all.

Sol. 2) By assigning user with specific PERMISSION GROUP. Create a new group
with needed module access credentials. So, the users with this permission
group unable to access rest of modules(I prefer this. By using this no need
of moving modules into hot deploy).

Sol. 3) Tweek in display logic:  customize
/OFBIZ-BASE/framework/common/webcommon/includes/appbar.ftl to restrict these
modules(not-preferred, instead of this sol. 1 will be effective interms of
load)



On Mon, Nov 9, 2009 at 12:09 AM, Rakesh S <[hidden email]> wrote:

> HI All,
>
> I am trying to customize Ofbiz. I have overriden HR and Party module in hot
> deploy. I want to hide other menu's in the App. Could some one suggest,Whats
> the best approach to hide the Menu.
>
> Thank You All
> Raka
>
>
>
>




--
Thanks,
Kumaraswamy.N
91-9866805250.
Reply | Threaded
Open this post in threaded view
|

Re: Hiding Menus in Ofbiz

Rishi Solanki
In every component file responsible for initial setup is
ofbiz-component.xml.
Go to that file in each and in webapp tag add app-bar-display="false" for
each and maintain a patch to apply.
Commenting component-load.xml is not right way as the HR is dependent on
other module and you may need its services and data to use in your custom
one.

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Mon, Nov 9, 2009 at 2:06 PM, Kumaraswamy nandipati <
[hidden email]> wrote:

> Hi Rakesh,
>
> If I am getting you currectly(Other menus means Content, CMS, Catalog
> etc.... modules), you can do this in 3 ways.
>
> Sol. 1) Remove components: If you don't want those modules at all, Just
> comment them in OFBIZ-HOME/applications/component-load.xml. So, they won't
> load at all.
>
> Sol. 2) By assigning user with specific PERMISSION GROUP. Create a new
> group
> with needed module access credentials. So, the users with this permission
> group unable to access rest of modules(I prefer this. By using this no need
> of moving modules into hot deploy).
>
> Sol. 3) Tweek in display logic:  customize
> /OFBIZ-BASE/framework/common/webcommon/includes/appbar.ftl to restrict
> these
> modules(not-preferred, instead of this sol. 1 will be effective interms of
> load)
>
>
>
> On Mon, Nov 9, 2009 at 12:09 AM, Rakesh S <[hidden email]> wrote:
>
> > HI All,
> >
> > I am trying to customize Ofbiz. I have overriden HR and Party module in
> hot
> > deploy. I want to hide other menu's in the App. Could some one
> suggest,Whats
> > the best approach to hide the Menu.
> >
> > Thank You All
> > Raka
> >
> >
> >
> >
>
>
>
>
> --
> Thanks,
> Kumaraswamy.N
> 91-9866805250.
>
Reply | Threaded
Open this post in threaded view
|

Re: Hiding Menus in Ofbiz

Kumaraswamy nandipati
Hi Rishi,

I missed this concept.

On Wed, Nov 11, 2009 at 1:50 PM, Rishi Solanki <[hidden email]>wrote:

> In every component file responsible for initial setup is
> ofbiz-component.xml.
> Go to that file in each and in webapp tag add app-bar-display="false" for
> each and maintain a patch to apply.
> Commenting component-load.xml is not right way as the HR is dependent on
> other module and you may need its services and data to use in your custom
> one.
>
> Rishi Solanki
> Enterprise Software Developer
> HotWax Media Pvt. Ltd.
>
>
> On Mon, Nov 9, 2009 at 2:06 PM, Kumaraswamy nandipati <
> [hidden email]> wrote:
>
> > Hi Rakesh,
> >
> > If I am getting you currectly(Other menus means Content, CMS, Catalog
> > etc.... modules), you can do this in 3 ways.
> >
> > Sol. 1) Remove components: If you don't want those modules at all, Just
> > comment them in OFBIZ-HOME/applications/component-load.xml. So, they
> won't
> > load at all.
> >
> > Sol. 2) By assigning user with specific PERMISSION GROUP. Create a new
> > group
> > with needed module access credentials. So, the users with this permission
> > group unable to access rest of modules(I prefer this. By using this no
> need
> > of moving modules into hot deploy).
> >
> > Sol. 3) Tweek in display logic:  customize
> > /OFBIZ-BASE/framework/common/webcommon/includes/appbar.ftl to restrict
> > these
> > modules(not-preferred, instead of this sol. 1 will be effective interms
> of
> > load)
> >
> >
> >
> > On Mon, Nov 9, 2009 at 12:09 AM, Rakesh S <[hidden email]> wrote:
> >
> > > HI All,
> > >
> > > I am trying to customize Ofbiz. I have overriden HR and Party module in
> > hot
> > > deploy. I want to hide other menu's in the App. Could some one
> > suggest,Whats
> > > the best approach to hide the Menu.
> > >
> > > Thank You All
> > > Raka
> > >
> > >
> > >
> > >
> >
> >
> >
> >
> > --
> > Thanks,
> > Kumaraswamy.N
> > 91-9866805250.
> >
>



--
Thanks,
Kumaraswamy.N
91-9866805250.
Reply | Threaded
Open this post in threaded view
|

Re: Hiding Menus in Ofbiz

Rishi Solanki
No Worries Kumar,
We are here to get best possible option from available and helping each
other. :-)

Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.


On Wed, Nov 11, 2009 at 4:29 PM, Kumaraswamy nandipati <
[hidden email]> wrote:

> Hi Rishi,
>
> I missed this concept.
>
> On Wed, Nov 11, 2009 at 1:50 PM, Rishi Solanki <[hidden email]
> >wrote:
>
> > In every component file responsible for initial setup is
> > ofbiz-component.xml.
> > Go to that file in each and in webapp tag add app-bar-display="false" for
> > each and maintain a patch to apply.
> > Commenting component-load.xml is not right way as the HR is dependent on
> > other module and you may need its services and data to use in your custom
> > one.
> >
> > Rishi Solanki
> > Enterprise Software Developer
> > HotWax Media Pvt. Ltd.
> >
> >
> > On Mon, Nov 9, 2009 at 2:06 PM, Kumaraswamy nandipati <
> > [hidden email]> wrote:
> >
> > > Hi Rakesh,
> > >
> > > If I am getting you currectly(Other menus means Content, CMS, Catalog
> > > etc.... modules), you can do this in 3 ways.
> > >
> > > Sol. 1) Remove components: If you don't want those modules at all, Just
> > > comment them in OFBIZ-HOME/applications/component-load.xml. So, they
> > won't
> > > load at all.
> > >
> > > Sol. 2) By assigning user with specific PERMISSION GROUP. Create a new
> > > group
> > > with needed module access credentials. So, the users with this
> permission
> > > group unable to access rest of modules(I prefer this. By using this no
> > need
> > > of moving modules into hot deploy).
> > >
> > > Sol. 3) Tweek in display logic:  customize
> > > /OFBIZ-BASE/framework/common/webcommon/includes/appbar.ftl to restrict
> > > these
> > > modules(not-preferred, instead of this sol. 1 will be effective interms
> > of
> > > load)
> > >
> > >
> > >
> > > On Mon, Nov 9, 2009 at 12:09 AM, Rakesh S <[hidden email]> wrote:
> > >
> > > > HI All,
> > > >
> > > > I am trying to customize Ofbiz. I have overriden HR and Party module
> in
> > > hot
> > > > deploy. I want to hide other menu's in the App. Could some one
> > > suggest,Whats
> > > > the best approach to hide the Menu.
> > > >
> > > > Thank You All
> > > > Raka
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > --
> > > Thanks,
> > > Kumaraswamy.N
> > > 91-9866805250.
> > >
> >
>
>
>
> --
> Thanks,
> Kumaraswamy.N
> 91-9866805250.
>