In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

View Revisions: Issue #1007 All Revisions ] Back to Issue ]
Summary 0001007: Minimize number of Extended Units in Sections folder
Revision 2011-02-21 15:09:47 by Dmitry
Description We have recently came across the issue when in some projects we have too many PHP files in a single Units/Sections folder of Custom module. As you might know this folder contains Extended classes which are used to override default functionality of In-Portal. As a result it's getting very hard to quickly locate necessary files once you reach 20+ files in there, plus they all start with e_OriginalFileName.php

At this point, we should throughly discussion all options of making this simpler to work with. I ask everyone (including Intechnic employees) to participate in this critical decision making process.


Solution:

No CORE changes required here!

Under Units/Sections we create a sub-folders for each corresponding Unit name (that are extending) and put replacement files inside.

Example:
 - it was - /modules/custom/units/sections/e_order_eh.php
 - it will be - /modules/custom/units/sections/orders/e_order_eh.php

Do all Extended Units for Custom module like this.
Revision 2011-02-21 15:09:29 by Dmitry
Description We have recently came across the issue when in some projects we have too many PHP files in a single Units/Sections folder of Custom module. As you might know this folder contains Extended classes which are used to override default functionality of In-Portal. As a result it's getting very hard to quickly locate necessary files once you reach 20+ files in there, plus they all start with e_OriginalFileName.php

At this point, we should throughly discussion all options of making this simpler to work with. I ask everyone (including Intechnic employees) to participate in this critical decision making process.


[B]Solution:[B]

No CORE changes required here!

Under Units/Sections we create a sub-folders for each corresponding Unit name (that are extending) and put replacement files inside.

Example:
 - it was - /modules/custom/units/sections/e_order_eh.php
 - it will be - /modules/custom/units/sections/orders/e_order_eh.php

Do all Extended Units for Custom module like this.



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker