Closed (fixed)
Project:
Follow
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
21 Aug 2009 at 11:14 UTC
Updated:
6 Feb 2013 at 10:36 UTC
If the function follow_follow_networks() should get the data from the database, it would be easier to add other networks (like Hyves), and easier to remove networks not needed.
Comments
Comment #1
q0rban commentedHi Niels.. Thanks for the feedback! There is already a hook_follow_networks() invocation to add more networks, so if you wanted to create a separate module that implements this hook, you could add whatever networks you want that way. Thanks!
Comment #2
q0rban commentedI will add this here as a task though, bc I need to add a drupal_alter call on the networks so that some can be removed. Thanks!
Comment #3
q0rban commentedComment #4
jackhutton commenteddon't know if this is the right area; but I'd like to add a follow link for a wordpress blog which isn't listed as an option in the configuration.
can i add a line item or modify a line item to modify the title of an unused link to make it a wordpress link.
i would pull in the proper logo image
thanks
Comment #5
jackhutton commentedI tried putting this into my template.php file..but doesn't seem to do the trick..and
apologize if this isn't the appropriate area in the forum for posting code questions..
thx
Comment #6
q0rban commentedHi Jack,
Try this (without the
). Replace 'eggonbeagle' with the machine name of your module. This won't work in template.php, you'll actually have to create a small module for it.Comment #7
jackhutton commentedthanks for this. the site is posted, but this will be useful as I modify and rework the site; and for future projects.
appreciate your clear, patient responses..
thanks
jack
Comment #8
q0rban commentedThis has been implemented in the 7.x version, and I don't really have any intentions of adding this to 6.x (unless you complain loudly enough)
Comment #10
marktheshark commentedHow does one specify the icon path for an existing style?
I can add the networks with the hook, but I don't want to change the style, just specify an additional directory to look into for icons...
Edit: After looking into the hooks some more, turns out you have to specify a directory for an entire icon set, you can't do it per network. Also, adding the icon as a background to custom links has to be done via CSS.
It would be nice to have the CSS updated to include also the custom icons, but OK, I got around it.