Hello,
We have a client requesting us to add a menu tab for Quotes alongside Accounting, Order, etc. As Quotes is not a separate component by itself, may I know how I can go about doing this? Thank you. |
Look at the Accounting with AR and AP.
Koon Sang sent the following on 8/4/2010 8:10 PM: > > Hello, > > We have a client requesting us to add a menu tab for Quotes alongside > Accounting, Order, etc. As Quotes is not a separate component by itself, > may I know how I can go about doing this? > > > Thank you. |
In reply to this post by Koon Sang
You can't do it OOTB because the menu is built on the fly by looking at the available webapps (that don't have app-bar-display="false").
Your only options are to either create a special webapp that just redirects to the order quote screen or to modify the theme's appbarOpen.ftl template (if you're allowing theme selection then you really need to do it in all of the themes). Regards Scott HotWax Media http://www.hotwaxmedia.com On 5/08/2010, at 3:10 PM, Koon Sang wrote: > > Hello, > > We have a client requesting us to add a menu tab for Quotes alongside > Accounting, Order, etc. As Quotes is not a separate component by itself, > may I know how I can go about doing this? > > > Thank you. > -- > View this message in context: http://ofbiz.135035.n4.nabble.com/New-Top-Menu-Tab-tp2314387p2314387.html > Sent from the OFBiz - User mailing list archive at Nabble.com. smime.p7s (3K) Download Attachment |
Hello,
Thanks for all the advises given. The requirement is very simple - a top menu tab that serves as 'quick link' to /ordermgr/control/FindQuote instead of having to click on "Order" then "Quotes". By following ap and ar settings in Accounting, I managed to get "Quotes" to display as a top menu tab where the first page is the same as the UI for /ordermgr/control/FindQuote. As I cannot have the same mount point as "ordermgr", all the links are "mounted" with whatever name I set in "ofbiz-component.xml" which definite not working. I added this in my controller.xml; <request-map uri="main"> <security https="true" auth="true"/> <response name="success" type="cross-redirect" value="/ordermgr/control/FindQuote"/> </request-map> When I clicked on the "Quotes" tab, it goes to intended page but the "Quotes" tab is not selected. Instead "Order" tab is selected. Although it is less than perfect, I think it does serve the purpose of a "quick link", unless someone has a better workaround. Thank you. |
if you note in the AP ofbiz-component.xml
it has three mount points. and you have seperate web apps, under webapp folder. you don't have to put all of quotes in the quotes webapp, just the controller for those pages you want to use. you can look at the Ecommerce clone as an example. Koon Sang sent the following on 8/5/2010 12:49 AM: > > Hello, > > Thanks for all the advises given. The requirement is very simple - a top > menu tab that serves as 'quick link' to /ordermgr/control/FindQuote instead > of having to click on "Order" then "Quotes". By following ap and ar > settings in Accounting, I managed to get "Quotes" to display as a top menu > tab where the first page is the same as the UI for > /ordermgr/control/FindQuote. As I cannot have the same mount point as > "ordermgr", all the links are "mounted" with whatever name I set in > "ofbiz-component.xml" which definite not working. I added this in my > controller.xml; > > <request-map uri="main"> > <security https="true" auth="true"/> > <response name="success" type="cross-redirect" > value="/ordermgr/control/FindQuote"/> > </request-map> > > When I clicked on the "Quotes" tab, it goes to intended page but the > "Quotes" tab is not selected. Instead "Order" tab is selected. Although it > is less than perfect, I think it does serve the purpose of a "quick link", > unless someone has a better workaround. > > Thank you. |
Free forum by Nabble | Edit this page |