Hello,

I have got this fine module almost up and running. However, when I click on a menu item the first slide gets selected instead of the slide that belongs to that menu item. How can I change this (if possible).

Is there a way to shop the view from automatically sliding?

Thanks in advance,
Sanne

CommentFileSizeAuthor
#7 797926-start_slide-1.patch2.4 KBredndahead

Comments

Shai’s picture

Hi Sanne,

Do you mean "click on the a menu item" or "hover over a menu item." Regarding "click" --> this module does nothing to control the path of the menu item. You do that via conventional menu item administration in the "path" field.

Maybe you meant "hover". Indeed the intended functionality if that when you hover over a particular menu item, a particular slide, associated with that menu item will display. The association of menu item and the slide in the view is created very primitively, and not really dynamically. You simply must order the menu items in the same order that the slides are ordered in the view. That's it. In my situation I needed a specific order for the menu items, they couldn't be changed, and I needed to order the slide items in the view in an arbitrary way (i.e., there was no right field to sort on) in order to match the menu order. What I did was install the module "draggable views" and added a draggable view display to the same view. In the draggable view I was easily able to order the slides to match the order of the menu items.

As for stopping the view from automatically sliding... hmmm, that i think would be a part of the base module, views_slideshow. I don't have time to poke around those settings at the moment.

Best,

Shai

redndahead’s picture

To deactivate transition set the timeout to 0

sanne’s picture

Hello,

Thans for the reactions.

I already figured out the timing. Timeout is 0 and transition time is 100.

There is one strange behaviour I cannot explain. When I scroll the menu the right slices appear. When I click a certain menu for a moment the first slice appears and then the correct slice. It is not serious, just strange.

Thanks,
Sanne

redndahead’s picture

If you click the menu it should go to the webpage of that menu item. It seems that you may have the menu link pointing to the same page?

sanne’s picture

Hello redndahead,

I don't quite understand your last remark.
All menu links work as they should. After clicking on a link the first slide always re-appear.

You can see it on www.tatsujinproductions.nl. Perhaps that would be more ease to explain.

Sincerely,
Sanne

redndahead’s picture

I understand now. I have an idea on how this could be accomplished give me a bit to mull it over.

redndahead’s picture

Status: Active » Needs review
StatusFileSize
new2.4 KB

Here is a patch that should take care of the issue. You may need to save your settings again.

redndahead’s picture

Status: Needs review » Fixed

This has been committed.

Status: Fixed » Closed (fixed)

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