Hello Maheshwari, You need to change the GlobalDecorator. I suggest you to create a new theme that extend tomahawk and change this decorator to include your template.
See https://github.com/apache/ofbiz-framework/blob/trunk/themes/docs/themes.adoc Nicolas On 15/11/2021 09:40, Mahi maheshwari wrote: > Hi, > > I'm using a tomahawk theme. I want to render a navigation sidebar(side-bar > <https://www.canva.com/design/DAEug3mJSbE/lDQDNfQMpMeYdygo5Ri1Iw/edit>) in > all the components/modules, even in sub-modules also. > The navigation sidebar will have all module names. by clicking on the > respective module name it will take you to the respective module. > but I want this requirement in the existing tomahawk theme that will > display this sidebar in all the modules and sub-modules. but I'm not able > to do so as few files are ftl and few are XML => referThis > <https://www.canva.com/design/DAEvyIBvaiM/UqLkp67YS1QOnQE5nQT25Q/edit> > > have tried creating ftl and tried to put it in screen like this > <platform-specific><html><html-template > location="component://common-theme/template/ViewBlocked.ftl"/></html></platform-specific> > but this did not work. > shall I create the screen and include that screen in common screens.xml > file like this > <include-screen name="MinimalActions" /> > <include-screen name="FindScreenDecorator" > location="${groovy:commonScreenLocations.FindScreenDecorator?commonScreenLocations.FindScreenDecorator:commonDecoratorLocation}"/> > if this will work then how can I create screens and render them. > > which approach do I have to use or are any other approaches for my > requirement? > > Best Regards, > Maheshwari. >
