My slideshow looks great but it doesn't work for anonymous users. It is shown as a simple list ul, li etc, one slide under another.

admin/people/permission: anonymous users can watch all published materials.

What could be wrong? I'll be grateful for help

Comments

brussnika’s picture

Issue summary: View changes
Mschudders’s picture

Hello

Maybe a few steps to pinpoint the problem:

* Can I see it anywhere?
* Is the page cached ?
* Do you have extra permission modules ?
* Is the HTML there (for the slider, but just with an empty UL ?

brussnika’s picture

Priority: Normal » Minor

There was JS error on page:
Uncaught TypeError: Object [object Object] has no method 'once'
$('form.user-info-from-cookie').once('user-info-from-cookie', function () {

So I googled this mistake and changed "once" to "one" in ../misc/form.js (65) and ../misc/collapse.js (98) according to errors in chrome.
Maybe it may cause some problems later (((
But now the slideshow is working for all browsers and for all roles.

Thanks

Mschudders’s picture

Well this is not done actually.

It's good that it fixed the problem, but you are changing Drupal Core.
That's a bad idea for future updates etc.

Mschudders’s picture

Status: Active » Postponed
pbeakley’s picture

Just a quick note that we're having exactly the same problem. In our case, the slider works for anonymous users for a while, then mysteriously disappears on us.

What do you need from our end to help diagnose the issue?

Mschudders’s picture

it would be helpful if I could see the problem ;-)

or
- any javascript errors on the page ?
- same in every browser ?
- views preview still works ?
- after drupal cache flush nothing changes ?

Kind regards

Mschudders’s picture

Status: Postponed » Active
Mschudders’s picture

Status: Active » Postponed (maintainer needs more info)
brussnika’s picture

Hi again,
it was newby problem: wrong js including ))
Fixed.
Thanks a lot for your help!

Mschudders’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

no problem glad i could help