[TYPO3-english] upgrade 4.4 -> 4.6 - strange behavior on tt_news pages

Douglas La Farge douglas.lafarge at gmail.com
Sun Apr 22 23:24:07 CEST 2012


we've figured out what happens.

for some reason when the page is rendered from cache this code gets removed:

GLV_curLayerWidth["topnav1x"]=0;
GLV_curLayerHeight["topnav1x"]=0;
GLV_curLayerX["topnav1x"]=0;
GLV_curLayerY["topnav1x"]=0;
GLV_menuOn["topnav1x"] = null;
GLV_gap["topnav1x"]=1;
GLV_currentLayer["topnav1x"] = null;
GLV_currentROitem["topnav1x"] = null;
GLV_hasBeenOver["topnav1x"]=0;
GLV_doReset["topnav1x"]=false;
GLV_lastKey["topnav1x"] = "Menutopnav1x8";
GLV_onlyOnLoad["topnav1x"] = 0;
GLV_dontHideOnMouseUp["topnav1x"] = 0;
GLV_dontFollowMouse["topnav1x"] = 0;
GLV_date = new Date();
GLV_timeout["topnav1x"] = GLV_date.getTime();
GLV_timeoutRef["topnav1x"] = 3;
GLV_menuXY["topnav1x"] = new Array();
GLV_menuXY["topnav1x"]["Menutopnav1x0"] = new Array(0,0,"itemID085639d292","anchorID085639d292");
GLV_menuXY["topnav1x"]["Menutopnav1x1"] = new Array(72,24,"itemIDc4a051e098","anchorIDc4a051e098");
GLV_menuXY["topnav1x"]["Menutopnav1x2"] = new Array(143,48,"itemIDeeaab070dc","anchorIDeeaab070dc");
GLV_menuXY["topnav1x"]["Menutopnav1x3"] = new Array(287,72,"itemID72b188f9d0","anchorID72b188f9d0");
GLV_menuXY["topnav1x"]["Menutopnav1x4"] = new Array(362,96,"itemIDa4a8e66ce7","anchorIDa4a8e66ce7");
GLV_menuXY["topnav1x"]["Menutopnav1x5"] = new Array(502,120,"itemIDd3dc74c83c","anchorIDd3dc74c83c");
GLV_menuXY["topnav1x"]["Menutopnav1x6"] = new Array(633,144,"itemIDcf1ff8d4ba","anchorIDcf1ff8d4ba");
GLV_menuXY["topnav1x"]["Menutopnav1x7"] = new Array(741,168,"itemID5524f7cee1","anchorID5524f7cee1");
GLV_menuXY["topnav1x"]["Menutopnav1x8"] = new Array(846,192,"itemID8262b27a67","anchorID8262b27a67");

function GLtopnav1x_getMouse(e) {
if (GLV_menuOn["topnav1x"]!=null && !GLV_dontFollowMouse["topnav1x"]){

}
GL_mouseMoveEvaluate("topnav1x");
}
function GLtopnav1x_hideCode() {

GL_getObjCss("Menutopnav1x1").visibility = "hidden";
GL_getObjCss("Menutopnav1x2").visibility = "hidden";
GL_getObjCss("Menutopnav1x3").visibility = "hidden";
GL_getObjCss("Menutopnav1x6").visibility = "hidden";
GL_getObjCss("Menutopnav1x7").visibility = "hidden";
GL_getObjCss("Menutopnav1x8").visibility = "hidden";
}
function GLtopnav1x_doTop(WMid,id) {
var parentObject = GL_getObj(GLV_menuXY[WMid][id][2]);
var TI_width = parentObject.width;
var TI_height = parentObject.height;
var anchorObj = GL_getObj(GLV_menuXY[WMid][id][3]);
var TI_x = anchorObj.x;
var TI_y = anchorObj.y;
GLV_menuOn["topnav1x"].left = (TI_x+0)+"px";
GLV_menuOn["topnav1x"].top = (TI_y+24)+"px";
}
function GLtopnav1x_restoreMenu() {

}
function GLtopnav1x_resetSubMenus() {
var resetSubMenu=1;

return resetSubMenu;
}

GLV_timeout_pointers[GLV_timeout_count] = "topnav1x";
GLV_timeout_count++;
// -->


does anyone have any idea why this would happen?

thanks,
doug


On Apr 22, 2012, at 8:33 AM, Douglas La Farge wrote:

> I downgraded tt_news to 3.1.0 and still had the same problem.
> 
> regards,
> doug
> 
> On Apr 22, 2012, at 1:39 AM, Kay Strobach wrote:
> 
>> tt_news 3.2.0 has a known caching issue ;)
>> 
>> Regards
>> Kay
>> 
>> Am 22.04.2012 07:56, schrieb Jigal van Hemert:
>>> Hi Douglas,
>>> 
>>> On 22-4-2012 3:59, Douglas La Farge wrote:
>>>> I am rendering our menus with gmenu_layers and tmenu_layers.
>>> [...]
>>>> on page reload when you hover over a menu the drop down appears in
>>>> the upper left corner of the page.
>>> [...]
>>>> I've viewed the source from after cache clear, and loaded from cache.
>>>> There is not a single character that is different.
>>>> 
>>>> When I take my source and load it to the server as a text/html
>>>> document the same behavior is present.
>>> 
>>> Hard to say anything about it without at least seeing the resulting page
>>> (a link is often helpful).
>>> 
>>> If you want to find the cause yourself I would start with a tool like
>>> Firebug to see where the positioning of the menus is controlled (CSS /
>>> JS). Then you can start to compare the before and after of those files,
>>> or at least see what is different after reloading.
>>> 
>> 
>> 
>> -- 
>> http://www.kay-strobach.de - Open Source Rocks
>> 
>> TYPO3 .... inspiring people to share!
>> Get involved: http://typo3.org
>> 
>> Answer was useful: https://flattr.com/profile/kaystrobach
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list