Firstly, I love this module! Setting it up was a breeze and so was theming it. It works beautifully.

But it would be nice if the inline fields portion of Views could be supported (Row Style->Fields->Options->Inline Fields). When you choose to display fields inline, they are output in spans rather than divs. The spans have to be manually styled to line up with the rest of the divs in the accordion. Also, if you use the separator option provided in the inline fields section, the rendering totally breaks down.

I think I'll be able to work around all this in my stylesheet but it would be nice for newbies if the module didn't fight with other Views options.

Thanks again for a great module

Comments

manuel garcia’s picture

Version: 6.x-1.2-beta3 » 6.x-1.x-dev
Assigned: Unassigned » manuel garcia
Status: Active » Postponed (maintainer needs more info)

I see what you mean melmore,

Easy to fix just float whatever fields to the left as you need, but it'd be nice to have that i guess.

Only problem is the first field should not get this behavior, or it will complicate the js a bit.

I'll look into it ... if you have any pointers as to why it isn't inheriting those options they'd be very welcome!

manuel garcia’s picture

Status: Postponed (maintainer needs more info) » Fixed
StatusFileSize
new53.25 KB
new67.66 KB

Actualy, I've just found out that it does work with inline fields.

All you have to do is click on the options for the 'Row style', and select which fields you want inline. See attached screenshots.

edit: and if you select the first field to be inline, the js stil works properly thank god, only you have a span instead of a div, but it makes no difference visually in this case.

melmore’s picture

Hi Manuel,

Thanks for looking into this. Actually, it does make a difference in display (at least in my case it did). I had to add the following to my stylesheet to get the spans to line up properly with the divs:

.views-accordion-item .accordion-content > span {
padding: 0.5em 1em;
margin-right: -2em;
}

I used the negative right margin to get around the problem you mention with the first span needing to be treated differently (there's still something weird going on with the text-decoration in ie7 that I need to look into).

Status: Fixed » Closed (fixed)

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