Change location to insert HTML Youama Ajax Login & Registration - Magento -


i'm using extension "youama ajax login , register", , inserts html page serves modal window (lightbox popup or not know how call it).

however, inserts html on:

<div class="wrapper">   <div class="page">     <div class="main-container">       <div class="main">         <div class="col-main">           <div class="col-home">               /* [here] */ 

i wish inserted after body. idea how this?

you need identify xml youama using place block @ point in code , move rendered child of block after_body_start.

so example in local.xml file like...

<default>     <!-- youama ajax login , register -->     <reference name="after_body_start">         <block type="youama/ajaxlogin" name="youama_login" as="youama_login" template="youama/ajaxlogin.phtml" />     </reference> </default> 

please note made attribute values - need copy them youama xml block.

you need remove youama block it's current assignment or have on page twice. might like

<reference name="content">             <action method="unsetchild"><name>youama_login</name></action> </reference> 

plan b : write javascript rip dom node out current posisiton , re-insert after <body> bit of hack , not encouraged.

either way might have check css selectors in case moving html changes css paths nodes being styled or selected via javascript.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

sql - Duplicate Column name error while executing mysql query? -