User Tools

Site Tools


tutorials:switch_to_my_account_home:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorials:switch_to_my_account_home:start [2009/04/24 14:40]
jonyo Re-worded to "warn" people of the more advanced areas so less likely to get scared off, more likely to skip that section
tutorials:switch_to_my_account_home:start [2014/09/25 16:55] (current)
Line 1: Line 1:
-======Switching to the New (4.0) My Account Home Page======+======Switching to the My Account Home Page Introduced in v4======
  
-As of version 4.0.0RC11, the My Account Home page (formerly the User Management Home Page) has been completely re-done. Clean installs of RC11 and later will use the new page by default, but those upgrading from older versions will need to manually switch over, if they desire to do so.+As of version 4.0.0RC11, the My Account Home page (formerly the User Management Home Page) has been completely re-done. Clean installs of 4.0RC11 and later will use the new page by default, but those upgrading from older versions will need to manually switch over, if they desire to do so.
  
 This page of the manual will attempt to elucidate on the new functions and explain how to go about switching to the new My Account Home page. This page of the manual will attempt to elucidate on the new functions and explain how to go about switching to the new My Account Home page.
- 
-Before beginning, one thing to mention for those upgrading to RC11 from previous versions: during the upgrade process, you will be asked to assign a template to the new My Account Page, but at that point in the process, the new module and template mentioned below have not yet been created by the upgrade script. Simply assign any other template to that page and continue with the upgrade, then follow these instructions to enable the new features. (This is may change in a future version of the upgrade) 
- 
- 
  
 =====Overview===== =====Overview=====
  
-There are three elements to the new My Account page, all added by the upgrade to RC11:+There are three elements to the new My Account page, all added after the final 4.0 release:
  
-  *A new module (!MY_ACCOUNT_LINKS!)+  *A new module {module tag='my_account_links'}
   *A new template (Basic Page Template with My Account Links)   *A new template (Basic Page Template with My Account Links)
   *A new page (My Account Page)   *A new page (My Account Page)
  
 In short, instructions for using the new features are: In short, instructions for using the new features are:
-  *Switch the My Account Home Type setting to "My Account Page" +  *Switch the My Account Home Type setting to "My Account Page".  Look to the following new admin tool page and look for the following switch: 
-  *Add the (!MY_ACCOUNT_LINKS!) tag to a templateor use the new template provided during the upgrade. +    * SITE SETUP > USER ACCOUNT SETTINGS > MY ACCOUNT HOME TYPE 
-  *Attach that template to the My Account Home pageand any other pages you'd like it to appear on.+  *There should already be a user_management_page.tpl template within your system now.  If changing the above setting doesn't automatically make the change within your client side home page you will need to create page template specifically for the user management home page or you can modify the template already attached there.  If you need to modify the current template attached to that page just make sure that page template contains the "{module tag='my_account_links'}" template where you want that module to appear in the design of that page and that page contains the "{body_html}" tag (where you want it to appear) and "{header_html}" tag (where it needs to appear in the <head>..</head>).  Once you have the elements in the page you can see what is displayed by each and adjust the template design as you want. 
 +  *Make sure the template created for the user management home page is attached to the following page in the admin tool. 
 +    * PAGES MANAGEMENT > USER MANAGEMENT > MY ACCOUNT HOME PAGE
  
 If that doesn't make sense quite yet, keep reading. If that doesn't make sense quite yet, keep reading.
Line 26: Line 24:
  
 \\ \\
-=====(!MY_ACCOUNT_LINKS!)=====+=====My Account Module Details=====
  
-{{:tutorials:switch_to_my_account_home:my_account_links.png |My Account Links}}+{{:tutorials:switch_to_my_account_home:my_account_link_module.png |My Account Links}}
  
 This is a module that contains, in list format, all the links from the old User Management Home Page. It can be embedded on any page, but is intended for use primarily on the pages it links to (pages dealing with a user's account). It has a few special features: This is a module that contains, in list format, all the links from the old User Management Home Page. It can be embedded on any page, but is intended for use primarily on the pages it links to (pages dealing with a user's account). It has a few special features:
Line 49: Line 47:
 \\ \\
  
-=====Basic Page Template with My Account Links===== +=====My Account Home Page===== 
-All sites will receive this additional template when upgrading to RC11including Basic-level sites, which are unable to add their own templatesThis template is a copy of the default BASIC PAGE TEMPLATE - 1but (!LOGGED_IN_OUT_HTML_5!) has been replaced with (!MY_ACCOUNT_LINKS!).+This page presents a number of informative statistics to the userin place of the old "User Management Home Page,which had the links to account management pages now present in the {module tag='my_account_links'} moduleNote that while those links are not present in the new My Account Home pageit is designed to go hand-in-hand with this module.
  
 +There is a switch in the Admin that selects between the old and new pages. It may be found at **Site Setup > User Account Settings > My Account Home Type**. Based on that switch, the "body_html" for either the old or new page will be used.
  
-\\+**Design Information (Advanced)**:
  
-=====My Account Home Page===== +Layout of the page is controlled by the SMARTY template file at **geo_templates/[your_template_set]/system/user_management/home/my_account_home.tpl** and the CSS file at **geo_templates/[your_template_set]/external/css/user_management/my_account_home.css**Text shown may be edited in the Admin at **Pages Management > User Management > My Account Home Page**.
-This page presents a number of informative statistics to the user, in place of the old "User Management Home Page," which had the links to account management pages now present in the (!MY_ACCOUNT_LINKS!) moduleNote that while those links are not present in the new My Account Home page, it is designed to go hand-in-hand with the new module, which provides all the old functionality plus some.+
  
-There is a switch in the Admin that selects between the old and new pages. It may be found at **Site Setup > Browsing Settings > Miscellaneous Settings > My Account Home Type**. Based on that switch, the "mainbody" for either the old or new page will be used. +**Developer Information (Advanced)**:
- +
-Layout of the page is controlled by the SMARTY template file at **geo_templates/[your_template_set]/system/user_management/home/my_account_home.tpl** and the CSS file at **geo_templates/[your_template_set]/external/css/user_management/my_account_home.css**. Text shown may be edited in the Admin at **Pages Management > User Management > My Account Home Page**.+
  
-DEVELOPERS: The page has hooks for Addons to easily add more stat boxes. Check the default "storefront" Addon for implementation examples.+The page has [[developers:addons:core_events|Addon Core Events (hooks)]] to allow Addons to easily add more stat boxes. See the Example Addon for more information on the software hooks available to use, including implementation examples.
tutorials/switch_to_my_account_home/start.1240584038.txt.gz · Last modified: 2014/09/25 16:55 (external edit)