Closed (fixed)
Project:
Publish
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
28 Jul 2006 at 03:10 UTC
Updated:
29 Jan 2010 at 14:18 UTC
Jump to comment: Most recent file
Let admins specify a View as a channel. This is more flexible than current node listing logic. IMO, we can ditch this logic in curent publish module and just make Views mandatory.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | publish_5_0.patch | 68.41 KB | Morris Singer |
| #9 | publish_5.patch | 68.41 KB | Morris Singer |
Comments
Comment #1
jvandyk commentedI concur.
Comment #2
boris mann commentedGreat! I thought I said this months ago :P
Comment #3
boris mann commentedLets get this spec'd and funded.
Comment #4
moshe weitzman commentedfyi, looks like bryght is sponsoring me to deliver this. i will use this issue for progress reports. i will probably be doing some subscribe work since the receiving site needs to push these nodes into a corresponding organic group
Comment #5
moshe weitzman commentedComment #6
RobRoy commented@Moshe, any update on this? I'm interested in helping out.
Comment #7
Morris Singer commentedSince I am upgrading the Publish and Subscribe modules to Drupal 5.x, this is of interest to me. I have a brief spec for what needs to occur for this to happen. As follows:
This approach would be perfectly backward compatible with subscribe, I believe.
Comment #8
moshe weitzman commentedthat sounds like a nice plan of action. sorry i never got to work on this.
Comment #9
Morris Singer commentedLong awaited, but here at last. Diffed against latest 4.7 version from today. It uses the possibility of a node type filter in an integrated view to determine which node types are published. Conditions are handled by passing arguments to an embedded view -- which does, admittedly, require an API module I had created some time ago, called Views Argument API.
Views are used to generate the channels, and one single view can generate many channels by editing the channel and specifying which arguments to pass to your view. You will have to download and enable the Views Argument API module, and then create a new view. Pay attention to the new Views Argument API fieldset at the bottom of the form to edit your view. Then, edit your channel in admin/build/publish and specify a view, pick out the arguments and the rest is the way it was in 4.7, I think.
Comment #10
Morris Singer commentedLong awaited, but here at last. Diffed against latest 4.7 version from today. It uses the possibility of a node type filter in an integrated view to determine which node types are published. Conditions are handled by passing arguments to an embedded view -- which does, admittedly, require an API module I had created some time ago, called Views Argument API.
Views are used to generate the channels, and one single view can generate many channels by editing the channel and specifying which arguments to pass to your view. You will have to download and enable the Views Argument API module, and then create a new view. Pay attention to the new Views Argument API fieldset at the bottom of the form to edit your view. Then, edit your channel in admin/build/publish and specify a view, pick out the arguments and the rest is the way it was in 4.7, I think.
Comment #11
moshe weitzman commentedhi morrisinger. thanks for following up here. i may not be able to test this, but i do want to call your attention to the efforts at http://drupal.org/node/103171. thats a new views form element which is likely to get into Views project soon. It might deprecate some of your work with Views argument API. not sure.
Comment #12
Morris Singer commentedMoshe,
Thank you for the head's up on that. It looks like it may address a different issue. My API actually just hugely assists in developing administrative forms to pre-select the values of arguments to pass to embedded views. It also defines some basic mechanisms for picking the values to pass to embedded views as arguments (such as the active node's term ID for a specific vocabulary, etc.,) allowing people to develop dynamic views the content of which may change based on what a user is doing or what is going on inside of a module. I do not think the form element you mention will deprecate this, but, if it does, I'll be ready to figure out how to move that into this project if asked.
Thanks for taking a look at this.
-- Morris
Comment #13
jax commentedThe patch applied and the module seems to activate correctly. But after you create a channel and click on "views" I get the following error:
Other comments:
I don't think the module should declare it's own package.
There is no description of the module.
Is there anyone that is working on a D5 version of the subscibe module (http://drupal.org/project/subscribe)? It also seems to be impossible to get to its issue queue because of some namespace issue with the word "subscribe".
Comment #14
voidberg commentedClosing this since it relates to the 4.7 version.