technical questions about Jahia framework ALL
"Thiago Reis - InterFactory" <[email protected]>
| Newsgroups | gmane.comp.cms.jahia.template |
|---|---|
| Message-ID | <000001c64a01$79c1bb00$320000ac@interdomain> |
Hello,
We're facing some technical questions about Jahia framework in our
templates:
1) We changed the main_menu.inc file and add an action menu without a
left-nav to fit in our template that doesn't support left-nav, this
implementation was:
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);
}
}
}
After that the drop-downs sub-menu position was not align with my main
menu (they appear in the top very far from my main menu in my template).
But if I replace the main_menu.inc from my template to default corporate
template everything works in sub-menu position. We tried to fix it
changing the webcss.jsp to:
.topmenu<%=myColor%>,
.topmenuon<%=myColor%> {
font-family: Arial;
font-size: 11px;
border-right: 1px;
padding: 12px 0px 0 0px;
white-space: nowrap;
color: #7F7F7F;
display:block;
display:inline; < here***
padding:5px;
}
.topmenu<%=myColor%> a,
.topmenuon<%=myColor%> a {
font-family: Verdana;
font-size: 11px;
border-right: 1px;
padding: 12px 0px 0 0px;
white-space: nowrap;
color: #7F7F7F;
display:block;
display:inline;
padding:5px;
After this change the sub-menu items appears in the right position just
at the Mozilla browser when we use Internet Explorer the error remain
(the sub-menu appears in the top very far from my main menu).
Other point is to add new pages in this implementation we have to change
our site template to default simple_template (with left-nav) just then
after all changes apply my template again.
We didn't figure how:
2) Put the languages flags in the live mode to user set his site
language.
3) Upload swf files like (banners) as we do with images in the site.
4) CSS inside the editor doesn't work when we try to see it in live
mode. It works on edit mode.
5) Upload images in the portlets directly from the user computer and not
from an absolute path URL (e.g.: http://server/jahia/..../img.gif)
6) Put title in internal pages.
7) Contact us form.
PS: our template attached.
Thank you very much.
Regards,
Thiago Reis
System Analyst
InterFactory
Phone: 55(11) 3868 3402 - ext: 15
interFactory.zip
(application/octet-stream, 590.4 KB) - not displayed