Hi, i am very excited to use your views accordion module. I've installed the module and followed the instructions to set the settings correctly. I don't see the accordion though.. the jquery doesn't appear to be working? Please see the forum topic I posted here for screenshots:
Thanks so much!!!
Comments
Comment #1
mxer269 commentedComment #2
manuel garcia commentedIs javascript active in your browser mxer269?
Comment #3
manuel garcia commentedComment #4
gthing commentedI also cannot get the accordion to display. I noticed in the screenshot it shows the view as a block. Will it work in page views also?
Here is a screenshot of my views settings: http://img.skitch.com/20090803-f4qwpr2t1nwb6ehawt76t735x1.png
See any problems?
Thanks.
Comment #5
manuel garcia commentedYour view settings look ok gthing... do you see results if using a standard views style plugin, like for example list or table?
Comment #6
manuel garcia commentedalso, the screenshot also shows the view as a page display, works fine in both displays. you can also embed it it also should work.
Comment #7
gthing commentedYes, table and list both work correctly.
I had jcarousel-ui installed and though it might be causing a conflict but I disabled it and it is still not working. Unfortunately I don't know enough to troubleshoot jcarousel, but I can see the script looks like it is being included and everything, so I'm not sure where the disconnect is.
edit: I tried creating another view from scratch just to test. Tried both page and block view but couldn't get it working. My guess would be that some .js library isn't loading correctly or something, but I don't know how to tell.
edit: Contact me on IRC (sam1am) and I'll give you the URL to the page if you wouldn't mind looking at it.
edit: It appears that some of my files are being served up blank. I have no idea why this might be happening.
Comment #8
gthing commentedI changed the theme over to garland just to test and it worked fine. Now I'm really confused :/
Something is wrong with my theme, but who knows what!
Here is a complete copy of my page.tpl.php which is where I think the conflict must be:
Edit: So just for fun I stripped just about everything out of my page.tpl.php except for a basic skeleton and my php print $content statement. Even with the .css gone it still didn't want to work with my theme. I'm missing something apparently.
Comment #9
manuel garcia commentedI'm sorry, but I can only support the code that I provide. I cannot give support for custom code.
My suggestion is to use firebug, and see if any of the accordion css is being rewritten by your theme, then remove it and see if that works.
Comment #10
gthing commentedI finally fixed it!
I found that there was a views-view-fields.tpl.php file in my theme directory that was re-writing the view fields. I have no idea where this came from as I never added it. Someone else working on the site must have put it in there.
Anyway, once I removed that file and cleared all the caches it came right up and started working.
I'm so glad - this is one of the coolest modules! Thanks a bunch.
I'm closing the issue because there is no response from the original author and my issue is resolved.
Comment #11
mxer269 commentedHi, sorry I've been away for a while.
I tried following what you said. I don't see a views-view-fields.tpl.php file. Where was yours located?
Thanks for the help
Comment #12
orlandomenke commentedHi, I actually have a problem in the same direction.
My Views Accordion does work properly, but only in admin->blocks.
If i go to the home page or whatever page i put it on, it wont be visible (the content is visible)
Comment #13
Macronomicus commentedprobably something to do with not using the old standard jquery? Im using jquery update and this module is producing nothing but the markup .. the js is throwing no errors & never seems to fire it displays all views-accordion-item 's as if they were just a normal view with no accordion functionalities. Firebug & profiler show no errors :( Removing my views-view-fields.tpl.php is not an option since its required to override fields and I have several said tpls. ...besides that cant really be the problem?
Comment #14
manuel garcia commentedGuys, don't highjack issues for your own problems. Open a new support request if you need to, including all steps necessary to reproduce your problem.
Comment #15
Macronomicus commentedits the same problem .. with the same symptom and its not fixed for me .. no worries though I made my own.