I really like the flexibility and number of services this module offers. However, I would like to prevent the links/widgets to show up on my RSS feeds and possible also on Search results.
Is there a way of doing this?
Would be great if it was possible to have full control over where the links show up in the configuration.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | service_links-1201700.patch | 5.58 KB | TheCrow |
Comments
Comment #1
bryansd commented+1 To either know how to do this or as a feature request.
Comment #2
TheCrow commentedactually only handling templates and phptemplate functions
Comment #3
Docc commentedSub
Comment #4
liliplanet commentedsubscribe thx!
Comment #5
maxiorel1. Go to admin/config/services/service-links and disable all "Where to show service links".
2. Go to your template.php and paste here the function as mentioned withing the template.php in service_links module folder. If you already have the themename_preprocess_node() paste only it's inner part.
3. Go to your node.tpl.php and paste this to the place when the service links should be displayed
Using this steps the service links will be displayed only in full node view.
Comment #6
liliplanet commentedsubscribe thx! tried #5 but output links as a list ..
looking forward to a solution :)
Comment #7
TheCrow commentedHere another example too http://drupal.org/node/1078706#comment-4163736
Comment #8
TheCrow commentedworking for introduce a page filter, the same used by blocks. This will be the last feature added, after i'll release the 2.1
Comment #9
TheCrow commentedpatch ready
Comment #10
TheCrow commentedcommitted, if there are troubles just follow here
Comment #11
remkovdz commentedSorry, but I'm a Drupal noob... What to do with the patch? Thanks!
Comment #12
TheCrow commentednothing because has been committed... that means you can download the latest stable and you have this feature (page filtering for include/exclude paths) working.
Comment #13
tsvenson commented@remkovdz:
Just add '*rss.xml' in the Pages text area in the "Page specific visibility settings" fieldgroup and have "All pages except those listed". That will exclude the share links on all rss.xml feed pages.
Comment #14
remkovdz commentedThanks @TheCrow and @tsvenson! I installed the new module and excluded the RSS-pages. Great, thanks for the help.