Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
Hello! I did download the Extended files (users) and have activate in the addons.

Code: Select all
require_once( K_COUCH_DIR.'addons/cart/session.php' );
require_once( K_COUCH_DIR.'addons/data-bound-form/data-bound-form.php' );
require_once( K_COUCH_DIR.'addons/extended/extended-users.php' );



but when i write
Code: Select all
localhost/users/index.php


I get error
ERROR: Extended Users module - users_tpl 'users/index.php' is not clonable



EDIT: INDEX:php file
Code: Select all
<?php require_once( '../couch/cms.php' ); ?>

<cms:template clonable='1' title='Users' hidden='1'>
    <!--
        If additional fields are required for users, they can be defined here in the usual manner.
    -->       

</cms:template>

<?php COUCH::invoke(); ?>


in the config.php file is:
Code: Select all
    // Names of the required templates
    $t['users_tpl'] = 'users/index.php';
    $t['login_tpl'] = 'users/login.php';
    $t['lost_password_tpl'] = 'users/lost-password.php';
    $t['registration_tpl'] = 'users/register.php';



I'm not really sure what I'm doing wrong :) I quess there is something small I have made wrong, I have followed the tutorial for it.
Hi,

For the time being, please turn off 'extended-users' module (comment it back in kfunctions.php).

Now, visit 'users/index.php' as super-admin using your browser.
Coming back to the admin panel, make sure you can see 'user/index.php' listed in the sidebar and that you can create cloned pages out of it manually.

Similarly, visit all the other templates to make sure they are all properly registered and are visible in the sidebar.

Once you have all the templates ready and available, now go back and activate the 'extended-users' module.

Hope it helps.
Great thanks, after the work i going to try it.
3 posts Page 1 of 1