I add some add on links on service links module, but I found share module doesn't use them. Is it possible to add it ?

Comments

greenskin’s picture

Status: Active » Postponed (maintainer needs more info)

How did you add the additional links on service links module? There have been a couple of service_links patches that implement a hook for adding custom links. Did you use one of these patches plus another module that utilizes the patched hook, or did you include the link code yourself into service_links.module?

greenskin’s picture

Version: 5.x-1.x-dev » 5.x-1.0
dennys’s picture

I add it in the service_links.module file directly, is it a correct solution ?

  // Add your own link by modifing the link below and uncomment it.
  $links['service_links_hemidemi'] = theme('service_links_build_link', t('Hemidemi'), "http://www.hemidemi.com/user_bookmark/new?title=$title&url=$url", t('Bookmark this post on hemidemi.'), 'hemidemi.gif', $nodelink);
greenskin’s picture

Status: Postponed (maintainer needs more info) » Fixed

Yes, this if fine. Are you still having problems with the Share module not showing the custom links? As long as your link is named with 'service_links_' before it like $links['service_links_linkname'] then it should show up. Let me know if this is not the case.

dennys’s picture

Status: Fixed » Closed (fixed)

Yes, the problem is not existed anymore, thanks.