user
Uživatel a jeho data.
Nástěnka:
url: /cs/user {user} return: $user - obsahuje data uživatele tpl - šablonu user/home.tpl
Registrace uživatele:
url: /cs/user/sign-up {user} return: $sign_up[] - obsahuje data registrace tpl - šablonu user/sign-up.tpl
Zapomenuté heslo:
url: /cs/user/forgot-password {user} return: tpl - šablonu user/forgot-password.tpl
Nastavení:
url: cs/user/options {user} return: $user[] - obsahuje data uživatele $states[] - seznam států tpl - šablonu user/options.tpl
Objednávky:
url: /cs/user/catalog/orders {user} return: $orders[] - seznam objednávek tpl - šablonu user/orders.tpl
$user:
$user[ customer[ main_contact catalog_profile agent state name mail phone mobile fax street city house_number zip ic dic bank swift account_number created modified 1 2 n... ] contact[ id user_customer user_group state state_name newsletter_group catalog_profile suffix name sc_name title mail opeid phone mohile fax street house_number zip city created modified 1 2 n... is_main ] contacts[][ id user_customer user_group state state_name newsletter_group catalog_profile suffix name sc_name title mail opeid phone mohile fax street house_number zip city created modified 1 2 n... ] activity[][ ip timestamp action ] ]
$smarty.session.user.auth:
$smarty.session.user.auth[ contact_id name sc_name mail customer_name customer_id ]