Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Image gallery working but no UI styling?

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1103 Views
  • Lukef
    Avatar
    Community Member
    32 Posts

    Image gallery working but no UI styling? Link to this post

    Hi

    Here's a dome-scratcher for you...

    Site: ugly. old. but built with SS.
    client: wants no change to design (read:cannot afford it) but wants a gallery implemented. So i upgrade to SS 2.4.5 and try to install UC's Gallery.

    I installed the 3 necessary modules, but when I login to the CMS and add a gallery page, the albums and photo's tabs are all brokenish, the pop-ups are not popping. see below.
    http://www.flickr.com/photos/60640200@N07/5530169353/
    http://www.flickr.com/photos/60640200@N07/5530753510/
    http://www.flickr.com/photos/60640200@N07/5530169069/

    I have redownloaded the modules and reinstalled them still the same.

    To be clear, i can add the pics and they appear... so technically it works, but the UI is messed up.

    Thoughts?

    Thanks Guys.

    |G|

  • Lukef
    Avatar
    Community Member
    32 Posts

    Re: Image gallery working but no UI styling? Link to this post

    Uncle Cheese...?

    Anyone...?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Image gallery working but no UI styling? Link to this post

    Make sure you've installed the modules in directories named "dataobject_manager" and "image_gallery"

    Anything different and the CSS and JS will 404.

  • Lukef
    Avatar
    Community Member
    32 Posts

    Re: Image gallery working but no UI styling? Link to this post

    Thanks for getting back to me UC.

    The issue is just like you describe... firebug tells me DOM CSS and JS are missing. I edited the folder names and reinstalled... However the problem persists... any other thoughts?

    For the sake of disclosing all symptoms, I have also noticed that I cannot click the image gallery page in the site tree and go there, I have to click on it then refresh the page to get to it for some reason...

    Thanks in advance.

    |G|

  • Lukef
    Avatar
    Community Member
    32 Posts

    Re: Image gallery working but no UI styling? Link to this post

    I hate those demanding forum crawlers who incessantly ask for help, but sometimes i just have to bump^

    G

  • JonoM
    Avatar
    Community Member
    103 Posts

    Re: Image gallery working but no UI styling? Link to this post

    I was going nuts trying to get the dataobject_manager js and css loaded on a site I just built. Worked on my local copy but not the live site. Everything was named appropriately and in the right place but no matter what I tried I got a 404 error when trying to access those documents. In the end I simply renamed 'dataobject_manager' to 'dataobject_managerx', created a new 'dataobject_manager' folder next to it and moved all the files in to it and somehow it started working. Some sort of quirk on the hosting/file-structure side of things. Maybe it's the same for you.

  • Musicaldustbin
    Avatar
    Community Member
    13 Posts

    Re: Image gallery working but no UI styling? Link to this post

    I also had this problem using the DataObject Manager downlaoded from GitHub (unclecheese-DataObjectManager-8808fda.tar.gz) i then fell back to a previous version of the module i had been using and the interface was then working

    Do you have an older copy of the module ?

  • CHD
    Avatar
    Community Member
    217 Posts

    Re: Image gallery working but no UI styling? Link to this post

    i had no UI styling too, i fixed it by adding data object manager & uploadify then DEV/BUILD
    then add image_gallery and DEV/BUILD again. that seemed to fix it.

    still having other issues though!

    latest version of image_gallery and ss 2.4.5
    it all works fine locally, but as soon as i upload i have problems.

    clicking "create image gallery page" does nothing. (emails an error to me saying: Error: Uncaught Exception: Cannot move /var/www/vhosts/cafemusicstudios.com/httpdocs/assets/image-gallery/NewImageGalleryPage-8/ to /var/www/vhosts/cafemusicstudios.com/httpdocs/assets/image-gallery/NewImageGalleryPage-10/
    At line 422 in /var/www/vhosts/cafemusicstudios.com/httpdocs/sapphire/filesystem/File.php )
    if i refresh, the page appears, but if i try and upload an image it throws up a server error. and emails me a very similar error message to the one above.

    looks like permission issues with image_gallery creating directories?
    but my whole assets directory is 777.
    AND ive even tried manually creating the directories myself and giving them all 777 but it still fails.

    any help?!

    1103 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.