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!

CommentFileSizeAuthor
#3 supersized-1894680-2.patch740 bytesajfernandez

Comments

ahlofan’s picture

Hi,

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.

alain dg’s picture

The 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

ajfernandez’s picture

StatusFileSize
new740 bytes

Hi,

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!

ahlofan’s picture

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

ahlofan’s picture

Status: Active » Closed (fixed)
ahlofan’s picture

Issue summary: View changes

Note of humour added ;-)