I upgraded dotcms from 2.5.7 to 3.7.2.
The following code is actually linked to a button which opens a slideshow.
This code was working in old cms, but won't in the 3.7.2 Funny thing! - If I am not logged in in the backend this code works otherwise it won't.
To view the button for slideshow itself you need to be logged in, but not in the backend! What am I missing guys?
How should I get list of files from folder which have 4 children (folders in it), that contains pictures and then I could use it with JavaScript?
#set($folder = $fileRepository_filesList.get(0).folder)
- this line should return id of the folder, but does not return anything (it's just $folder). If I'm logged in the backend this line returns id(61763395-ca41-4446-95cc-4ddfbaaf0cea)
. Why?
Thank you so much for the help!