Closed (won't fix)
Project:
Storm
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2009 at 13:06 UTC
Updated:
19 Sep 2009 at 08:29 UTC
Given the increasing number of people using views etc., I'm going to set up a module called something like 'stormviews' which can store examples of views, including any contributed ones.
Comments
Comment #1
Mark_Watson27 commentedThe way other projects handle this is at installation time they check for views and if there they install a bunch of them but don't enable them.
It would save on an additional module, just a thought.
Comment #2
Mark_Watson27 commentedDone a bit more reading and stumbled across the Views API Reference on how to provide default views for modules
http://views.doc.logrus.com/group__views__hooks.html#g23edb74860682fa88f...
Comment #3
Magnity commentedYes, it might be better to put them in with their 'home' modules rather than putting a new module in. I was thinking of allowing a load of contributed views for people to work from though, if it was part of the module I might vet them a little more carefully.
It wouldn't need a check for views though as if views was present it would fire the views hooks, and if it wasn't then it wouldn't.
Comment #4
Magnity commentedAs Mark says, default views would be better in the relevant modules so marking to won't fix.