This is probably a very basic task but I can't seem to figure it out.
I setup the Flexslider module and created a view for all my slides.
If i leave everything as is, the default setting is when someone clicks on a slide they go to that slide/image.
However, I want to have the ability to have a separate field in my view that can be a different URL that the user is taken to when they click the slide.

So in other words when they create the content and add an image for the slide, they will have a field below that requesting a URL to be filled out.
This is where it will take them to if they click the slide.

I can't seem to link the two together.

Any help would be appreciated.

Comments

minorOffense’s picture

You can use the caption field in the 7.x-2.x version of the module to output a link separate from where the image is linked.

As for 1.0-rc3 I don't think the captions ever worked with links in them.

Brian Edward’s picture

Ok so i have to upgrade to 7.x-2.x.
I'm hoping that doesn't break anything i currently have using the slideshow module.

If i do this and use the caption field, can i disable the option for the user to click on the image? I don't want them clicking on the image and just going to a node/page of that image.

I just want them to have the ability to click the caption link.

minorOffense’s picture

Views Slideshow doesn't work in 2.x yet. You'd have to switch to just Flexslider Views. I'm looking for someone to take over FlexSlider Views Slideshow as I can't maintain all that code (since I don't use views slideshow anymore).

Yeah, just uncheck the setting to link the image to its content.

Brian Edward’s picture

I installed the 2.x on my development server.
I selected Flexslider as the format type in my view.
I don't see an option for the caption as you indicated.

In fact my options under the settings for Flexslider are very limited now.
All I see is the grouping field.

Could you explain to me where I add or change this.

stanb’s picture

What I did was to create a content type called Slide with the following fields:

Title
Body
Slide Image
Slide Link

(You need the Link module installed to create the Link field)

Created 4 nodes of content type Slide. Be sure to make these "unpublished".

Created a block View with the following:

FORMAT
Format: FlexSlider (default settings or select option set)
Show: Fields (default settings)

FIELDS
Content: Slide Link (Exclude from display, URL, as link)
Content: Title (Exclude from display, Link this field to the original piece of content)
Content: Slide Image (link image to nothing), Rewrite Results->Output this field as a link: [field_slide_link]
Global: View result counter (exclude from display)

Filter criteria
Content: Published (No)
Content: Type (= Slide)

Sort criteria
Weight: Weight (asc)

(assuming you have Weight module installed for sorting but not needed. Normal sort will work.)

Also, you will probably want to define an option set for FlexSlider if you have not done so already.

I hope this helps.

stanb’s picture

Issue summary: View changes

If you are using a newer version of the Link module (7.x-1.3+7-dev or later) follow #5 procedure but be sure to check the "Absolute URL" checkbox in the settings for the link field (Slide Link).