You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Vikas <vi...@divsinsol.com> on 2013/03/28 08:37:56 UTC

Remove Menu Items

Hi All, 

I would like to remove some menu items from the ofBiz like Application->AR,
Application->AP.

Please help me

Thanks

Vikas



--
View this message in context: http://ofbiz.135035.n4.nabble.com/Remove-Menu-Items-tp4640177.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Remove Menu Items

Posted by Sumit Pandit <su...@tcs.com>.
Vikas, BTW if you are looking for more customization in base, you should look for option to extend the component into hot-deploy, rather to make more changes in existing code. It will give you more flexibility in customizing as is system. 

Following document would be helpful :- 
Search for " Extending an Existing Component " 
https://cwiki.apache.org/OFBIZ/addressing-custom-requirements-in-ofbiz.html 

-- 
Thanks And Regards 
Sumit Pandit 
Tata Consultancy Services 
Cell:- 917503046188 
____________________________________________ 

----- Original Message -----

| From: "Rishi Solanki" <ri...@gmail.com>
| To: user@ofbiz.apache.org
| Sent: Thursday, March 28, 2013 4:33:49 PM
| Subject: Re: Remove Menu Items

| Look into the ofbiz-component.xml exists in each component and
| generally
| for each web application.
| Change the Title="Catalog" to Title="Products" will work for you. You
| will
| see the following code in the products ofbiz-component.xml.

| <wbapp name="catalog"
| title="Catalog"
| service="default-server"
| .....
| mount-point="/catalog" />

| Hope it helps!

| --
| Rishi Solanki
| Manager, Enterprise Software Development
| HotWax Media Pvt. Ltd.
| Direct: +91-9893287847
| http://www.hotwaxmedia.com

| On Thu, Mar 28, 2013 at 3:57 PM, Vikas <vi...@divsinsol.com> wrote:

| > Hi Thank you for your reply!!!!
| >
| > Is it possible to change the menu text ? "Example : Catalog to
| > Products"
| >
| >
| >
| > --
| > View this message in context:
| > http://ofbiz.135035.n4.nabble.com/Remove-Menu-Items-tp4640177p4640185.html
| > Sent from the OFBiz - User mailing list archive at Nabble.com.
| >
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



Re: Remove Menu Items

Posted by Rishi Solanki <ri...@gmail.com>.
Look into the ofbiz-component.xml exists in each component and generally
for each web application.
Change the Title="Catalog" to Title="Products" will work for you. You will
see the following code in the products ofbiz-component.xml.

<wbapp name="catalog"
  title="Catalog"
  service="default-server"
  .....
  mount-point="/catalog" />

Hope it helps!

--
Rishi Solanki
Manager, Enterprise Software Development
HotWax Media Pvt. Ltd.
Direct: +91-9893287847
http://www.hotwaxmedia.com


On Thu, Mar 28, 2013 at 3:57 PM, Vikas <vi...@divsinsol.com> wrote:

> Hi Thank you for your reply!!!!
>
> Is it possible to change the menu text ? "Example : Catalog to Products"
>
>
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Remove-Menu-Items-tp4640177p4640185.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>

Re: Remove Menu Items

Posted by Vikas <vi...@divsinsol.com>.
Hi Thank you for your reply!!!!

Is it possible to change the menu text ? "Example : Catalog to Products"



--
View this message in context: http://ofbiz.135035.n4.nabble.com/Remove-Menu-Items-tp4640177p4640185.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Re: Remove Menu Items

Posted by "pierre.gaudin" <pi...@nereide.fr>.
You can also remove webapp declaration for AR and AP.

Pierre

On 29/03/2013 08:36, Hans Bakker wrote:
> Sure can do, however the ap/ar can still be reached by typing in the url.
>
> So, why not add some security rules to achieve what you want and 
> create a jira for it?
>
> An excellent chance to become an OFBiz contributor!
>
> Regards,
> Hans
>
>
> On 03/28/2013 04:21 PM, Sumit Pandit wrote:
>> Hi Hans, There is a concern for the case, since no specific 
>> permission exist for AR/AP components, the base permission is 
>> ACCOUNTING.
>> Admin want to display Accounting but not AR and AP.
>> Therefore for such cases, Is setting up the value of 
>> "app-bar-display" to "false" could considered as preferable solution?
>>
>
>


Re: Remove Menu Items

Posted by Hans Bakker <ma...@antwebsystems.com>.
Sure can do, however the ap/ar can still be reached by typing in the url.

So, why not add some security rules to achieve what you want and create 
a jira for it?

An excellent chance to become an OFBiz contributor!

Regards,
Hans


On 03/28/2013 04:21 PM, Sumit Pandit wrote:
> Hi Hans, There is a concern for the case, since no specific permission exist for AR/AP components, the base permission is ACCOUNTING.
> Admin want to display Accounting but not AR and AP.
> Therefore for such cases, Is setting up the value of "app-bar-display" to "false" could considered as preferable solution?
>


Re: Remove Menu Items

Posted by Sumit Pandit <su...@tcs.com>.
Hi Hans, There is a concern for the case, since no specific permission exist for AR/AP components, the base permission is ACCOUNTING. 
Admin want to display Accounting but not AR and AP. 
Therefore for such cases, Is setting up the value of "app-bar-display" to "false" could considered as preferable solution? 

-- 
Thanks And Regards 
Sumit Pandit 
Tata Consultancy Services 
Cell:- 917503046188 
____________________________________________ 

----- Original Message -----

| From: "Hans Bakker" <ma...@antwebsystems.com>
| To: user@ofbiz.apache.org
| Sent: Thursday, March 28, 2013 1:15:12 PM
| Subject: Re: Remove Menu Items

| make sure the user does not have the security permissions for it.

| then it will not appear and he cannot even get it when he knows the
| url.

| Regards,
| hans

| On 03/28/2013 02:37 PM, Vikas wrote:
| > Hi All,
| >
| > I would like to remove some menu items from the ofBiz like
| > Application->AR,
| > Application->AP.
| >
| > Please help me
| >
| > Thanks
| >
| > Vikas
| >
| >
| >
| > --
| > View this message in context:
| > http://ofbiz.135035.n4.nabble.com/Remove-Menu-Items-tp4640177.html
| > Sent from the OFBiz - User mailing list archive at Nabble.com.
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you



Re: Remove Menu Items

Posted by Hans Bakker <ma...@antwebsystems.com>.
make sure the user does not have the security permissions for it.

then it will not appear and he cannot even get it when he knows the url.

Regards,
hans

On 03/28/2013 02:37 PM, Vikas wrote:
> Hi All,
>
> I would like to remove some menu items from the ofBiz like Application->AR,
> Application->AP.
>
> Please help me
>
> Thanks
>
> Vikas
>
>
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Remove-Menu-Items-tp4640177.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.