Closed (fixed)
Project:
Display Suite
Version:
8.x-2.x-dev
Component:
Field UI
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
14 Feb 2015 at 13:06 UTC
Updated:
4 Dec 2015 at 11:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jurgenhaasHere is the patch to support link classes for the "Read more" link.
Comment #2
tobias.grasse commentedRolled the patch from #1 against 7.35 and it works perfectly. Solves a recurring need in DisplaySuite, thanks!
Comment #3
jurgenhaasAny chance of getting this committed soon?
Comment #4
aspilicious commentedSo correct me if I'm wrong.
I think the class on the wrapper is enough for styling.
But in order to make colorbox work out of the box you need additional classes on the link. Correct?
Comment #5
jurgenhaasYes, that's correct.
Comment #6
tobias.grasse commentedNot only for colorbox and similar modules, but also for frameworks like Bootstrap or Foundation to work as intended: For example, .button on a wrapper doesn't wield the same behavior as .button directly on the
<a>tag. If you put it on the wrapper, only the button text is actually clickable, but users would expect the whole button to be a clickable area. Sure, you can recreate the behavior in your custom CSS, but that defeats the point of using a framework.Long story short: Please integrate this patch :-) IMHO, it solves a real need and doesn't impair or alter the rest of DS' functionality.
Comment #7
aspilicious commentedComment #9
bceyssensI added a description to the link class field.
Thank you for your patch jurgenhaas!
Comment #10
bceyssensComment #11
bceyssensComment #14
jurgenhaasThis should be back ported to the d7 version of the module too.
Comment #15
aspilicious commentedI think this is committed but not part of latest release. Can you check the dev version?
I'll do it myself but I have limited resources and I'm focusing on D8 for now.
Comment #16
kalistos commentedI need this patch for 7 version. Can we apply it for 7?
UPD: it's applied in dev branch.
Comment #17
jurgenhaasThe patch in #14 is for version 7.
Comment #18
aspilicious commentedThis is already part of the dev branch.
Will create a new stable release today.