public:cs-cart
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:cs-cart [2014/02/17 05:46] – [Directory Structure] squires | public:cs-cart [2014/03/03 05:34] (current) – squires | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| * themes | * themes | ||
| * basic | * basic | ||
| + | |||
| + | ===== Execution Path ===== | ||
| + | |||
| + | index | ||
| + | init | ||
| + | config setup | ||
| + | |||
| + | fn_dispatch (fn.control.php) | ||
| + | * determines all controllers that need to run, including addons and pre- and post-hooks | ||
| + | * calls fn_run_controller() for each | ||
| + | * calls $view-> | ||
| + | * since all the controllers have run at this time, all smarty variable assignments should be ready | ||
| + | |||
| + | ==== Form Submission ==== | ||
| + | |||
| + | Javascript event ce.formpost_[form_name] is triggered after validation and before form is posted. Returning false will cancel the submission. | ||
| ===== User Interface ===== | ===== User Interface ===== | ||
| Line 32: | Line 48: | ||
| The hooks are generally only found where the developers needed to put them to develop their built-in addons. More often, you'll find you need to replace an entire template. You won't easily discover this method by looking at the built-in addons, because the developers have added hooks so that they don't need to override template files. | The hooks are generally only found where the developers needed to put them to develop their built-in addons. More often, you'll find you need to replace an entire template. You won't easily discover this method by looking at the built-in addons, because the developers have added hooks so that they don't need to override template files. | ||
| + | |||
| + | ==== Template Engine ==== | ||
| + | |||
| + | ' | ||
| + | |||
| + | ==== Template Javascript ==== | ||
| + | |||
| + | For templates that are added to the page via ajax calls, embedded scripts are not executed. However, a ' | ||
| + | |||
| + | < | ||
| + | $.ceEvent(' | ||
| + | // code here | ||
| + | }); | ||
| + | </ | ||
| ===== Code / Addons ===== | ===== Code / Addons ===== | ||
public/cs-cart.1392615966.txt.gz · Last modified: 2014/02/17 05:46 by squires