Hi,
You can check the issue here: http://bullesdegommes.be/a-propos
It happens for this page, which content type is "Page".
It loads correctly for custom content type "room" where the supersize field is enabled:
--> for ex: http://bullesdegommes.be/node/1
Bug doesn't happen on views pages and contact page:
--> http://bullesdegommes.be/chambres
--> http://bullesdegommes.be/contact
For info:
- I installed supersize when it was on the GIT.
- Supersize Context is installed but not enabled
Thanks in advance if you have a quick answer (I should go live tomorrow, am I not ridiculous saying this...;-)
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | supersized-1894680-2.patch | 740 bytes | ajfernandez |
Comments
Comment #1
ahlofan commentedHi,
Does that happen on the other "Page" type nodes? When a node type doesn't carry a Supersized field, Supersized jQuery plugin will not even load, except that other node is assigned by context.
I tried to replicate the situation you describe, but I don't have the same problem.
One thing you can check is to go supersized.run.inc, before line 37, try to print out $items. The function will return nothing when no slides are found at all. Please let me know, maybe there is a bug.
Comment #2
alain dg commentedThe problem persists for other pages of "Basic page" content type:
For ex: http://bullesdegommes.be/ateliers-basic-page
I put a work-around in place for the moment: I display the title and the body of my Basic pages using Views pages (at a different url then).
--> http://bullesdegommes.be/apropos
--> http://bullesdegommes.be/ateliers
I will try to find a moment this week to check $items in supersized.run.inc.
I keep you informed...
Thanks
Comment #3
ajfernandez commentedHi,
I had the same problem but I have solved it already. The problem was in supersized.run.inc in the first line of the supersized_run function because it load the supersized library although the node haven't any supersized field.
I created and added a patch to solve this. Now, it checks whether there is any supersized field in the node before loading the library.
Regards!
Comment #4
ahlofan commentedappreciate and thank you ajFernandez! i added the code u suggested in the patch, and it is released in alpha2 version, please update the module guys.
Comment #5
ahlofan commentedComment #5.0
ahlofan commentedNote of humour added ;-)