[Imc-drupal-dev] hiding articles in Drupal 5.1 - ideas?

Cameron Gregg cam at earthanarchy.org
Sun Mar 4 21:00:54 PST 2007


Sebastian wrote:
> aloha...
> 
> * 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.

For some reason the file you sent isnt recognised as a gzip file.

cam at circle:~/Desktop$ tar zxvf hidden-0.1.tar.gz
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error exit delayed from previous errors
cam at circle:~/Desktop$

perhaps you could put it up on the wiki or somewhere.

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?

Cam





More information about the Imc-drupal-dev mailing list