You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Donhu Vy <do...@hotmail.com> on 2017/06/19 06:15:24 UTC
How to disable/hide/remove menu area?
I use own theme, I want remove this type of HTML area, How to do?
Screenshot:
https://user-images.githubusercontent.com/1328316/27271807-0cfb4af6-54f1-11e7-9857-4fb483ac05e2.jpg
https://user-images.githubusercontent.com/1328316/27271814-1ac6eed8-54f1-11e7-895b-886e5444eab9.jpg
Re: How to disable/hide/remove menu area?
Posted by Rishi Solanki <ri...@gmail.com>.
Refreshing the browser is enough. Also it looks like you have customized
all this, so this is something you need to take care, we can simply suggest
how OFBiz would handle rendering and how you can customize.
If you want to remove all then write your own decorator and include your
menus, css, js and resources etc. And finally replace the decorator and use
your own.
Rishi Solanki
Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com
On Wed, Jun 21, 2017 at 3:09 PM, Donhu Vy <do...@hotmail.com> wrote:
> Indeed, I want disable/hide/or remove all type of navigation on all
> modules (HR, manufacturing, Accounting, Marketing, v.v..)
>
> ________________________________
> From: Rishi Solanki <ri...@gmail.com>
> Sent: Wednesday, June 21, 2017 4:35:51 PM
> To: ofbizuser
> Subject: Re: How to disable/hide/remove menu area?
>
> As said by Deepak, better if you share what exactly you want to achieve.
> Also, steps I mentioned is working if I'm correct then I see you have
> overrided the default theme, if something you wrote there then it may not
> be work. But it is working just fine with all default OFBiz themes.
>
> @Deepak, I guess he just wanted to hide the marketing and hr display from
> main navigation and its sub menus. @Dhonu could you please confirm this?
>
>
>
>
>
>
> Rishi Solanki
> Sr Manager, Enterprise Software Development
> HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
>
> On Wed, Jun 21, 2017 at 2:46 PM, Deepak Dixit <
> deepak.dixit@hotwaxsystems.com> wrote:
>
> > hi Donhu,
> >
> > Could you please what you want to achieve?
> >
> > If you hide app-nativagation then how you will able to navigate to other
> > component.
> >
> >
> >
> > Thanks & Regards
> > --
> > Deepak Dixit
> > www.hotwaxsystems.com<http://www.hotwaxsystems.com>
> > www.hotwax.co<http://www.hotwax.co>
> >
> > On Wed, Jun 21, 2017 at 2:37 PM, Donhu Vy <do...@hotmail.com> wrote:
> >
> > > Thank Rishi Solanki,
> > >
> > > I try again, but not success.
> > >
> > > ________________________________
> > > From: Rishi Solanki <ri...@gmail.com>
> > > Sent: Wednesday, June 21, 2017 2:46:30 PM
> > > To: ofbizuser
> > > Subject: Re: How to disable/hide/remove menu area?
> > >
> > > Yeah, that is correct and it will remove the HR menu from the top
> > > navigation. But you also need to remove the setting applicationMenuName
> > and
> > > applicationMenuLocation from the main-decorator of human resource.
> > >
> > > Refer: ../applications/humanres/widget/CommonScreens.xml
> > >
> > > Same I mentioned in my first reply.
> > >
> > >
> > >
> > > Rishi Solanki
> > > Sr Manager, Enterprise Software Development
> > > HotWax Systems Pvt. Ltd.
> > > Direct: +91-9893287847
> > > http://www.hotwaxsystems.com
> > >
> > > On Tue, Jun 20, 2017 at 12:22 PM, Donhu Vy <do...@hotmail.com>
> wrote:
> > >
> > > > Thank Rishi Solanki,
> > > >
> > > >
> > > > I try change file \applications\humanres\ofbiz-component.xml
> > > >
> > > > https://gist.github.com/donhuvy/f8400fdb4b24b7c3124ca28dd4625e
> > > > df/revisions?diff=split
> > > >
> > > > Then run commands:
> > > > gradlew cleanAll
> > > > gradlew loadDefault
> > > > gradlew ofbiz --info
> > > > Then access: https://localhost:8443/humanres/control/main
> > > > but section <div id="app-nativagation"> still exist.
> > > >
> > > >
> > > >
> > > > ________________________________
> > > > From: Rishi Solanki <ri...@gmail.com>
> > > > Sent: Monday, June 19, 2017 5:22:37 PM
> > > > To: ofbizuser
> > > > Subject: Re: How to disable/hide/remove menu area?
> > > >
> > > > Try this;
> > > > - Disable the display by setting app-bar-display="false" in
> > > > ofbiz-component.xml
> > > > - Do not pass the applicationMenuName and applicationMenuLocation
> from
> > > the
> > > > marketing and human resource main-decorator.
> > > >
> > > > This should hide both top navigation and app menus from everywhere.
> > There
> > > > are other ways to do that, but this should be quick one.
> > > >
> > > > HTH!
> > > >
> > > >
> > > >
> > > > --
> > > > Rishi Solanki
> > > > Sr Manager, Enterprise Software Development
> > > > HotWax Systems Pvt. Ltd.
> > > > Direct: +91-9893287847
> > > > http://www.hotwaxsystems.com
> > > >
> > > > On Mon, Jun 19, 2017 at 11:45 AM, Donhu Vy <do...@hotmail.com>
> > wrote:
> > > >
> > > > > I use own theme, I want remove this type of HTML area, How to do?
> > > > > Screenshot:
> > > > > https://user-images.githubusercontent.com/1328316/
> > > > > 27271807-0cfb4af6-54f1-11e7-9857-4fb483ac05e2.jpg
> > > > > https://user-images.githubusercontent.com/1328316/
> > > > > 27271814-1ac6eed8-54f1-11e7-895b-886e5444eab9.jpg
> > > > >
> > > > >
> > > >
> > >
> >
>
Re: How to disable/hide/remove menu area?
Posted by Donhu Vy <do...@hotmail.com>.
Indeed, I want disable/hide/or remove all type of navigation on all modules (HR, manufacturing, Accounting, Marketing, v.v..)
________________________________
From: Rishi Solanki <ri...@gmail.com>
Sent: Wednesday, June 21, 2017 4:35:51 PM
To: ofbizuser
Subject: Re: How to disable/hide/remove menu area?
As said by Deepak, better if you share what exactly you want to achieve.
Also, steps I mentioned is working if I'm correct then I see you have
overrided the default theme, if something you wrote there then it may not
be work. But it is working just fine with all default OFBiz themes.
@Deepak, I guess he just wanted to hide the marketing and hr display from
main navigation and its sub menus. @Dhonu could you please confirm this?
Rishi Solanki
Sr Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com
On Wed, Jun 21, 2017 at 2:46 PM, Deepak Dixit <
deepak.dixit@hotwaxsystems.com> wrote:
> hi Donhu,
>
> Could you please what you want to achieve?
>
> If you hide app-nativagation then how you will able to navigate to other
> component.
>
>
>
> Thanks & Regards
> --
> Deepak Dixit
> www.hotwaxsystems.com<http://www.hotwaxsystems.com>
> www.hotwax.co<http://www.hotwax.co>
>
> On Wed, Jun 21, 2017 at 2:37 PM, Donhu Vy <do...@hotmail.com> wrote:
>
> > Thank Rishi Solanki,
> >
> > I try again, but not success.
> >
> > ________________________________
> > From: Rishi Solanki <ri...@gmail.com>
> > Sent: Wednesday, June 21, 2017 2:46:30 PM
> > To: ofbizuser
> > Subject: Re: How to disable/hide/remove menu area?
> >
> > Yeah, that is correct and it will remove the HR menu from the top
> > navigation. But you also need to remove the setting applicationMenuName
> and
> > applicationMenuLocation from the main-decorator of human resource.
> >
> > Refer: ../applications/humanres/widget/CommonScreens.xml
> >
> > Same I mentioned in my first reply.
> >
> >
> >
> > Rishi Solanki
> > Sr Manager, Enterprise Software Development
> > HotWax Systems Pvt. Ltd.
> > Direct: +91-9893287847
> > http://www.hotwaxsystems.com
> >
> > On Tue, Jun 20, 2017 at 12:22 PM, Donhu Vy <do...@hotmail.com> wrote:
> >
> > > Thank Rishi Solanki,
> > >
> > >
> > > I try change file \applications\humanres\ofbiz-component.xml
> > >
> > > https://gist.github.com/donhuvy/f8400fdb4b24b7c3124ca28dd4625e
> > > df/revisions?diff=split
> > >
> > > Then run commands:
> > > gradlew cleanAll
> > > gradlew loadDefault
> > > gradlew ofbiz --info
> > > Then access: https://localhost:8443/humanres/control/main
> > > but section <div id="app-nativagation"> still exist.
> > >
> > >
> > >
> > > ________________________________
> > > From: Rishi Solanki <ri...@gmail.com>
> > > Sent: Monday, June 19, 2017 5:22:37 PM
> > > To: ofbizuser
> > > Subject: Re: How to disable/hide/remove menu area?
> > >
> > > Try this;
> > > - Disable the display by setting app-bar-display="false" in
> > > ofbiz-component.xml
> > > - Do not pass the applicationMenuName and applicationMenuLocation from
> > the
> > > marketing and human resource main-decorator.
> > >
> > > This should hide both top navigation and app menus from everywhere.
> There
> > > are other ways to do that, but this should be quick one.
> > >
> > > HTH!
> > >
> > >
> > >
> > > --
> > > Rishi Solanki
> > > Sr Manager, Enterprise Software Development
> > > HotWax Systems Pvt. Ltd.
> > > Direct: +91-9893287847
> > > http://www.hotwaxsystems.com
> > >
> > > On Mon, Jun 19, 2017 at 11:45 AM, Donhu Vy <do...@hotmail.com>
> wrote:
> > >
> > > > I use own theme, I want remove this type of HTML area, How to do?
> > > > Screenshot:
> > > > https://user-images.githubusercontent.com/1328316/
> > > > 27271807-0cfb4af6-54f1-11e7-9857-4fb483ac05e2.jpg
> > > > https://user-images.githubusercontent.com/1328316/
> > > > 27271814-1ac6eed8-54f1-11e7-895b-886e5444eab9.jpg
> > > >
> > > >
> > >
> >
>
Re: How to disable/hide/remove menu area?
Posted by Rishi Solanki <ri...@gmail.com>.
As said by Deepak, better if you share what exactly you want to achieve.
Also, steps I mentioned is working if I'm correct then I see you have
overrided the default theme, if something you wrote there then it may not
be work. But it is working just fine with all default OFBiz themes.
@Deepak, I guess he just wanted to hide the marketing and hr display from
main navigation and its sub menus. @Dhonu could you please confirm this?
Rishi Solanki
Sr Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com
On Wed, Jun 21, 2017 at 2:46 PM, Deepak Dixit <
deepak.dixit@hotwaxsystems.com> wrote:
> hi Donhu,
>
> Could you please what you want to achieve?
>
> If you hide app-nativagation then how you will able to navigate to other
> component.
>
>
>
> Thanks & Regards
> --
> Deepak Dixit
> www.hotwaxsystems.com
> www.hotwax.co
>
> On Wed, Jun 21, 2017 at 2:37 PM, Donhu Vy <do...@hotmail.com> wrote:
>
> > Thank Rishi Solanki,
> >
> > I try again, but not success.
> >
> > ________________________________
> > From: Rishi Solanki <ri...@gmail.com>
> > Sent: Wednesday, June 21, 2017 2:46:30 PM
> > To: ofbizuser
> > Subject: Re: How to disable/hide/remove menu area?
> >
> > Yeah, that is correct and it will remove the HR menu from the top
> > navigation. But you also need to remove the setting applicationMenuName
> and
> > applicationMenuLocation from the main-decorator of human resource.
> >
> > Refer: ../applications/humanres/widget/CommonScreens.xml
> >
> > Same I mentioned in my first reply.
> >
> >
> >
> > Rishi Solanki
> > Sr Manager, Enterprise Software Development
> > HotWax Systems Pvt. Ltd.
> > Direct: +91-9893287847
> > http://www.hotwaxsystems.com
> >
> > On Tue, Jun 20, 2017 at 12:22 PM, Donhu Vy <do...@hotmail.com> wrote:
> >
> > > Thank Rishi Solanki,
> > >
> > >
> > > I try change file \applications\humanres\ofbiz-component.xml
> > >
> > > https://gist.github.com/donhuvy/f8400fdb4b24b7c3124ca28dd4625e
> > > df/revisions?diff=split
> > >
> > > Then run commands:
> > > gradlew cleanAll
> > > gradlew loadDefault
> > > gradlew ofbiz --info
> > > Then access: https://localhost:8443/humanres/control/main
> > > but section <div id="app-nativagation"> still exist.
> > >
> > >
> > >
> > > ________________________________
> > > From: Rishi Solanki <ri...@gmail.com>
> > > Sent: Monday, June 19, 2017 5:22:37 PM
> > > To: ofbizuser
> > > Subject: Re: How to disable/hide/remove menu area?
> > >
> > > Try this;
> > > - Disable the display by setting app-bar-display="false" in
> > > ofbiz-component.xml
> > > - Do not pass the applicationMenuName and applicationMenuLocation from
> > the
> > > marketing and human resource main-decorator.
> > >
> > > This should hide both top navigation and app menus from everywhere.
> There
> > > are other ways to do that, but this should be quick one.
> > >
> > > HTH!
> > >
> > >
> > >
> > > --
> > > Rishi Solanki
> > > Sr Manager, Enterprise Software Development
> > > HotWax Systems Pvt. Ltd.
> > > Direct: +91-9893287847
> > > http://www.hotwaxsystems.com
> > >
> > > On Mon, Jun 19, 2017 at 11:45 AM, Donhu Vy <do...@hotmail.com>
> wrote:
> > >
> > > > I use own theme, I want remove this type of HTML area, How to do?
> > > > Screenshot:
> > > > https://user-images.githubusercontent.com/1328316/
> > > > 27271807-0cfb4af6-54f1-11e7-9857-4fb483ac05e2.jpg
> > > > https://user-images.githubusercontent.com/1328316/
> > > > 27271814-1ac6eed8-54f1-11e7-895b-886e5444eab9.jpg
> > > >
> > > >
> > >
> >
>
Re: How to disable/hide/remove menu area?
Posted by Donhu Vy <do...@hotmail.com>.
After using theme, I think app-nativagation section is redundance. Hence, I want remove/disable/or hide it.
https://user-images.githubusercontent.com/1328316/27377203-889c9ada-569e-11e7-825d-285599509699.jpg
https://user-images.githubusercontent.com/1328316/27377214-93d5b7ba-569e-11e7-9c5f-c31e0e69e221.jpg
https://user-images.githubusercontent.com/1328316/27377231-9d17c0e8-569e-11e7-976c-a1a0dbcedb40.jpg
By the way, after I edit file XML inside directory widget (for example: \applications\humanres\widget\CommonScreens.xml ), to see affected result, Do I need run below commands?
gradlew cleanAll
gradle loadDefault
gradle ofbiz --info
or Is Refresh Web browser enough?
________________________________
From: Deepak Dixit <de...@hotwaxsystems.com>
Sent: Wednesday, June 21, 2017 4:16:03 PM
To: user@ofbiz.apache.org
Subject: Re: How to disable/hide/remove menu area?
hi Donhu,
Could you please what you want to achieve?
If you hide app-nativagation then how you will able to navigate to other
component.
Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com<http://www.hotwaxsystems.com>
www.hotwax.co<http://www.hotwax.co>
On Wed, Jun 21, 2017 at 2:37 PM, Donhu Vy <do...@hotmail.com> wrote:
> Thank Rishi Solanki,
>
> I try again, but not success.
>
> ________________________________
> From: Rishi Solanki <ri...@gmail.com>
> Sent: Wednesday, June 21, 2017 2:46:30 PM
> To: ofbizuser
> Subject: Re: How to disable/hide/remove menu area?
>
> Yeah, that is correct and it will remove the HR menu from the top
> navigation. But you also need to remove the setting applicationMenuName and
> applicationMenuLocation from the main-decorator of human resource.
>
> Refer: ../applications/humanres/widget/CommonScreens.xml
>
> Same I mentioned in my first reply.
>
>
>
> Rishi Solanki
> Sr Manager, Enterprise Software Development
> HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
>
> On Tue, Jun 20, 2017 at 12:22 PM, Donhu Vy <do...@hotmail.com> wrote:
>
> > Thank Rishi Solanki,
> >
> >
> > I try change file \applications\humanres\ofbiz-component.xml
> >
> > https://gist.github.com/donhuvy/f8400fdb4b24b7c3124ca28dd4625e
> > df/revisions?diff=split
> >
> > Then run commands:
> > gradlew cleanAll
> > gradlew loadDefault
> > gradlew ofbiz --info
> > Then access: https://localhost:8443/humanres/control/main
> > but section <div id="app-nativagation"> still exist.
> >
> >
> >
> > ________________________________
> > From: Rishi Solanki <ri...@gmail.com>
> > Sent: Monday, June 19, 2017 5:22:37 PM
> > To: ofbizuser
> > Subject: Re: How to disable/hide/remove menu area?
> >
> > Try this;
> > - Disable the display by setting app-bar-display="false" in
> > ofbiz-component.xml
> > - Do not pass the applicationMenuName and applicationMenuLocation from
> the
> > marketing and human resource main-decorator.
> >
> > This should hide both top navigation and app menus from everywhere. There
> > are other ways to do that, but this should be quick one.
> >
> > HTH!
> >
> >
> >
> > --
> > Rishi Solanki
> > Sr Manager, Enterprise Software Development
> > HotWax Systems Pvt. Ltd.
> > Direct: +91-9893287847
> > http://www.hotwaxsystems.com
> >
> > On Mon, Jun 19, 2017 at 11:45 AM, Donhu Vy <do...@hotmail.com> wrote:
> >
> > > I use own theme, I want remove this type of HTML area, How to do?
> > > Screenshot:
> > > https://user-images.githubusercontent.com/1328316/
> > > 27271807-0cfb4af6-54f1-11e7-9857-4fb483ac05e2.jpg
> > > https://user-images.githubusercontent.com/1328316/
> > > 27271814-1ac6eed8-54f1-11e7-895b-886e5444eab9.jpg
> > >
> > >
> >
>
Re: How to disable/hide/remove menu area?
Posted by Deepak Dixit <de...@hotwaxsystems.com>.
hi Donhu,
Could you please what you want to achieve?
If you hide app-nativagation then how you will able to navigate to other
component.
Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com
www.hotwax.co
On Wed, Jun 21, 2017 at 2:37 PM, Donhu Vy <do...@hotmail.com> wrote:
> Thank Rishi Solanki,
>
> I try again, but not success.
>
> ________________________________
> From: Rishi Solanki <ri...@gmail.com>
> Sent: Wednesday, June 21, 2017 2:46:30 PM
> To: ofbizuser
> Subject: Re: How to disable/hide/remove menu area?
>
> Yeah, that is correct and it will remove the HR menu from the top
> navigation. But you also need to remove the setting applicationMenuName and
> applicationMenuLocation from the main-decorator of human resource.
>
> Refer: ../applications/humanres/widget/CommonScreens.xml
>
> Same I mentioned in my first reply.
>
>
>
> Rishi Solanki
> Sr Manager, Enterprise Software Development
> HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
>
> On Tue, Jun 20, 2017 at 12:22 PM, Donhu Vy <do...@hotmail.com> wrote:
>
> > Thank Rishi Solanki,
> >
> >
> > I try change file \applications\humanres\ofbiz-component.xml
> >
> > https://gist.github.com/donhuvy/f8400fdb4b24b7c3124ca28dd4625e
> > df/revisions?diff=split
> >
> > Then run commands:
> > gradlew cleanAll
> > gradlew loadDefault
> > gradlew ofbiz --info
> > Then access: https://localhost:8443/humanres/control/main
> > but section <div id="app-nativagation"> still exist.
> >
> >
> >
> > ________________________________
> > From: Rishi Solanki <ri...@gmail.com>
> > Sent: Monday, June 19, 2017 5:22:37 PM
> > To: ofbizuser
> > Subject: Re: How to disable/hide/remove menu area?
> >
> > Try this;
> > - Disable the display by setting app-bar-display="false" in
> > ofbiz-component.xml
> > - Do not pass the applicationMenuName and applicationMenuLocation from
> the
> > marketing and human resource main-decorator.
> >
> > This should hide both top navigation and app menus from everywhere. There
> > are other ways to do that, but this should be quick one.
> >
> > HTH!
> >
> >
> >
> > --
> > Rishi Solanki
> > Sr Manager, Enterprise Software Development
> > HotWax Systems Pvt. Ltd.
> > Direct: +91-9893287847
> > http://www.hotwaxsystems.com
> >
> > On Mon, Jun 19, 2017 at 11:45 AM, Donhu Vy <do...@hotmail.com> wrote:
> >
> > > I use own theme, I want remove this type of HTML area, How to do?
> > > Screenshot:
> > > https://user-images.githubusercontent.com/1328316/
> > > 27271807-0cfb4af6-54f1-11e7-9857-4fb483ac05e2.jpg
> > > https://user-images.githubusercontent.com/1328316/
> > > 27271814-1ac6eed8-54f1-11e7-895b-886e5444eab9.jpg
> > >
> > >
> >
>
Re: How to disable/hide/remove menu area?
Posted by Donhu Vy <do...@hotmail.com>.
Thank Rishi Solanki,
I try again, but not success.
________________________________
From: Rishi Solanki <ri...@gmail.com>
Sent: Wednesday, June 21, 2017 2:46:30 PM
To: ofbizuser
Subject: Re: How to disable/hide/remove menu area?
Yeah, that is correct and it will remove the HR menu from the top
navigation. But you also need to remove the setting applicationMenuName and
applicationMenuLocation from the main-decorator of human resource.
Refer: ../applications/humanres/widget/CommonScreens.xml
Same I mentioned in my first reply.
Rishi Solanki
Sr Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com
On Tue, Jun 20, 2017 at 12:22 PM, Donhu Vy <do...@hotmail.com> wrote:
> Thank Rishi Solanki,
>
>
> I try change file \applications\humanres\ofbiz-component.xml
>
> https://gist.github.com/donhuvy/f8400fdb4b24b7c3124ca28dd4625e
> df/revisions?diff=split
>
> Then run commands:
> gradlew cleanAll
> gradlew loadDefault
> gradlew ofbiz --info
> Then access: https://localhost:8443/humanres/control/main
> but section <div id="app-nativagation"> still exist.
>
>
>
> ________________________________
> From: Rishi Solanki <ri...@gmail.com>
> Sent: Monday, June 19, 2017 5:22:37 PM
> To: ofbizuser
> Subject: Re: How to disable/hide/remove menu area?
>
> Try this;
> - Disable the display by setting app-bar-display="false" in
> ofbiz-component.xml
> - Do not pass the applicationMenuName and applicationMenuLocation from the
> marketing and human resource main-decorator.
>
> This should hide both top navigation and app menus from everywhere. There
> are other ways to do that, but this should be quick one.
>
> HTH!
>
>
>
> --
> Rishi Solanki
> Sr Manager, Enterprise Software Development
> HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
>
> On Mon, Jun 19, 2017 at 11:45 AM, Donhu Vy <do...@hotmail.com> wrote:
>
> > I use own theme, I want remove this type of HTML area, How to do?
> > Screenshot:
> > https://user-images.githubusercontent.com/1328316/
> > 27271807-0cfb4af6-54f1-11e7-9857-4fb483ac05e2.jpg
> > https://user-images.githubusercontent.com/1328316/
> > 27271814-1ac6eed8-54f1-11e7-895b-886e5444eab9.jpg
> >
> >
>
Re: How to disable/hide/remove menu area?
Posted by Rishi Solanki <ri...@gmail.com>.
Yeah, that is correct and it will remove the HR menu from the top
navigation. But you also need to remove the setting applicationMenuName and
applicationMenuLocation from the main-decorator of human resource.
Refer: ../applications/humanres/widget/CommonScreens.xml
Same I mentioned in my first reply.
Rishi Solanki
Sr Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com
On Tue, Jun 20, 2017 at 12:22 PM, Donhu Vy <do...@hotmail.com> wrote:
> Thank Rishi Solanki,
>
>
> I try change file \applications\humanres\ofbiz-component.xml
>
> https://gist.github.com/donhuvy/f8400fdb4b24b7c3124ca28dd4625e
> df/revisions?diff=split
>
> Then run commands:
> gradlew cleanAll
> gradlew loadDefault
> gradlew ofbiz --info
> Then access: https://localhost:8443/humanres/control/main
> but section <div id="app-nativagation"> still exist.
>
>
>
> ________________________________
> From: Rishi Solanki <ri...@gmail.com>
> Sent: Monday, June 19, 2017 5:22:37 PM
> To: ofbizuser
> Subject: Re: How to disable/hide/remove menu area?
>
> Try this;
> - Disable the display by setting app-bar-display="false" in
> ofbiz-component.xml
> - Do not pass the applicationMenuName and applicationMenuLocation from the
> marketing and human resource main-decorator.
>
> This should hide both top navigation and app menus from everywhere. There
> are other ways to do that, but this should be quick one.
>
> HTH!
>
>
>
> --
> Rishi Solanki
> Sr Manager, Enterprise Software Development
> HotWax Systems Pvt. Ltd.
> Direct: +91-9893287847
> http://www.hotwaxsystems.com
>
> On Mon, Jun 19, 2017 at 11:45 AM, Donhu Vy <do...@hotmail.com> wrote:
>
> > I use own theme, I want remove this type of HTML area, How to do?
> > Screenshot:
> > https://user-images.githubusercontent.com/1328316/
> > 27271807-0cfb4af6-54f1-11e7-9857-4fb483ac05e2.jpg
> > https://user-images.githubusercontent.com/1328316/
> > 27271814-1ac6eed8-54f1-11e7-895b-886e5444eab9.jpg
> >
> >
>
Re: How to disable/hide/remove menu area?
Posted by Donhu Vy <do...@hotmail.com>.
Thank Rishi Solanki,
I try change file \applications\humanres\ofbiz-component.xml
https://gist.github.com/donhuvy/f8400fdb4b24b7c3124ca28dd4625edf/revisions?diff=split
Then run commands:
gradlew cleanAll
gradlew loadDefault
gradlew ofbiz --info
Then access: https://localhost:8443/humanres/control/main
but section <div id="app-nativagation"> still exist.
________________________________
From: Rishi Solanki <ri...@gmail.com>
Sent: Monday, June 19, 2017 5:22:37 PM
To: ofbizuser
Subject: Re: How to disable/hide/remove menu area?
Try this;
- Disable the display by setting app-bar-display="false" in
ofbiz-component.xml
- Do not pass the applicationMenuName and applicationMenuLocation from the
marketing and human resource main-decorator.
This should hide both top navigation and app menus from everywhere. There
are other ways to do that, but this should be quick one.
HTH!
--
Rishi Solanki
Sr Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com
On Mon, Jun 19, 2017 at 11:45 AM, Donhu Vy <do...@hotmail.com> wrote:
> I use own theme, I want remove this type of HTML area, How to do?
> Screenshot:
> https://user-images.githubusercontent.com/1328316/
> 27271807-0cfb4af6-54f1-11e7-9857-4fb483ac05e2.jpg
> https://user-images.githubusercontent.com/1328316/
> 27271814-1ac6eed8-54f1-11e7-895b-886e5444eab9.jpg
>
>
Re: How to disable/hide/remove menu area?
Posted by Rishi Solanki <ri...@gmail.com>.
Try this;
- Disable the display by setting app-bar-display="false" in
ofbiz-component.xml
- Do not pass the applicationMenuName and applicationMenuLocation from the
marketing and human resource main-decorator.
This should hide both top navigation and app menus from everywhere. There
are other ways to do that, but this should be quick one.
HTH!
--
Rishi Solanki
Sr Manager, Enterprise Software Development
HotWax Systems Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxsystems.com
On Mon, Jun 19, 2017 at 11:45 AM, Donhu Vy <do...@hotmail.com> wrote:
> I use own theme, I want remove this type of HTML area, How to do?
> Screenshot:
> https://user-images.githubusercontent.com/1328316/
> 27271807-0cfb4af6-54f1-11e7-9857-4fb483ac05e2.jpg
> https://user-images.githubusercontent.com/1328316/
> 27271814-1ac6eed8-54f1-11e7-895b-886e5444eab9.jpg
>
>