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.
goodmornig,
for my blocks i need to show always the fixed parent item as link even if they are not children.
is it possible?
someone can help me?
thanks!
Comments
Comment #1
othermachines CreditAttribution: othermachines commentedHi @euskarez. Were you able to resolve this? If not, please provide more info. With such limited information it is it is difficult to understand your problem.
Comment #2
euskarez CreditAttribution: euskarez commentedin this page http://testsite.unistrapg.it/node/25 i have some menu blocks.
blocks with children pages is rendered but blocks without children pages no.
is it possible to show also menu blocks without children pages?
thanks!
Comment #3
othermachines CreditAttribution: othermachines commentedTry applying this patch: Issue #476798: Including parent item in the menu. Then check "Include parent" in your block settings.
If that solves your problem, please post a review on that issue to help get it committed.
Comment #4
euskarez CreditAttribution: euskarez commentedthis patch doesn't solve my problem.
i need to display fixed parent item always, even if it has no children.
Comment #5
euskarez CreditAttribution: euskarez commentedthe help text of new feature included by the patch says:
The parent is not included if it was the only item in the menu.
but i need that the parent is always included.
Comment #6
othermachines CreditAttribution: othermachines commentedThat's right. Almost there but not quite. Let's make this a feature request.
Comment #7
C13L0 CreditAttribution: C13L0 as a volunteer commented"Block title as link" only works when the title isn't overridden. In my case, I have to override the title due to the theme/design elements. Also, the design does not allow for -any- block titles to be links. This is exactly what I needed to correct the issue.
The patch in #101 Issue #476798: Including parent item in the menu works perfectly.