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.
Hey! Super awesome module :)
Alright sooo I am trying to actually customize the position of the expand/contract selector (on the right) but I can't seem to figure out where it's being added into the output. Is this a JS thing?
It might be better to add the span..
<span class="ui-icon ui-icon-triangle-1-s"></span>
In the views tpl file so that we can position it wherever we want. In my case I want to place the span after the title for authestics.
Any ideas how I can do that perhaps I missed something here? Thanks
Comments
Comment #1
ShaneOnABike CreditAttribution: ShaneOnABike commentedBTW for anyone looking for a (not so nice) solution I basically did the following:
* Added the same span to the end of the title in the views template file
* Hide the first child item
It's not that graceful
Comment #2
Manuel Garcia CreditAttribution: Manuel Garcia commentedThat span is indeed inserted through js, by jquery.ui.accordion - so it falls outside the scope of this module, which only integrates with it.
You could add js yourself using the events jquery ui provides, to alter that markup if you realy need it. Probably a css approach is easier.
Comment #3
apaderno