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.
It took me some time investigating to find out that in order for DryIcons to be found, the following is needed:
- 1. In
/icons/dryicons/
folder one should first make PNG folder, make sure on case sensitive servers you do need CAPITALS (the way it is in code but not in library!) - 2. All
png
s should be grouped in folders according to size and this command will help you in copying there: while you are in/icons/dryicons/PNG
issue this command and change part numbercp -a ../socialize-part-2-icons-set/* .
and you will have all parts in PNG folder.
I think maintainer should lowercase png folder and make better explanation because people do like to use options thay are offered and it is hard (impossible) to figure this out for less inclined.
SocilaShift
icons need change in $pt
otherwise library won't be recognized, just this line added to end of array, 'twitter' => 'Twitter',
or here is whole function:
function socialmedia_icon_path_instantshift($platform = 'twitter', $style = NULL) {
$style = isset($style) ? $style : '32';
$pt = array(
'delicious' => 'del.icio.us',
'email' => 'mail',
'googleplus' => 'buzz',
'lastfm' => 'last_fm',
'stumbleupon' => 'StumbleUpon',
'twitter' => 'Twitter',
);
$path = drupal_get_path('module', 'socialmedia') . '/icons/instantshift/' . $style . '/' . ((isset($pt[$platform]))? $pt[$platform] : $platform) . '.png';
return $path;
}
Comment | File | Size | Author |
---|---|---|---|
#5 | socialmedia-1591494-5.patch | 551 bytes | discipolo |
Comments
Comment #1
MacMladen CreditAttribution: MacMladen commentedAdditionally, there are some names messed up in icons themselves,
Comment #2
TomDude48 CreditAttribution: TomDude48 commentedI changed the directory sub structure. I also added more detailed installation instructions.
Comment #4
Carlos Miranda Levy CreditAttribution: Carlos Miranda Levy commentedI confirm that adding
'twitter' => 'Twitter',
tofunction socialmedia_icon_path_instantshift
insocialmedia.icons.inc
solves the problem.The problem remains in 7.x-1.0-beta13. It should only be marked as fixed when the fix is committed.
Comment #5
discipolo CreditAttribution: discipolo commentedheres the patch
Comment #6
scottm316 CreditAttribution: scottm316 commented#5 works for me.
socialmedia 7.x-1.0-beta13
Drupal 7.22
Comment #7
ConsciousnessGamingByproductsLLC CreditAttribution: ConsciousnessGamingByproductsLLC commentedAwesome. Patch worked and changing the /png folder to /PNG worked to get Dryicons recognized.
Comment #8
C13L0 CreditAttribution: C13L0 commentedThanks! Patch worked great for Icon Dock Vector
Comment #9
ailgm CreditAttribution: ailgm commented'googleplus' => 'google+',
should also be added to the array in function socialmedia_icon_path_arbent_clean