Sitemap issue

View: New views
5 Messages — Rating Filter:   Alert me  

Sitemap issue

by Bojana Lalic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi all

 

I’ve got an IE6 issue with my sitemap (jahia5) .The whole page is skewed and to the left: http://tiny.cc/A8AHO

 

I’ve tried eliminating the styles in order to see if that’s where the bug is but didn’t have much luck. I’ve tried renaming the file that the sitemap template points to. The IE6 problem disappears, but then the sitemap doesn’t work (the tree structure isn’t displayed). This makes me think that it to do with the filename (sitemap.jsp) and that somewhere in the code there is a setting for when a template uses this particular filename something is added/done to it. Could someone please point me in the right direction?

 

By the way, there are  no errors in the logs.

 

And here is the content of my sitemap.jsp:

 

<%@ page import="org.jahia.taglibs.ajax.ComplexTreeInclude"%>

<%-- TODO: We are not currently caching the engines with ESI, do it. --%>

<%@ taglib uri="/WEB-INF/tld/jesi-tags" prefix="jesi" %>

<%-- Don't cache the engines with ESI: --%>

<jesi:control cache="no"/>

 

<%@ include file="include/header.inc"%>

 

<% request.setAttribute("ignore_fragment_in_top_header.inc","true");%>

 

<%

    final String title = JahiaResourceBundle.

            getEngineResource("org.jahia.engines.pages.PageProperties_Engine.pageTitle.label",

                    jParams, jParams.getLocale()) + "<i>(" +

            jParams.getLocale().getDisplayLanguage(jParams.getLocale()) + ")</i>";

    final String entryPoint = jParams.getSite().getHomeContentPage().getObjectKey().toString();

%>

 

<h2><content:resourceBundle resourceBundle="jahiatemplates.Corporate_portal_templates" resourceName="siteMap"/></h2>

<div id="sitemap">

      <table width="100%" border="0" cellpadding="0" cellspacing="0">

            <tr>

                  <td class="maintable10">

                        <ajax:complexTreeInclude divID="tree1"

                                                             style="<%=ComplexTreeInclude.SITEMAP_STYLE%>"

                                                             title="<%=title%>"

                                                             entryPointKey="<%=entryPoint%>"/>

                  </td>

            </tr>

      </table>

</div>

<%@ include file="include/footer.inc" %>

 

 

Regards


Bojana

 



IMPORTANT: This e-mail, including any attachments, may contain private or confidential information. If you think you may not be the intended recipient, or if you have received this e-mail in error, please contact the sender immediately and delete all copies of this e-mail. If you are not the intended recipient, you must not reproduce any part of this e-mail or disclose its contents to any other party. This email represents the views of the individual sender, which do not necessarily reflect those of Education.au except where the sender expressly states otherwise. It is your responsibility to scan this email and any files transmitted with it for viruses or any other defects. education.au limited will not be liable for any loss, damage or consequence caused directly or indirectly by this email.

_______________________________________________
dev_list mailing list
dev_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list

Re : Sitemap issue

by Bastien-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

First, sorry for my poor english.

I don't know if it can resolve your problem, but when I watch your page source in my browser I found some code between the doctype and the html tag. Perhaps IE don't like that. But I'm sure it's not W3C compliant.

When I check page source in W3C validator, I see too that your menu don't seem to be well generated (check your UL and LI tags)

Hope your sitemap will be good in IE after.



De : Bojana Lalic <blalic@...>
À : Here you can discuss and comment current and future developments of Jahia <dev_list@...>
Envoyé le : Mercredi, 21 Janvier 2009, 0h48mn 28s
Objet : [dev_list] Sitemap issue

Hi all

 

I’ve got an IE6 issue with my sitemap (jahia5) .The whole page is skewed and to the left: http://tiny.cc/A8AHO

 

I’ve tried eliminating the styles in order to see if that’s where the bug is but didn’t have much luck. I’ve tried renaming the file that the sitemap template points to. The IE6 problem disappears, but then the sitemap doesn’t work (the tree structure isn’t displayed). This makes me think that it to do with the filename (sitemap.jsp) and that somewhere in the code there is a setting for when a template uses this particular filename something is added/done to it. Could someone please point me in the right direction?

 

By the way, there are  no errors in the logs.

 

And here is the content of my sitemap.jsp:

 

<%@ page import="org.jahia.taglibs.ajax.ComplexTreeInclude"%>

