When I setup image icons for service links module, amadou shows
html code. I have tried it on other templates and it works fine on them except amadou.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | servicelinks.jpg | 10.74 KB | idcm |
When I setup image icons for service links module, amadou shows
html code. I have tried it on other templates and it works fine on them except amadou.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | servicelinks.jpg | 10.74 KB | idcm |
Comments
Comment #1
jwolf commentedTo get the services links to work correctly you'll have to edit Amadou's template.php file as follows:
Remove lines 45 through 106
Once you have removed those lines, save the file. Within Drupal go to admin > performance ( http://example.com/admin/settings/performance ) and scroll to the bottom of the page and click the "Clear cached data" button twice - not double clicking - click the button once and then again after the page reloads.
I will fix this with he next release.
Thanks for catching this.
Comment #2
fourteen40 commentedThanks for the fix, applied this today. Amadou may not be one of the newest themes but it certainly remains one of the best! I'm curious; why clear cache 2 times?
Comment #3
idcm commentedI did as you suggested but the images are being stretched and distorted. See screen shot attached.
Also, the other site i have that uses amadou shows this error:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'phptemplate_links' was given in /home/idcmi/sitename.com/html/includes/theme.inc on line 617.
Thoughts?
Comment #4
trueconnect commentedCould you be more specific on the code to remove. I am not using amadou and I am having this problem also. Please post the offending code so I can take a look. Thanks
Comment #5
meerkat commentedHas there been an update on this? I'm using my own theme and have the same problem.
Comment #6
just_fixed_it commentedThanks for the fix.
@ meerkat
I've got my own theme based on amadou. The bit of code that seemed to be causing the trouble (not sure why, just focusing on getting it to work) was the function "phptemplate_links". I've commented it out, saved, and cleared the cache twice. Problem solved.
Comment #7
sk33lz commentedSolution: Comment out the phptemplate_links function starting on line 47 of template.php.