codefritz Posted October 6, 2013 Share Posted October 6, 2013 (edited) I cklick on the next Button in the Basket-Page. Then a page with a email form comes up. If I enter a email address here and click on next the next page gets loaded but the content is not displayed .It's supposed to be a form with detailed user informations...The html code looks good but it seems that ajax does not change the "display: none" attribute. <div id="center_column" class=" grid_5"> <div id="noSlide" style="display: none;"> My Firebug Console says there are no errors...really sad about that problem.. with the original template it works of course but comparing the original one and my template I cant recognize a significant difference... It somehow seems to be related with the header.. if I completely remove the header... it works..but if I add my own header (the only difference is that I have an own structure of div's which form the page structure) it doesnt work. It also seems my problem is related with the following line of authentication.tpl (Nr127): $('#center_column').html('<div id="noSlide">'+$('#center_column').html()+'</div>'); What does it do? Thanks in advance for your help, Regards, cf PS: Sorry for crossposting I did post this problem also in the section "configuring Prestashop"..maybe an Admin can delete/move this post. Edited October 6, 2013 by codefritz (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted October 7, 2013 Share Posted October 7, 2013 hello i fixed several similar problems to your. i can inspect your website code but you have to share url, without access to front-end is hard to say what's going on there exactly Link to comment Share on other sites More sharing options...
codefritz Posted October 7, 2013 Author Share Posted October 7, 2013 Hi vekia, thanks for your support, well unfortunately the website is not yet online. But I add the php code and a screenshot of the firebug output. Interesting: the center_column (which is containing the content) is listed twice. Firstly with the hidden attribute (display:none) and another time... thats really strange... Here you can find the complete code (which is kind of different to the on firebugs lists). Here the center_column element comes up only once, and its not hidden. http://kaffeeroesterei-nuernberg.de/auth_not_working.txt So far I figured out if I comment the line //$('#noSlide').fadeOut('slow', function(){ in the function function submitFunction() (line 107) everything works finde and the page content gets displayed correctly.. Hope this information helps... Thanks in advance Link to comment Share on other sites More sharing options...
vekia Posted October 7, 2013 Share Posted October 7, 2013 so your issue is solved? Link to comment Share on other sites More sharing options...
codefritz Posted October 7, 2013 Author Share Posted October 7, 2013 Basically yes.. but it seems like a dirrty workaround..... So I would prefer a clean solution without commenting a line in the script... Link to comment Share on other sites More sharing options...
Recommended Posts