<%-- TODO: We are not currently caching the engines with ESI, do it. --%>

<%@ taglib uri="/WEB-INF/tld/jesi-tags" prefix="jesi" %>

<%-- Don't cache the engines with ESI: --%>

<jesi:control cache="no"/>

 

<%@ include file="include/header.inc"%>

 

<% request.setAttribute("ignore_fragment_in_top_header.inc","true");%>

 

<%

    final String title = JahiaResourceBundle.

            getEngineResource("org.jahia.engines.pages.PageProperties_Engine.pageTitle.label",

                    jParams, jParams.getLocale()) + "<i>(" +

            jParams.getLocale().getDisplayLanguage(jParams.getLocale()) + ")</i>";

    final String entryPoint = jParams.getSite().getHomeContentPage().getObjectKey().toString();

%>

 

<h2><content:resourceBundle resourceBundle="jahiatemplates.Corporate_portal_templates" resourceName="siteMap"/></h2>

<div id="sitemap">

      <table width="100%" border="0" cellpadding="0" cellspacing="0">

            <tr>

                  <td class="maintable10">

                        <ajax:complexTreeInclude divID="tree1"

                                                             style="<%=ComplexTreeInclude.SITEMAP_STYLE%>"

                                                             title="<%=title%>"

                                                             entryPointKey="<%=entryPoint%>"/>

                  </td>

            </tr>

      </table>

</div>

<%@ include file="include/footer.inc" %>

 

 

Regards


Bojana

 



IMPORTANT: This e-mail, including any attachments, may contain private or confidential information. If you think you may not be the intended recipient, or if you have received this e-mail in error, please contact the sender immediately and delete all copies of this e-mail. If you are not the intended recipient, you must not reproduce any part of this e-mail or disclose its contents to any other party. This email represents the views of the individual sender, which do not necessarily reflect those of Education.au except where the sender expressly states otherwise. It is your responsibility to scan this email and any files transmitted with it for viruses or any other defects. education.au limited will not be liable for any loss, damage or consequence caused directly or indirectly by this email.


_______________________________________________
dev_list mailing list
dev_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list

Sitemap issue

by Bojana Lalic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi all

 

I’ve got an IE6 issue with my sitemap (jahia5) .The whole page is skewed and to the left: http://tiny.cc/A8AHO

 

I’ve tried eliminating the styles in order to see if that’s where the bug is but didn’t have much luck. I’ve tried renaming the file that the sitemap template points to. The IE6 problem disappears, but then the sitemap doesn’t work (the tree structure isn’t displayed). This makes me think that it to do with the filename (sitemap.jsp) and that somewhere in the code there is a setting for when a template uses this particular filename something is added/done to it. Could someone please point me in the right direction?

 

By the way, there are  no errors in the logs.

 

And here is the content of my sitemap.jsp:

 

<%@ page import="org.jahia.taglibs.ajax.ComplexTreeInclude"%>

<%-- TODO: We are not currently caching the engines with ESI, do it. --%>

<%@ taglib uri="/WEB-INF/tld/jesi-tags" prefix="jesi" %>

<%-- Don't cache the engines with ESI: --%>

<jesi:control cache="no"/>

 

<%@ include file="include/header.inc"%>

 

<% request.setAttribute("ignore_fragment_in_top_header.inc","true");%>

 

<%

    final String title = JahiaResourceBundle.

            getEngineResource("org.jahia.engines.pages.PageProperties_Engine.pageTitle.label",

                    jParams, jParams.getLocale()) + "<i>(" +

            jParams.getLocale().getDisplayLanguage(jParams.getLocale()) + ")</i>";

    final String entryPoint = jParams.getSite().getHomeContentPage().getObjectKey().toString();

%>

 

<h2><content:resourceBundle resourceBundle="jahiatemplates.Corporate_portal_templates" resourceName="siteMap"/></h2>

<div id="sitemap">

      <table width="100%" border="0" cellpadding="0" cellspacing="0">

            <tr>

                  <td class="maintable10">

                        <ajax:complexTreeInclude divID="tree1"

                                                             style="<%=ComplexTreeInclude.SITEMAP_STYLE%>"

                                                             title="<%=title%>"

                                                             entryPointKey="<%=entryPoint%>"/>

                  </td>

            </tr>

      </table>

</div>

<%@ include file="include/footer.inc" %>

 

 

Regards


Bojana

 



