Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install and use modules in SilverStripe

Using SilverStripe I want to use multi-select drop down on my page.

How can I install and use modules to do this?

like image 252
user1122910 Avatar asked Dec 08 '25 21:12

user1122910


1 Answers

General approach of installing a module in SilverStripe:

  • Prerequisite: As always, back up your database.
  • Log into your site as admin. I'm always doing this first, in case any changes prohibit a log in later on (normally if you change your existing code, but logging in first never hurts).
  • Unpack the module and put it into your installation's base folder (where sapphire, cms, mysite,... are).
  • Make sure the folder is named correctly, this should be described in the download. If there is no specific description, leave the name as it is after unpacking. There shouldn't be a version number in the folder name.
  • Go to http://yoursite.com/dev/build?flush=all - that will sync your database with your code.
  • You're good to use the module...
like image 91
xeraa Avatar answered Dec 10 '25 09:12

xeraa



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!