Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I tried the module and it is not working. It rued both to hide the title on a specific page and on basic pages all together but the title is still displayed.
Comment | File | Size | Author |
---|---|---|---|
#34 | exclude_node_title.module-weight.patch | 468 bytes | SKAUGHT |
#31 | views_nodes.exclude_node_title.module.patch | 562 bytes | sandu.camerzan |
#21 | exclude_node_title.module.patch | 1.58 KB | djg_tram |
Comments
Comment #1
gabrielu CreditAttribution: gabrielu commentedHave you tried permissions? You need to have permission to `use exclude node title` to see the effects.
Comment #2
drummondf CreditAttribution: drummondf commentedposted in wrong thread... sry :)
Comment #3
kiernan CreditAttribution: kiernan commentedI am also struggling with this module working. I have set permissions and configured a few different ways. I have checked the exclude button, and selected content types.
Is creating new content required?
Comment #4
gabrielu CreditAttribution: gabrielu commentedNo you only have to edit existing content and check for exclude node title.
Is the checkbox checked when you go back to the edit form?
Comment #5
kiernan CreditAttribution: kiernan commentedThis issue seems present in panels. When I view the basic page the title is gone. Is this by design?
Comment #6
theullrich CreditAttribution: theullrich commentedI am having the exact same issue. Is their a module that conflicts with it? The only one i have that may conflict is views or cke editor, and that just does not seem likely that they would have an effect.
Comment #7
enrikito CreditAttribution: enrikito commented+1
Comment #8
gabrielu CreditAttribution: gabrielu commentedHey,
The module only works with Full node view, or teaser view (if you check in configuration to exclude from teasers too).
If you have Title selected in a view, since it's extracted directly from database, it will pop up no matter what other modules hook into.
And with Panels, I am not sure of the behavior there, we must test.
Gabriel
Comment #9
gabrielu CreditAttribution: gabrielu commentedComment #10
kiernan CreditAttribution: kiernan commentedSo I am finding intermittent success. I will try to replicate what appears to work for the non complying nodes. I have also found that hidden titles which work in Firefox show up in Safari. Any input?
Comment #11
gabrielu CreditAttribution: gabrielu commentedThis is weird, maybe it's because you are logged in as admin in one browser, and Anonymus user in another?! Otherwise there is no reason to have different behavior cross-browser.
Gabriel
Comment #12
kiernan CreditAttribution: kiernan commentedI see the titles in the Anonymous browsers. The only one which consistently works is in admin with Firefox.
Comment #13
deeve CreditAttribution: deeve commentedDoesn't work for me either in 7.x
I have a zen sub-theme installed & had tried appending the 'zen_preprocess_page(&$variables, $hook)' function in template.php before I tried your mod, but had no luck with that either.
Does you module place the hook somewhere else & if so, maybe this has to be placed within the sub-theme?
Thanks.
**update: does now work on Basic Pages other than my home page which I 'promoted to front page' in publishing options..
Comment #14
gabrielu CreditAttribution: gabrielu commentedI believe the page you promoted to frontpage is displayed as teaser, so you should check to hide title from teasers too in Exclude node title module Configuration.
Comment #15
deeve CreditAttribution: deeve commentedSpot on, gabrielu ;)
Now I just need to find out how/where to remove the 'teaser' attribute of my homepage as will need other teasers to show their titles!
Comment #16
gabrielu CreditAttribution: gabrielu commentedYou will need to select manually which nodes to have title excluded, rather than the whole Content-type.
The will be more refined options in future releases and are in tests on the current DEV branch, if you are interested to test.
Comment #17
deeve CreditAttribution: deeve commentedI'm ok for now as will only have 12 or so static pages & your current default 'hide title' check-box is set to off which should work fine for my 56,000 or so imported pages ;)
Thing is, I'm stumped as to how to stop my homepage from being shown as a teaser! I've looked in 'views' & 'Basic Page' node attributes. Do 'promoted to homepage' items have some kind of system default attributes - any ideas?
Comment #18
gabrielu CreditAttribution: gabrielu commentedYou should have a view like admin/build/views/edit/frontpage and select Row style: Node, click configure and select Build mode: Full node
Comment #19
deeve CreditAttribution: deeve commentedApologies if I appear slow to get this; I do have a view called 'Front page' but don't see an attribute called 'Row style'. Can I add this to the view?
Comment #20
chiappa CreditAttribution: chiappa commentedHere too not working. I have panels and panels everywhere installed, maybe that's why? Any research on that?
##edit
Ehem, I cant believe I'm so stupid, there is NO NEED for this module if you are using only panels. When editing panel content, make sure you have set Title type to: "No Title". Voila!
Also in the general menu when editing panels propably ticking: "Disable Drupal blocks/regions" is an equally good idea=)
Comment #21
djg_tram CreditAttribution: djg_tram commentedThis makes it work as expected.
While not strictly an error, so not fixed in this patch, I guess exclude_node_title_remove_title should be renamed to exclude_node_title_remove_teaser_title because this is what it actually denotes.
Comment #22
FrancescoUK CreditAttribution: FrancescoUK commentedIn the beginning I had this issue too (using AT Commerce theme), but since I selected hide from teaser it's sorted.
So please check that tick box if you are about to use AT Commerce.
Comment #23
PetarB CreditAttribution: PetarB commentedUsing AT Corolla as well, this only works properly if the "Remove node title from teasers too" has been checked. I suspect this theme and others are showing the nodes as 'teasers'....?
Otherwise the module works perfectly for me on at least 2 installations.
Thank you!
Comment #24
dAv3 CreditAttribution: dAv3 commentedThanks very much djg_tram, the patch seems to have fixed this issue on d7.7
I can now hide a title without hidding it from the teasers. :)
Comment #25
djg_tram CreditAttribution: djg_tram commentedYou're welcome to it, I needed it badly, too... :-)
Comment #26
wranvaud CreditAttribution: wranvaud commentedSame as #12. Anonymous users see the title...
The module only works for the role that it's not so important for it to work :(
Comment #27
snoopy77 CreditAttribution: snoopy77 commentedFolks, the patch provided in #21 works perfectly for me (D7 v10). Many thanks !
Comment #28
Anonymous (not verified) CreditAttribution: Anonymous commentedAs noted above, it looks like with http://drupal.org/project/corolla (and perhaps other adaptive themes?) the "Remove node title from teasers too" has to be checked for this to work, even when nodes are displayed in full.
Comment #29
gabrielu CreditAttribution: gabrielu commentedConsidering closed.
Comment #30
malcolm CreditAttribution: malcolm commentedUsing 7.x-1.5 version, I couldn't get it to work, until I went to the module's configuration page (admin/config/content/exclude_node_title), and checked the "Exclude From" box next to "Full view" and saved. I expected this setting to exclude the titles automatically for every piece of content of the Page content type I did this for. Instead, it turned on the function to allow me to exclude the page titles on the Page nodes' edit forms.
Clearer instructions; something like "To allow admins and editors to turn page titles on/off via a page's edit form, choose User Defined Nodes from the content type's dropdown, then click the checkbox for the type of display you would like to hide/display page titles for," instead of "Define title excluding settings for each content type." would help people a lot?
Thanks for your great work!
Comment #31
sandu.camerzan CreditAttribution: sandu.camerzan commentedFor making this work with nodes inside view displays, try this.
Direct reference for preprocessing / processing functions - https://www.drupal.org/node/223430.
I consider using "hook_process_node" is more suited for the targeted function results of this module.
Comment #32
sandu.camerzan CreditAttribution: sandu.camerzan commentedComment #33
SKAUGHTI seem to have been able to make this module work by altering the module weight in the system table. This seems to relate to the order that preprocess functional are called. a patch for the module install to set the module weight lower (natural sort lower) (ie 10).
Comment #34
SKAUGHTComment #35
fizk CreditAttribution: fizk commented@SKAUGHT How did you choose a weight of 10? Is there a particular module you needed this module to run after?
Comment #36
SKAUGHT...10 is just kinda random. my very first test was 100 just to prof it. the goal here just to ensure exclude_title is last fired. 10, as a general patch i think should cover most other peoples circumstances..
sorry, I haven't looked more deeply to see what else may have effected it this way -- for the point of my current project, this is all i need myself. cheers.
an ideal weight will depend on another modules installed (and like anything, depend on each project and what mod's are being used.) have may have altered weight. (or just due to module namespace load order) -- a big old druaplism (:
===
just to share: i am also using auto_nodetitle & html_title. although i don't think they are to blame, i think i had this trouble with exclude_title before they were all introduced. My 'public theme' is forked from Stark..i have no preprocess in it's template.php at all.
Comment #37
fizk CreditAttribution: fizk commentedI'm closing this issue.