IMPORTANT: This e-mail, including any attachments, may contain private or confidential information. If you think you may not be the intended recipient, or if you have received this e-mail in error, please contact the sender immediately and delete all copies of this e-mail. If you are not the intended recipient, you must not reproduce any part of this e-mail or disclose its contents to any other party. This email represents the views of the individual sender, which do not necessarily reflect those of Education.au except where the sender expressly states otherwise. It is your responsibility to scan this email and any files transmitted with it for viruses or any other defects. education.au limited will not be liable for any loss, damage or consequence caused directly or indirectly by this email.

_______________________________________________
dev_list mailing list
dev_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list

Re: Sitemap issue

by Bojana Lalic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi Bastien

Thanks for your suggestion, however the menu is the same across all templates/pages. Yet, it’s only the sitemap template that’s not displaying correctly in IE6. Do you think it could still be related?

Thanks

B

Wed, 21 Jan 2009 04:04:30 -0800

First, sorry for my poor english.

 

I don't know if it can resolve your problem, but when I watch your page source

in my browser I found some code between the doctype and the html tag. Perhaps

IE don't like that. But I'm sure it's not W3C compliant.

 

When I check page source in W3C validator, I see too that your menu don't seem

to be well generated (check your UL and LI tags)

 

Hope your sitemap will be good in IE after.

 

 

From: Bojana Lalic
Sent: Wednesday, 28 January 2009 3:26 PM
To: 'Here you can discuss and comment current and future developments of Jahia'
Subject: Sitemap issue

 

Hi all

 

I’ve got an IE6 issue with my sitemap (jahia5) .The whole page is skewed and to the left: http://tiny.cc/A8AHO

 

I’ve tried eliminating the styles in order to see if that’s where the bug is but didn’t have much luck. I’ve tried renaming the file that the sitemap template points to. The IE6 problem disappears, but then the sitemap doesn’t work (the tree structure isn’t displayed). This makes me think that it to do with the filename (sitemap.jsp) and that somewhere in the code there is a setting for when a template uses this particular filename something is added/done to it. Could someone please point me in the right direction?

 

By the way, there are  no errors in the logs.

 

And here is the content of my sitemap.jsp:

 

<%@ page import="org.jahia.taglibs.ajax.ComplexTreeInclude"%>

<%-- TODO: We are not currently caching the engines with ESI, do it. --%>

<%@ taglib uri="/WEB-INF/tld/jesi-tags" prefix="jesi" %>

<%-- Don't cache the engines with ESI: --%>

<jesi:control cache="no"/>

 

<%@ include file="include/header.inc"%>

 

<% request.setAttribute("ignore_fragment_in_top_header.inc","true");%>

 

<%

    final String title = JahiaResourceBundle.

            getEngineResource("org.jahia.engines.pages.PageProperties_Engine.pageTitle.label",

                    jParams, jParams.getLocale()) + "<i>(" +

            jParams.getLocale().getDisplayLanguage(jParams.getLocale()) + ")</i>";

    final String entryPoint = jParams.getSite().getHomeContentPage().getObjectKey().toString();

%>

 

<h2><content:resourceBundle resourceBundle="jahiatemplates.Corporate_portal_templates" resourceName="siteMap"/></h2>

<div id="sitemap">

      <table width="100%" border="0" cellpadding="0" cellspacing="0">

            <tr>

                  <td class="maintable10">

                        <ajax:complexTreeInclude divID="tree1"

                                                             style="<%=ComplexTreeInclude.SITEMAP_STYLE%>"

                                                             title="<%=title%>"

                                                             entryPointKey="<%=entryPoint%>"/>

                  </td>

            </tr>

      </table>

</div>

<%@ include file="include/footer.inc" %>

 

 

Regards


Bojana

 



IMPORTANT: This e-mail, including any attachments, may contain private or confidential information. If you think you may not be the intended recipient, or if you have received this e-mail in error, please contact the sender immediately and delete all copies of this e-mail. If you are not the intended recipient, you must not reproduce any part of this e-mail or disclose its contents to any other party. This email represents the views of the individual sender, which do not necessarily reflect those of Education.au except where the sender expressly states otherwise. It is your responsibility to scan this email and any files transmitted with it for viruses or any other defects. education.au limited will not be liable for any loss, damage or consequence caused directly or indirectly by this email.

_______________________________________________
dev_list mailing list
dev_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list

