Closed (fixed)
Project:
Exclude Node Title
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 May 2011 at 12:52 UTC
Updated:
19 Feb 2012 at 11:19 UTC
Jump to comment: Most recent file
Comments
Comment #1
gabrielu commentedThis sounds like a great feature, It's good for settings granularity.
I should find the time to implement this, in the meanwhile patches are welcomed.
Comment #2
imiksuAlright, I'll try to create a patch for this. You'll see the progress at GitHub: https://github.com/mikaelkundert/drupal-exclude-node-title/tree/7.x-1.x
I'll be concentrating only on D7 branch.
Comment #3
imiksuSee attached patch. Needs testing.
The patch does following things:
- Replaced content type settings with radio options on each content type
- Created a function _exclude_node_title() for simplifying the process of detecting whenever the node should contain the title or not
- Makes sure all variables gets deleted on uninstall and entity/bundle deletion (since we're gonna have a variable for each content type)
Comment #4
imiksuAlso, this needs re-setting some variables when updating from current version.
Basically it needs to go thru the nid list and find out which node types contains title-hiding. Those node types needs to be set to "user" value. Also, those node types which are marked to hide title for all nodes needs to have "all" value.
Comment #5
gabrielu commentedOk check latest DEV snapshot.
Comment #6
imiksuSee attachment. This patch includes the upgrade script too.
I wasn't sure about the naming convention with the update number. I guess it also depends on which release you'll include the feature.
Comment #7
gabrielu commentedDone, added to latest DEV and release 7.x-1.4