Hi.
I want to manually add customers rather then have them sign up themselves.
I made a backup of the tpl_login_default and then removed the following code...
This means my site just runs with a simple log in screen.... when adding new customers I quickly rename the tpl_login_default to tpl_login_default1 or something and then change the backup (original) file back to the tpl_login_default and then enter the customer details and submit then change file names back so sites just a log in page.Code:<?php echo zen_draw_form('create_account', zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'), 'post', 'onsubmit="return check_form(create_account);" id="createAccountForm"') . zen_draw_hidden_field('action', 'process') . zen_draw_hidden_field('email_pref_html', 'email_format'); ?> <fieldset> <legend><?php echo HEADING_NEW_CUSTOMER; ?></legend> <div class="information"><?php echo TEXT_NEW_CUSTOMER_INTRODUCTION; ?></div> <?php require($template->get_template_dir('tpl_modules_create_account.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_create_account.php'); ?> </fieldset> <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT); ?></div> </form>
Its a pain in the ... but it works...
I was wondering what I would need to do to be able to simply change login on the main page to something totally random and beable to access the original login page to reg users.
As it is now going to home goes to domain/index.php?main_page=login
How could I get it so that I could manually enter say domain/index.php?main_page=onlymeregyou
I have tried copying the login folder in modules/pages and renaming... adding the name to the filenames list and such but theres more i'm missing and trying to figure out.
Could anyone help at all? Thank you very much in advance!


Reply With Quote