Re : Sitemap issue

by Bastien-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi Bojana,

I'm not sure my suggestion can resolve your problem. But I'm sure that if a HTML page is well-formed and W3C compliant, there are more chance it works on all browsers.

The sitemap.jsp is not the problem. It works fine. See for example www.jahia.com to convince you.
But the problem is the integration in your template.

Best regards



De : Bojana Lalic <blalic@...>
À : Here you can discuss and comment current and future developments of Jahia <dev_list@...>
Envoyé le : Vendredi, 27 Mars 2009, 6h05mn 52s
Objet : Re: [dev_list] Sitemap issue

Hi Bastien

Thanks for your suggestion, however the menu is the same across all templates/pages. Yet, it’s only the sitemap template that’s not displaying correctly in IE6. Do you think it could still be related?

Thanks

B

Wed, 21 Jan 2009 04:04:30 -0800

First, sorry for my poor english.

 

I don't know if it can resolve your problem, but when I watch your page source

in my browser I found some code between the doctype and the html tag. Perhaps

IE don't like that. But I'm sure it's not W3C compliant.

 

When I check page source in W3C validator, I see too that your menu don't seem

to be well generated (check your UL and LI tags)

 

Hope your sitemap will be good in IE after.

 

 

From: Bojana Lalic
Sent: Wednesday, 28 January 2009 3:26 PM
To: 'Here you can discuss and comment current and future developments of Jahia'
Subject: Sitemap issue

 

Hi all

 

I’ve got an IE6 issue with my sitemap (jahia5) .The whole page is skewed and to the left: http://tiny.cc/A8AHO

 

I’ve tried eliminating the styles in order to see if that’s where the bug is but didn’t have much luck. I’ve tried renaming the file that the sitemap template points to. The IE6 problem disappears, but then the sitemap doesn’t work (the tree structure isn’t displayed). This makes me think that it to do with the filename (sitemap.jsp) and that somewhere in the code there is a setting for when a template uses this particular filename something is added/done to it. Could someone please point me in the right direction?

 

By the way, there are  no errors in the logs.

 

And here is the content of my sitemap.jsp:

 

<%@ page import="org.jahia.taglibs.ajax.ComplexTreeInclude"%>

<%-- TODO: We are not currently caching the engines with ESI, do it. --%>

<%@ taglib uri="/WEB-INF/tld/jesi-tags" prefix="jesi" %>

<%-- Don't cache the engines with ESI: --%>

<jesi:control cache="no"/>

 

<%@ include file="include/header.inc"%>

 

<% request.setAttribute("ignore_fragment_in_top_header.inc","true");%>

 

<%

    final String title = JahiaResourceBundle.

            getEngineResource("org.jahia.engines.pages.PageProperties_Engine.pageTitle.label",

                    jParams, jParams.getLocale()) + "<i>(" +

            jParams.getLocale().getDisplayLanguage(jParams.getLocale()) + ")</i>";

    final String entryPoint = jParams.getSite().getHomeContentPage().getObjectKey().toString();

%>

 

<h2><content:resourceBundle resourceBundle="jahiatemplates.Corporate_portal_templates" resourceName="siteMap"/></h2>

<div id="sitemap">

      <table width="100%" border="0" cellpadding="0" cellspacing="0">

            <tr>

                  <td class="maintable10">

                        <ajax:complexTreeInclude divID="tree1"

                                                             style="<%=ComplexTreeInclude.SITEMAP_STYLE%>"

                                                             title="<%=title%>"

                                                             entryPointKey="<%=entryPoint%>"/>

                  </td>

            </tr>

      </table>

</div>

<%@ include file="include/footer.inc" %>

 

 

Regards


Bojana

 



IMPORTANT: This e-mail, including any attachments, may contain private or confidential information. If you think you may not be the intended recipient, or if you have received this e-mail in error, please contact the sender immediately and delete all copies of this e-mail. If you are not the intended recipient, you must not reproduce any part of this e-mail or disclose its contents to any other party. This email represents the views of the individual sender, which do not necessarily reflect those of Education.au except where the sender expressly states otherwise. It is your responsibility to scan this email and any files transmitted with it for viruses or any other defects. education.au limited will not be liable for any loss, damage or consequence caused directly or indirectly by this email.


_______________________________________________
dev_list mailing list
dev_list@...
http://lists.jahia.org/cgi-bin/mailman/listinfo/dev_list