Needs review
Project:
Ajax Slideshow
Version:
6.x-3.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Jun 2010 at 17:13 UTC
Updated:
15 Nov 2012 at 07:02 UTC
Jump to comment: Most recent file
Comments
Comment #1
udig commentedcheck if you have any restrictions on the nodes included in the slideshow for the logged in user. It sounds like a permission problem (anonymous allowed to see the nodes while the logged in user is not)
Comment #2
udig commentedsince no response made I am closing this issue.
Comment #3
OnkelTem commentedExactly same thing.
Plus, tabs links point to unexisting pages like /123 /234 etc - like 'node' part of URL is missed.
Also, FF console shows errors like:
Ошибка: missing ) in parenthetical
Источник: http://dt/misc/drupal.js?i
Строка 193, символ 99
Исходный код:
щита картера 2839р.\x3cbr /\x3e\nФаркоп 14450р.\x3c/p\x3e\n\x3c/div\x3e\n \x3c/div\x3e\n" }
Spent one hour trying to understand what is wrong.
Comment #4
OnkelTem commentedOk, I found the bug.
The module conflicts with Devel module and possibly with any other module outputting anything outside Drupal theming flow.
Ajax Slideshow doesn't care about safety if JSON it sends, via setting correct drupal headers, and Devel, which actually respects drupal headers breakes JSON, adding its stuff into there.
The fix is simple, instead of using:
print drupal_to_js()
now using:
drupal_json(), which calls drupal_to_js(), set correct headers and sends data back.
Patch attached.
Comment #5
udig commentedCool!
OnkelTem thanks a lot for providing this patch.
Changing the status and title accordingly.
Comment #6
gomezbl commentedHi, same problem here; just to point out that the problem is due to "theme developer module", not Devel.
Thanks.
Comment #7
CesarD commentedI have the same problem... the tabs link to mysite.com/nid instead of mysite.com/node/nid
No content shown also.. :(
I tried everything.. (the patch also) Pretty close to giving up on this module.
Comment #8
udig commentedAs much as I'd like to help, I'm currently overloaded with work.
If anyone volunteers to jump in, feel free.
Hopefully this will change sometime soon.