Jump to content

Block user info is not working


asgllccb

Recommended Posts

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: 

  1. accessKey""
  2. align""
  3. attributesNamedNodeMap
  4. baseURI"http://localhost/public_html/?live_edit=1&ad=admin12&liveToken=f4ee20a142c5374df43fe385b111af22&id_employee=1&id_shop=1"
  5. childElementCount1
  6. childNodesNodeList[2]
  7. childrenHTMLCollection[1]
  8. classListDOMTokenList[1]
  9. className"dndModule"
  10. clientHeight48
  11. clientLeft1
  12. clientTop1
  13. clientWidth1198
  14. contentEditable"inherit"
  15. datasetDOMStringMap
  16. dir""
  17. draggablefalse
  18. firstChildtext
  19. firstElementChildspan
  20. hiddenfalse
  21. id"hook_14_module_22_moduleName_blockuserinfo"
  22. 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>"
  23. innerText" User info block "
  24. isContentEditablefalse
  25. jQuery11100511922875186428464
  26. 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:
  1. accessKey""
  2. align""
  3. attributesNamedNodeMap
  4. baseURI"http://localhost/prestashop_1.6.0.8/prestashop/?live_edit=1&ad=admin3528&liveToken=8e7df0d7559743b27ad6aee378b7015f&id_employee=1&id_shop=1"
  5. childElementCount2
  6. childNodesNodeList[8]
  7. childrenHTMLCollection[2]
  8. classListDOMTokenList[1]
  9. className"dndModule"
  10. clientHeight18
  11. clientLeft1
  12. clientTop1
  13. clientWidth1168
  14. contentEditable"inherit"
  15. datasetDOMStringMap
  16. dir""
  17. draggablefalse
  18. firstChildtext
  19. firstElementChildspan
  20. hiddenfalse
  21. id"hook_95_module_28_moduleName_blockuserinfo"
  22. 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 -->↵"
  23. innerText" User info block ↵Sign in↵"
  24. isContentEditablefalse
  25. jQuery11100377277049934491582
  26. 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 by asgllccb (see edit history)
Link to comment
Share on other sites

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

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!

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...