[Imc-drupal-dev] hiding articles in Drupal 5.1 - ideas?
Sebastian
aotearoa at kodeaffe.de
Mon Mar 5 11:41:55 PST 2007
kia ora..
* Cameron Gregg <cam at earthanarchy.org> [2007-03-05 18:06 +1300]:
> Sebastian wrote:
> > * Cameron Gregg <cam at earthanarchy.org> [2007-03-05 17:35 +1300]:
> >> Sebastian wrote:
> >>> * dan mackinlay imap <dan at possumpalace.org> [2007-03-01 17:40 +1300]:
> >>>> Hm. nice solution Sebastian. I wonder how it will work with loads of
> >>>> CCK fields?
> >>>>
> >>>> Anyway, the module doe exist:
> >>>> http://drupal.org/project/nodetype
> >>>>
> >>>> "Nodetype
> >>>> kkaefer - February 3, 2007 - 14:29
> >>>> Change the content type of your posts while editing them.
> >>>> 5.x-1.x-dev"
> >>> interesting, looks like this takes care of many things.
> >>>
> >>> a biggie, though: what do people do about comments? it seems like they
> >>> are always attached to a node. but what if we only want to hide one
> >>> comment?
> >>>
> >> Hidden comments - we just unpublish them (waiting for a better solution).
> >>
> >> This content type changer looks interesting, though i have some concerns:
> >> - its a new module. Will it last the test of time? I have been caught
> >> out before when a site becomes dependent on a 3rd party module, and the
> >> maintainer quits, and there is no upgrade path for future versions of
> >> drupal.
> >>
> >> - The main problems i have with using a category for hidden stories is
> >> that it doesn't hide it from the search, archive or calendar (event)
> >> modules. Will using a seperate content type achieve this?
> >
> > what i learned about the search: no, another content type won't hide
> > from search. dunno about the rest. BUT, please correct me if i am wrong,
> > i understood 'hidden' only to be harder to access, not really hidden
> > away (unpublish could be fine for that).?'hidden' just means that you
> > have to click another link to see the content, it is not in the regular
> > listings and you have no threaded display of comments anymore.
> > at least this is how the process on AIMC looks to me, i should ask the
> > editors for confirmation, though. :)
> > my attempt on an own Drupal module (see another posting) 'hides' in a
> > way described above.
> >
>
> I consider anything that is 'hidden'. should not be seen under any
> circumstance unless the user goes to the 'hidden wire' (or in the case
> of comments, clicks 'show hiddens' or something).
>
> I generally leave comments turned on on hidden stories, so people can
> flame away at each other in the back ground - keeps them away from the
> main wires. Some stories (such as duplicates) i switch comments to read
> only.
the hidden module explicitely disables this possibility. but perhaps you
are right about leaving the comments turned on.
> For some reason the file you sent isnt recognised as a gzip file.
sorry for that: it should have been named .bz2. :)
> perhaps you could put it up on the wiki or somewhere.
will do that with the next version after i had some input from our
editors (and you folks).
> I'm also wondering how drupal 5 handles content, how will say all image
> and story and event nodes been turned into 'hidden' nodes? How will it
> handle all the differing fields?
well, this is quite a hack: i realised there isthis field 'status' for
nodes and comments in the database. as soon as 'status' is != 1 in a
node, it disappears from many places. as soon as 'status' is != 1 in a
comment, it is published (weird that the logic is different from a
node).
as long as image or story is of type node, all should be handled the
same - dunno exactly what 'the same' is, though.
as for unpublishing comments: could be done easily by the hidden module
and you would have the benefit of defining a reason why it was
hidden-unpublished.
thanks,
Sebastian
--
_ ascii ribbon campaign .oOo. GCSd-s:+aC++ULB+++W++M+PS+++Y+
( )
X Wer nicht für uns ist, ist für uns!
/ \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.indymedia.org/pipermail/imc-drupal-dev/attachments/20070306/164e0b83/attachment.pgp
More information about the Imc-drupal-dev
mailing list