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

ShaneOnABike’s picture

BTW 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

.ui-accordion-header span.ui-icon:first-child {
  display:none;
}

It's not that graceful

Manuel Garcia’s picture

Category: bug » support
Status: Active » Closed (works as designed)

That 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.

apaderno’s picture

Issue summary: View changes
Issue tags: -icon, -position, -accordian