asgllccb Posted August 13, 2014 Share Posted August 13, 2014 (edited) My block user info does not seem to be working at all after upgrade on test wamp to 1.6.0.8. Yes it is installed. I have also disabled and restarted it, cleared cache. Inspect element in chrome is showing that it is only displaying the icon in live edit mode, otherwise...nothing. Please help..... I also have on my wamp server a fresh install of 1.6.0.8 to compare my upgraded one to for testing the upgrade for my live site. In inspect element in chrome comparing the two, the first difference I see in the elements is this difference: what appears to be some extra CDATA stuff. I have no idea what it means. or if it has an influence. Upgrade: <script type="text/javascript">/* <![CDATA[ */;modules_list.push('blockuserinfo');/* ]]> */</script> fresh install: <script type="text/javascript"> modules_list.push('blockuserinfo');</script> The next part of the elements is this: Upgrade: <div id="hook_14_module_22_moduleName_blockuserinfo" class="dndModule" style="border: 1px dotted red;height:50px;"> With the following in the properties area for this: accessKey: "" align: "" attributes: NamedNodeMap baseURI: "http://localhost/public_html/?live_edit=1&ad=admin12&liveToken=f4ee20a142c5374df43fe385b111af22&id_employee=1&id_shop=1" childElementCount: 1 childNodes: NodeList[2] children: HTMLCollection[1] classList: DOMTokenList[1] className: "dndModule" clientHeight: 48 clientLeft: 1 clientTop: 1 clientWidth: 1198 contentEditable: "inherit" dataset: DOMStringMap dir: "" draggable: false firstChild: text firstElementChild: span hidden: false id: "hook_14_module_22_moduleName_blockuserinfo" innerHTML: " <span style="font-family: Georgia;font-size:13px;font-style:italic;"> <img style="padding-right:5px;" src="/public_html/modules/blockuserinfo/logo.gif">User info block<span style="float:right"> <a href="http://localhost/public_html/?live_edit=1&ad=admin12&liveToken=f4ee20a142c5374df43fe385b111af22&id_employee=1&id_shop=1&live_edit&liveToken=f4ee20a142c5374df43fe385b111af22&ad=admin12&id_shop=1&id_employee=1#" id="14_22" class="moveModule"> <img src="/public_html/img/admin/arrow_out.png"></a> <a href="http://localhost/public_html/?live_edit=1&ad=admin12&liveToken=f4ee20a142c5374df43fe385b111af22&id_employee=1&id_shop=1&live_edit&liveToken=f4ee20a142c5374df43fe385b111af22&ad=admin12&id_shop=1&id_employee=1#" id="14_22" class="unregisterHook"> <img src="/public_html/img/admin/delete.gif"></a></span> </span>" innerText: " User info block " isContentEditable: false jQuery111005119228751864284: 64 lang: "" Compared to this from my fresh install: <div id="hook_95_module_28_moduleName_blockuserinfo" class="dndModule" style="border: 1px dotted red;"> With this in the properties area: accessKey: "" align: "" attributes: NamedNodeMap baseURI: "http://localhost/prestashop_1.6.0.8/prestashop/?live_edit=1&ad=admin3528&liveToken=8e7df0d7559743b27ad6aee378b7015f&id_employee=1&id_shop=1" childElementCount: 2 childNodes: NodeList[8] children: HTMLCollection[2] classList: DOMTokenList[1] className: "dndModule" clientHeight: 18 clientLeft: 1 clientTop: 1 clientWidth: 1168 contentEditable: "inherit" dataset: DOMStringMap dir: "" draggable: false firstChild: text firstElementChild: span hidden: false id: "hook_95_module_28_moduleName_blockuserinfo" innerHTML: "↵ <span style="font-family: Georgia;font-size:13px;font-style:italic;">↵ <img style="padding-right:5px;" src="/prestashop_1.6.0.8/prestashop/modules/blockuserinfo/logo.gif">User info block<span style="float:right">↵ <a href="http://localhost/prestashop_1.6.0.8/prestashop/?live_edit=1&ad=admin3528&liveToken=8e7df0d7559743b27ad6aee378b7015f&id_employee=1&id_shop=1&live_edit&liveToken=8e7df0d7559743b27ad6aee378b7015f&ad=admin3528&id_shop=1&id_employee=1#" id="95_28" class="moveModule">↵ <img src="/prestashop_1.6.0.8/prestashop/img/admin/arrow_out.png"></a>↵ <a href="http://localhost/prestashop_1.6.0.8/prestashop/?live_edit=1&ad=admin3528&liveToken=8e7df0d7559743b27ad6aee378b7015f&id_employee=1&id_shop=1&live_edit&liveToken=8e7df0d7559743b27ad6aee378b7015f&ad=admin3528&id_shop=1&id_employee=1#" id="95_28" class="unregisterHook">↵ <img src="/prestashop_1.6.0.8/prestashop/img/admin/delete.gif"></a></span>↵ </span><!-- Block user information module NAV -->↵<div class="header_user_info">↵ <a class="login" href="http://localhost/prestashop_1.6.0.8/prestashop/my-account?live_edit&liveToken=8e7df0d7559743b27ad6aee378b7015f&ad=admin3528&id_shop=1&id_employee=1" rel="nofollow" title="Log in to your customer account">↵ Sign in↵ </a>↵ </div>↵<!-- /Block usmodule NAV -->↵" innerText: " User info block ↵Sign in↵" isContentEditable: false jQuery111003772770499344915: 82 lang: "" Something is messed up with the user info block such that I am loosing its functioning to be able to sign in. The nav TPL files in both block user info in the files for the two test sites match exactly. Both blockuserinfo TPL files are blank. Again, the first difference in the one not working is the CDATA info, but I don't know what that is. Please help! Edited August 13, 2014 by asgllccb (see edit history) Link to comment Share on other sites More sharing options...
asgllccb Posted August 14, 2014 Author Share Posted August 14, 2014 Bump. Anyone?? Link to comment Share on other sites More sharing options...
asgllccb Posted August 15, 2014 Author Share Posted August 15, 2014 I have since learned that CDATA is a way to make browsers and google not see the data associated with it...which is a little confusing because the permanent links block that includes contact and site map links is displaying the links for those also shows CDATA. Aside from the CDATA, the code I showed on the fresh install shows the "sign in" while the updated test sight does not. Anyone have any leads where that code would need to be inserted and what it would need to be? Pleeease...??? Link to comment Share on other sites More sharing options...
asgllccb Posted August 18, 2014 Author Share Posted August 18, 2014 Really...no body? Not even moderators, prestashop or other people who know more about coding? Link to comment Share on other sites More sharing options...
asgllccb Posted August 26, 2014 Author Share Posted August 26, 2014 An update for the user info module showed up. This is what I had to do... Update the module, reset the module, clear browser cache, set prestashop to force recompile and it worked! Thank you prestashop for the update for the module for 1.6X! 1 Link to comment Share on other sites More sharing options...
Recommended Posts