Removing the sub-menu Main and rearranging the menu bars at the top

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

Removing the sub-menu Main and rearranging the menu bars at the top

Daors Islami
Hello guys! thank you so much for the first reply it really helped me a lot,

If I could ask you one more thing it would really mean a lot for me and hopefully I won't waste you too much time.

My problem is that I created a plugin and want to show it as the first Menu at the Menu Bar at the top 
I saw that at the backend in Java the webappinfo is sorted by the webapp title with a TreeMap is there a way that I can put it the first item even if it starts for example with "SalesTest" 

I researched and one way of achieving it was by going to each ofbiz-component.xml and add  app-bar-display='false' so in this way the plugins won't appear at the top menu but I feel like it's not efficient going to each components file and adding this,
is there any other way.

Thank you so much for your time,
Best regards,
Daors
Reply | Threaded
Open this post in threaded view
|

Re: Removing the sub-menu Main and rearranging the menu bars at the top

Deepak Dixit-4
Have you tried the position attribute webapp tag?
Please set the position="1" for your weball definition.

eg.

<webapp name="order"

        title="Order"

*        position="1"*

        description="OrderComponentDescription"

        server="default-server"

        location="webapp/ordermgr"

        base-permission="OFBTOOLS,ORDERMGR"

        mount-point="/ordermgr"/>

In the above example Order will be listed on the first menu.

HTH

Kind Regards,
Deepak Dixit
DIRECTOR OF PRODUCT ENGINEERING
mobile: +91 9826754548
email: [hidden email]
*www.hotwax.co <http://www.hotwax.co/>*


On Wed, Oct 7, 2020 at 6:37 PM Daors Islami <[hidden email]> wrote:

> Hello guys! thank you so much for the first reply it really helped me a
> lot,
>
> If I could ask you one more thing it would really mean a lot for me and
> hopefully I won't waste you too much time.
>
> My problem is that I created a plugin and want to show it as the first
> Menu at the Menu Bar at the top
> I saw that at the backend in Java the webappinfo is sorted by the webapp
> title with a TreeMap is there a way that I can put it the first item even
> if it starts for example with "SalesTest"
>
> I researched and one way of achieving it was by going to each
> ofbiz-component.xml and add  app-bar-display='false' so in this way the
> plugins won't appear at the top menu but I feel like it's not efficient
> going to each components file and adding this,
> is there any other way.
>
> Thank you so much for your time,
> Best regards,
> Daors
>
Reply | Threaded
Open this post in threaded view
|

Re: Removing the sub-menu Main and rearranging the menu bars at the top

Daors Islami
Good morning Deepak Dixit

I just tried it and it works perfectly! thank you very much, again thanks a
lot for your time.

Best regards,
Daors

On Thu, Oct 8, 2020 at 08:32 Deepak Dixit <[hidden email]> wrote:

> Have you tried the position attribute webapp tag?
> Please set the position="1" for your weball definition.
>
> eg.
>
> <webapp name="order"
>
>         title="Order"
>
> *        position="1"*
>
>         description="OrderComponentDescription"
>
>         server="default-server"
>
>         location="webapp/ordermgr"
>
>         base-permission="OFBTOOLS,ORDERMGR"
>
>         mount-point="/ordermgr"/>
>
> In the above example Order will be listed on the first menu.
>
> HTH
>
> Kind Regards,
> Deepak Dixit
> DIRECTOR OF PRODUCT ENGINEERING
> mobile: +91 9826754548
> email: [hidden email]
> *www.hotwax.co <http://www.hotwax.co/>*
>
>
> On Wed, Oct 7, 2020 at 6:37 PM Daors Islami <[hidden email]> wrote:
>
> > Hello guys! thank you so much for the first reply it really helped me a
> > lot,
> >
> > If I could ask you one more thing it would really mean a lot for me and
> > hopefully I won't waste you too much time.
> >
> > My problem is that I created a plugin and want to show it as the first
> > Menu at the Menu Bar at the top
> > I saw that at the backend in Java the webappinfo is sorted by the webapp
> > title with a TreeMap is there a way that I can put it the first item even
> > if it starts for example with "SalesTest"
> >
> > I researched and one way of achieving it was by going to each
> > ofbiz-component.xml and add  app-bar-display='false' so in this way the
> > plugins won't appear at the top menu but I feel like it's not efficient
> > going to each components file and adding this,
> > is there any other way.
> >
> > Thank you so much for your time,
> > Best regards,
> > Daors
> >
>