As work has progressed, this page has become very outdated, it will be updated once my branch stabilizes.
Redesigned filestructure
- /templates
- 404.html (NOCHANGE)
- 500.html (NOCHANGE)
- satchmo_base.html (OLD: base.html)
- _paginator.html (NEW, Reusable paginator "bar"/"widget")
- _messages.html (NEW, List usermessages)
- product
- detail_product.html (OLD: /base_product.html)
- detail_configureableproduct.html (OLD: /product/detail_configurableproduct.html)
- detail_customproduct.html (OLD: /product/detail_customproduct.html)
- detail_subscriptionproduct.html (OLD: /product/detail_subscriptionproduct.html)
- best_ratings.html (NOCHANGE)
- best_sellers.html (NOCHANGE)
- recently_added.html (NOCHANGE)
- product_list.html (NEW)
- _product_reviews.html (TODO: Move to /comments?)(OLD: /_product_ratings.html)
- contact
- view_profile.html (NOCHANGE)
- update_form.html (NOCHANGE)
- support_thanks.html (OLD: /thanks.html)
- support_form.html (OLD: /contact_form.html)
- support_email.txt (OLD: /email/contact_us.txt)
- registration
- welcome_email.txt (OLD: /registration/welcome.txt)
- password_reset_email.txt (OLD: /registration/password_reset.txt)
- (?) welcome_email_subject.txt (NEW)
- (?) password_reset_email_subject.txt (NEW)
- The other entries in this dir are unchanged.
- (?) order (NEW, There is no app named "order", is that a problem?)
- order_history.html (OLD: /shop/order_history.html)
- order_tracking.html (OLD: /shop/order_tracking.html)
- order_complete_email.txt (OLD: /email/order_complete.txt)
- order_placed_email.txt (OLD: /email/order_placed_notice.txt)
- wishlist
- login_required.html (NOCHANGE)
- comments
- form.html (NOCHANGE)
- posted.html (NOCHANGE)
- preview.html (NOCHANGE)
- newsletter
- subsribe_form.html (NOCHANGE)
- unsubsribe_form.html (NOCHANGE)
- update_form.html (NOCHANGE)
- /static
- styles
- default
- mobile (or integrated mobile-media in the default style)
- lib
- jquery.js
- jquery.form.js
- jquery.cookie.js
- satchmo.js
- satchmo.productlist.js
- scripts (The entries in this dir is mostly just ideas, the important thing is the naming.)
- fancy-shoppingcart.js
- sortable-productlist.js
- hideable-sidebar-boxes.js
- TODO!
- styles
Removed
- /_render_product_ratings.html
- (?) /shop_404.html (Create a set of Satchmo-specfic HTTP-response templates in /shop/***.html? Or "satchmo_"-prefixed in the basedir?)
- (?) /json.html (Might have some use-cases?) (Bruce: Yes, we need this for several ajax pages)
- /contact/_country_match_script.html (This was simply a Javascript and will be moved to the scripts-location)
- /email (No longer any files in it)
(TODO)
- /base_cart.html
- /base_category.html
- /download.html
- /search.html
- /shipping_options.html
- /contact/_addressblock.html (Gotta check the usage more closly)
- /widget/file.html (This looks like an template belonging under /admin)
- /shop/_order_details.html
- /shop/_order_tracking_details.html
- /wishlist/index.html (More verbose name?)
- /comments/product_rating_form.html
- (?) /newsletter/ajah.html
- /newsletter/update_results.html (better name)
- /google-analytics/*
- /checkout/*
- /payment/*
- And others...
Misc.
- Shipping modules should use templates to display the shipping choices instead of embedding everything in the modules.
- Documentation - we need some good docs around the templates, how they are used and how they should be extended.
