Je suis nouveau à cakephp quelqu'un peut-il m'aider. J'ai un header.ctpComment afficher uniquement le formulaire d'inscription dans Fancybox Dans cakePHP?
<div id="header">
<a href="#"><?php echo $this->Html->image('1370972247-tp_logo_ww_1.png', array('alt'=>'wrangler','width'=>'205','height'=>'62','class'=>'logo','title'=>'wrangler','border'=>'0'));?></a>
<!--Login Background Starts -->
<div id="login-bg">
<!--Login Area Starts -->
<div id="login-area">
<form action="" method="post" name="Login" id="Login">
<label>Members Login:</label>
<input type="text" name="username" id="username" />
<input type="password" name="pass" id="pass" />
<?php echo $this->Form->submit('/img/login-btn.gif',
array('div' => false, 'class' => 'login-btn', 'name' => 'submit')); ?>
<br class="spacer" />
</form>
<?php echo $this->Html->link('Request Access',
array('controller'=>'users','action'=>'add'),array('id'=>'linkFancyBox','style'=>'color:#FCF7CC;')); ?>
</div>
<!--Login Area Ends -->
</div>
<!--Login Background Ends -->
<br class="spacer" />
</div>
<script type="text/javascript">
$(document).ready(function() {
$("#linkFancyBox").fancybox({
'width' : 600,
'height' : 650,
'overlayOpacity' : '0.4',
'overlayColor' : '#000',
'hideOnContentClick' : false,
'autoScale' : false,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic',
'type' : 'iframe',
'scrolling' : 'no'
});
});
</script>
chaque fois que je clique sur le lien d'accès de demande, je veux afficher uniquement former le site tout ratherthan vous plaît quelqu'un HelpMe