Default Content-type by Role / User

nlambson - April 29, 2009 - 23:44
Project:freelinking
Version:6.x-3.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

Currently the automatic node creation creates nodes based on a "default content-type" selected.

I am trying to host multiple wikis under the same Drupal installation for a University.

Is it possible to change the default content-type by Role or User?

#1

Grayside - October 31, 2009 - 16:26
Version:6.x-1.7» 6.x-3.x-dev
Assigned to:nlambson» Anonymous
Status:active» postponed (maintainer needs more info)

Something might be done in the 3.x line.

Unfortunately, freelinks are cached on a 24 hour rotation, and cannot be personalized to an individual user. However, it would be possible to set the default by the path of the page on which you are currently viewing the link. That would have some kludge, in the sense that any node listings you create outside that "wiki path" would have broken links.

You might also write a custom module that uses hook_nodeapi to hack the link text when it recognizes "node/add/X" in the path of a link.

Setting this to unassigned, I think that was a typo on the requestor's part.

 
 

Drupal is a registered trademark of Dries Buytaert.