Jump to content

Authentication form gets not displayed


Recommended Posts

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 by codefritz (see edit history)
Link to comment
Share on other sites

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...

 

 

firebug.gif

 

 

 

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

×
×
  • Create New...