
Bug: Need to confirm that custom things duplicated in theme folder won't crash Exp
Reported by dleffler | January 2nd, 2012 @ 05:04 AM | in 2.0.9 (closed)
We have many 'things' like modules, etc... which can be customized and placed inside the theme folder. Need to confirm that if you copy a 'thing' and keep the same name it won't cause Exp to crash due to duplicate class names.
- user profile extensions
- module controllers
- module models
- config files that are for the 'other' view (system vs custom), e.g., one has a config, other doesn't...how does the system act?
Comments and changes to this ticket
-
-
dleffler September 26th, 2012 @ 01:24 AM
e.g., any plugins or controls placed in the theme (yes, we can do that now), MUST verify the class doesn't exist before intantiating themselves.
-
dleffler September 26th, 2012 @ 03:26 PM
Custom smarty plugins must be encapsulated in something like
if (!function_exists('smarty_function_icon')) {
Also, you MUST not duplicate/customize the following models or the system will NOT come up: user, expFile, or section
-
dleffler September 27th, 2012 @ 10:20 PM
- State changed from open to resolved
- Assigned user set to dleffler
- Milestone set to 2.0.9
- Milestone order changed from 138 to 0
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS