Postponed
Project:
Enabled Modules
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Jan 2012 at 14:57 UTC
Updated:
28 Jan 2012 at 22:41 UTC
Every default view should be a different file (and should be in a subfolder)
proposed new file structure:
- enabled_modules.info
- enabled_modules.module
- enabled_modules.install
-- views
--- views/exports
--- views/exports/enabled_modules.inc
--- views/exports/enabled_modules_admin.inc
Comments
Comment #1
pasquallerequired code:
Comment #2
pasquallethe export files should just contain the export generated by the views module (plus
<?phpon the first line)Comment #3
juliangb commentedIs this a standard? I haven't seen this set up in other modules.
Comment #4
pasqualleIt is not, yet. It is much easier to work with views exports if you do not have all the views in one big file.
The code to find the views export files, is not mine, I've found it on the internet. So I am not the only one separating the exports into different files.
Comment #5
pasqualleI might start bumping on these issues first:
#1115966: Separating export files
#747028: Views export into separate files
Comment #6
juliangb commentedWaiting on whether it becomes a standard.
Comment #6.0
juliangb commentedmissing file extension