Closed (fixed)
Project:
Service links
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
28 Jan 2009 at 22:12 UTC
Updated:
7 Dec 2010 at 09:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
TheCrow commentedIm working for provide a field for Node Displays (related to Display Suite) module.
Comment #2
dddave commentedCount me in for testing. Great news!
Comment #3
TheCrow commentedHello dddave there is the first Implementation!
Can extract it under service_links folder and enable the related module in Display Suite group (admin > modules )
:))
Comment #4
dddave commentedUh, I hope I find some time tonight...
Comment #5
dddave commentedBasically working. However:
1. Positioning the label (custom or default) inline is not working. It is always above.
2. Fisheye displays image+text
Also: Textlinks and Icon+text links are displayed as list whereas icon links are displayed inline. I would strongly favor that all links default to inline display.
Comment #6
TheCrow commentedThanks dddave,
About label, unfortunately i don't have any control over it, i think this problem should be solved by CSS how happens for other fields too.
Fisheye has been fixed and also other formats now show inline (no more lists).
The unique bug is due to the presence of Fisheye block in the same page where is displayed Fisheye field, but if you change in js/service_links_fisheye.js,
the row:
$('#fisheye').Fisheye({with:
$('.fisheye').Fisheye({should work well also in this case.
Comment #7
dddave commentedNice!
Only problem I could find was that the fisheye display (working!) isn't left-aligned as all other options are. Could you default it to the left?
As about the field label positioning: this seems to be a ND bug. This isn't working for fivestar fields either. Going to take a look into this...
Leaving this to needs work because of the fisheye-links position.
Comment #8
TheCrow commentedalignment of fisheye happens inside service_links_fisheye.js
the row is:
halign : 'center'maybe i could make this param variable...
i added the reference to service_links_show() function and i noticed an error about use of $fields variable :P
i would like also provide a checkbox for every service (in admin > services) for show each one in a separated field but i still have to work on it.
Comment #9
dddave commentedSorry for the lack of feedback. Kind of forgot about this issue.
Anything special to review here? Tested with the latest dev and it still seems to work.
Comment #10
TheCrow commentedadded in dev right now, it has the support for single services too :P
Comment #11
HS commentedHow does this work again? I placed the 'plugins' folder inside the 'service_links' folder. But how do I use this?
I'm not using the Dev release though.
-Edit-
OK figured it out. I'm missing the Display suite module. Not really keen on installing yet another module for this simple functionality though :(
Comment #12
TheCrow commentedHi HS, this is an addon for Display Suite, not a simple functionality, but an easy way for displays only the requested fields of your content's type or change their weights without overwrite the node[-type].tpl.php and other functions into your theme...
The fields availables with Node Displays (separated module of Display Suite group) are not only CCK fields: you can move Title, Author, Date,...
Obviously you dont need Display Suite and this plugin if you choose to overwrite the theme's files manually.
The dev version of Service Links contain a new API (service_links_render_some()) that return a single or a filtered group of the services loaded that can be handled and placed everywhere in your theme (an example is in the code of Service Links Displays).
Comment #13
HS commentedThank you, TheCrow.
Comment #14
TheCrow commented