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 see this was discussed for 6.x, but what about 7.x?
https://www.drupal.org/node/529780.
Comments
Comment #1
webservant316 CreditAttribution: webservant316 commentedI am interested in controlling the display of service links on all non-node pages including the profile, search, advanced search, user/password, user/register, views, and even admin pages.
Comment #2
webservant316 CreditAttribution: webservant316 commentedI guess if I knew the php code to display the service links I could create my own block with more control. Hey why does service links provide its own display permissions instead of simply depending upon the permissions available within the core block system?
Comment #3
webservant316 CreditAttribution: webservant316 commentedThe basic feature request here is that the Service Link block permissions should NOT be governed by the checkboxes in the Service Link admin area, but only by the Block perms themselves.
Comment #4
Simon Georges CreditAttribution: Simon Georges commentedI'm willing to consider committing a working patch, but I currently have no time to work on the module, and I suspect it's the same for the other maintainer...
Comment #5
webservant316 CreditAttribution: webservant316 commentedwow, this seems to be more than a simple permission thing, but that your code simply doesn't support placing the block on any non-node page. can you take 5 minutes and point me in the right direction? After 30 minutes I cannot find the code that I need to mess with.
Comment #6
webservant316 CreditAttribution: webservant316 commentedThe module code seems to allow for display of service link blocks on non-node pages. However, it does not work. I added this code at line 213 service_link.module to solve the problem.
Also the show service links permission scheme seems way too cumbersome. I added this code at line 865 of service_link.module. This line gives positive permission priority to the standard pages permission scheme.
if (_service_links_match_path()) { return TRUE; }
Thanks.
Comment #7
kumkum29 CreditAttribution: kumkum29 commentedHello,
I wants to display the service links in the user profile. Today, there is no solution for that.
Since 1 year, have you found a solution for this? Perhaps, with a alter hook in the template.php?
Thanks.