Jump to:

10929 Posts in 2613 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » vimeo module

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 866 Views
  • Fruit
    Avatar
    Community Member
    4 Posts

    vimeo module Link to this post

    i have installed the vimeo module and split up its components so they are all in the correct mysite folders, e.g. the php file in mysite/code, the javascript files in mysite/javascript. And i also redirected all the files paths so there were pointing at the new locations of the files.

    however after doing this the javascript was included on the vimeo gallery page however the show video in pop up functionality was not functioning.

    any ideas?

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: vimeo module Link to this post

    i have installed the vimeo module and split up its components so they are all in the correct mysite folders, e.g. the php file in mysite/code, the javascript files in mysite/javascript. And i also redirected all the files paths so there were pointing at the new locations of the files.

    Why did you do all of this? The module should work fine if you leave the module as you downloaded it.

  • swaiba
    Avatar
    Forum Moderator
    1784 Posts

    Re: vimeo module Link to this post

    Hi Will,

    At my request - I remember discussing this module strategy with you previously (quite a while ago). with 90% of modules we use they are either zipped and stored within the main source repository - or when they are small they are copied into the source code in the way (e.g. the item picker / multiselct fields).

    The goal is to stop the webroot getting full of modules and to simplify the install process of the software because I maintain many sites and frequently need to make fresh installations of the software.

    Barry

  • Fruit
    Avatar
    Community Member
    4 Posts

    Re: vimeo module Link to this post

    Hi guys,

    Thanks for the input but i found the problem, it was the file_exists function not finding the file on my localhost. So i removed the if(file_exists) from before the Requirements::css and now it works perfectly.

    Cheers

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