|
Hi, So I’m still facing some problems
with the position of my drop downs menu in my template when I add the action
menu in main_menu.inc page in my template the position of sub-menus is not
align with main menu. They appear in the top very far from the main menu. Thanks Thiago
Reis -----Original Message----- First : reply to template_list is
better than send me an email directly ! Don't be worried of that, but how can
take other people benefits of this discussion ? Here you can find the answer (I
suppose of your problem). Explain what I do is easy : I take the absolute
container list "linkContainer" with the ID of the current rendered
topLink and I add the "sub-links" edit button. See main_menu.inc to
test the result (tested on the default corporate portal on Jahia 4.1.1).
Here is a scriplet of the solution : JahiaContainerList linksContainerList = jData.containers().getAbsoluteContainerList( "linkContainer",
topLinkBean.getId() ); if (linksContainerList!=null) { ContainerListBean linksContainerListBean = new
ContainerListBean(linksContainerList,jData.params());
if (linksContainerListBean
!= null) {
if (!
linksContainerListBean.isActionURIsEmpty() ) { jData.gui().html().drawBeginActionMenu(linksContainerListBean
, null, theURL + "/images/add.gif",
false, "", "jahiatemplates.Corporate_portal_templates",
null, out); } } } And that's all ... Ghislain
Ghislain
CUSSONNEAU La Poste - DIPM CAP 44, Rue
Marcel Sembat 44000 02 51 84 48 80 Accédez au courrier
électronique de La Poste : www.laposte.net ; 3615 LAPOSTENET (0,34
/mn) ; tél : 08 92 68 13 50 (0,34/mn) |
- Res: drop-down menu help Thiago Reis - InterFactory
- Re:Res: drop-down menu help ghislain\.cussonneau
- Re: images disappear / drop down Stéphane Croisier
- RE: images disappear / drop down Thiago Reis - InterFactory
- drop-down menu help (again) Thiago Reis - InterFactory
