Closed (fixed)
Project:
NodeStream
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2011 at 10:47 UTC
Updated:
2 Feb 2012 at 10:30 UTC
Jump to comment: Most recent file
Not all sites can use contributors in a meaningful way. We should find a way to make this feature optional.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | nodestream-optional-contributor-1357962-2.patch | 914 bytes | fabsor |
| #2 | ns-core-optional-contributor-1357962-2.patch | 8.59 KB | fabsor |
Comments
Comment #1
fabsor commentedI'm opening a separate branch for this in ns_core, 1357962-optional-contributor
Comment #2
fabsor commentedI think we have all the functionality in place to do this now.
Here is what I have done:
* Implemented support for having optional components in default config and a UI for enabling those optional components.
* Added contributor references as optional fields for ns_article, ns_page, ns_blog and ns_media.
* Made sure that the fields are installed if you use the web product, since it relies a lot on this functionality.
In order to test that everything is working you should do the following:
1. Apply the nodestream patch to the nodestream repository and run drush make.
2. Apply the ns_core patch to ns_core.
3. Install nodestream.
4. Enable ns_article, ns_page and ns_media. None of them should have contributor fields by default.
5. go to admin/structure/extensions and enable the fields.
6. Check all content types and make sure they have fields.
7. Reinstall NodeStream
8. Enable the web newspaper product directly.
9. Contributor fields should be in place already.
Comment #3
pontus_nilssonThis patch nodestream-optional-contributor-1357962-2.patch is now commited.
Comment #4
blambi commentedI tested ns-core-optional-contributor-1357962-2.patch according to fabsor's specifications, and I also tried to break things.
It went really well, nothing broke or was there when it shouldn't or the other way around.
Comment #5
fabsor commentedAlright, I merged this patch. Awesome!