Closed (outdated)
Project:
Exclude Node Title
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Feb 2012 at 04:26 UTC
Updated:
21 Jul 2020 at 11:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gabrielu commentedReference: http://api.drupal.org/api/drupal/modules%21system%21system.api.php/funct...
Do you refer we should look into the entity_info to extract the display modes? At the moment we can decide based on Full node or Teaser.
I was thinking in an option to extend to custom display modes, but didn't quite find the best solution for this approach.
Gabriel
Comment #2
Rory commentedI only needed this module for a single custom view mode, so I was kind of disappointed my custom view modes don't show up. This would be a nice feature.
Comment #3
Rory commentedhttp://drupal.org/project/entity_view_mode :
Comment #4
gabrielu commentedOk,
I found this http://api.drupal.org/api/drupal/includes!common.inc/function/entity_get...
And used to grab all view modes of a Content type.
Please test latest DEV snapshot and let me know.
Thanks,
Gabriel
Comment #5
Rory commentedCan confirm this works with node display in Views and with normal page callbacks.
It isn't integrating to work with Panels however. Tested using Panels 7.x-3.2 & CTools 7.x-1.0.
Possible duplicate issue with #1145170: Titles Still Appear...
Comment #6
gabrielu commentedThen we need to test more how Panels loads the node.
Will check when I have some time, patches are welcome also...
Thanks,
Gabriel
Comment #7
tomogden commentedI would love to have this, since we gave up Panels. But although I was able to see all my custom view modes in the list right away, checking them had no effect on the actual rendered pages. In my case, I am using nodes that are rendered inside other nodes in a view.
Comment #9
alan d. commentedThanks
Unrelated comment seen after looking at the commit. Avoids the call to the (cough) "private" function :)
i.e. modules/node.module about line 445
Comment #11
fizk commentedCommitted, thanks Alan.
Comment #12
alan d. commentednp, I had to use this today myself ;)
Comment #13
fizk commentedI'm attaching a patch to ctools that would provide tight integration with ENT.
To test, appy the patch to ctools 7.x-1.x-dev and use the latest dev release of ENT.
Because this patches ctools, we'll eventually have to move this to the ctools issue queue.
Comment #14
fizk commentedThis patch includes whitespace fixes.
Comment #15
neslee canil pinto