Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
The order of the tabs is the alphabetical order of the node's title. Can I define an another order ?
Thanks in advance,
Bye.
Comments
Comment #1
brulain CreditAttribution: brulain commentedHi,
Perhaps I was not clear enough.
I'd like ordering slider tabs independently of the node's titles. For example, if titles are 'Vegetables', 'Ecology', 'Garden' and 'Architect', the tabs are displayed as follow, i.e. in title's alphabetical order : 'Architect', 'Ecology', 'Garden' and 'Vegetables'.
Can I specify another order ?
Thanks.
Comment #2
stritm0nkey CreditAttribution: stritm0nkey commentedI have the same issue. Great module otherwise!
Comment #3
pyxio CreditAttribution: pyxio commentedSame problem here. Did anybody solve this? Thanks. Kevin
Comment #4
kansaj CreditAttribution: kansaj commentedI think that there is realy easy solution. Just change Noderefrence from "select list" to "autocomplete" and it works :) the autocomplete option allows ordering.
cheers
Comment #5
brulain CreditAttribution: brulain commented@kansaj
Thanks a lot, it works fine !
Perhaps this very simple solution would be referenced in doc.
Bye.
Comment #6
itserich CreditAttribution: itserich commented@kansaj
Thanks, works for me also, in the 2.x-dev version. A big help.
Comment #7
patoshi CreditAttribution: patoshi commentedi guess i should have looked here before hacking the module file. in any case I'll share the hacked up version which is pointless now.
slider.module Line 150 added:
$slide_title = preg_replace('/^[0-9][0-9](.*)/', '$1', $slide_title);
just need to put a numerical value in front of the referenced nodes titles. not exactly pretty but it worked until i found this page.. lol
Comment #8
Liviu CreditAttribution: Liviu commentedthanks alot for this idea, works like charm
Comment #9
arnemaine CreditAttribution: arnemaine commentedWhen I changed from "Noderefrence" to "autocomplete" I can't figure out how to include more than one node in the autocomplete field.
Figured it out. But maybe good to share my problem. I had forgotten to select the multiple values. This is a nice module. Definitely be good to share this way of ordering the slides.