Hi Christian
Thanks for this mod!
And thanks to Steven300 for posting this question around page 3:
Quote:
Originally Posted by
Steven300
However, I noticed that in includes\templates\template_default\templates, there is a file tpl_checkout_account_default.php which looks like it has all the components for the new account sign up page. I understand how your mod works and that this page is different from the standard one because it automatically inserts the email address previously entered from the last page. But.. my sign up page is already modded with a few contributions (captcha, how did you hear about us etc) and I don't want it to be overwritten with the one from your mod. What do I need to do?
All you need to do is copy tpl_checkout_account_default.php from template_default to your template override directory and then alter it in the same way you did the tpl_modules_create_account.php file.
My problem is, I'm not sure what to do with the following code at the end of the file as it is in the same 'block' as the captcha block of code when looking at performing the merge.
My question is (taking into account your instructions above), do I simply merge the captcha code across, or where exactly do I add the code....eg/ below/above the captcha block (once merged across)?
(I apologize in advance if this is a very basic question : just unsure what 'buttonRow forward' does)
PHP Code:
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CONTINUE, BUTTON_CONTINUE_ALT); ?></div>
</form>
</div>
PHP Code:
<?php
// BOF Captcha
if(is_object($captcha)) {
?>
<fieldset>
<legend><?php echo TITLE_CAPTCHA; ?></legend>
<?php echo $captcha->img(); ?>
<?php echo $captcha->redraw_button(BUTTON_IMAGE_CAPTCHA_REDRAW, BUTTON_IMAGE_CAPTCHA_REDRAW_ALT); ?>
<br class="clearBoth" />
<label for="captcha"><?php echo TITLE_CAPTCHA; ?></label>
<?php echo $captcha->input_field('captcha', 'id="captcha"') . ' <span class="alert">' . TEXT_CAPTCHA . '</span>'; ?>
<br class="clearBoth" />
</fieldset>
<?php
}
// BOF Captcha
?>
Many thanks
Bookmarks