I do love the low-threshold slider configuration for media items!

However, another common use case for sliders are highlight content teasers.

- Format: "Swiffy Slider"
- Settings: Label "Configuration Link", description copied from field formatter

Can it possibly be as simple as that? :-)

 view style selection, Swiffy Slider selected

 settings with link field, highlighted

Comments

hexabinaer created an issue. See original summary.

hexabinaer’s picture

Issue summary: View changes
StatusFileSize
new27.83 KB
new21.52 KB
hexabinaer’s picture

Issue summary: View changes
mmbk’s picture

Status: Active » Needs review
StatusFileSize
new12.81 KB

Implemented a view style for the slider.

The slider is configurated by a list of classes, that shall be applied to the slider.

There is a link to the swiffy slider configuration values, so that the classes can be easyly checked and changed.

There is a settings form, where the default classes, that are normally used on your site can be entered. These classes are inserted whenever a new view style is created.

I created an service for parsing of the configurator url and the used formfields. This service can be used by the field formatter as well. But I did not touch the formatter (this would be a different issue)

While looking at the parser, I found that the style attributes are not parsed correctly. Further more I did not understand why the data-* attributes are parsed, as I do not see where they are created by the configurator. Nevertheless I did not change the parser, and marked the location with @todo

tobiasb’s picture

Version: 1.0.x-dev » 1.1.x-dev
Assigned: Unassigned » tobiasb
Issue tags: +Needs tests
tobiasb’s picture

Issue tags: -Needs tests
StatusFileSize
new29.87 KB

  • tobiasb committed 6ab04eb1 on 3343652-views-integration authored by mmbk
    Issue #3343652 by mmbk, tobiasb: Views integration
    

  • tobiasb committed 52f81120 on 3343652-views-integration authored by mmbk
    Issue #3343652 by mmbk, tobiasb: Views integration
    
tobiasb’s picture

StatusFileSize
new35.46 KB
tobiasb’s picture

StatusFileSize
new35.07 KB
tobiasb’s picture

StatusFileSize
new35.73 KB
tobiasb’s picture

StatusFileSize
new36.25 KB

  • tobiasb committed c4681c36 on 1.1.x
    Issue #3343652 by tobiasb, mmbk: Views integration
    
tobiasb’s picture

Version: 1.1.x-dev » 1.1.0
Status: Needs review » Fixed

Integrated in release 1.1.0.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.