Message of the day:
Welcome to Silverstripe | Current release: https://www.silverstripe.org/download | Community Forum: https://forum.silverstripe.org | Feature requests: https://forum.silverstripe.org/c/feature-ideas
If you have any SilverStripe related questions, please supply the version of Framework you're using.
Did you flush? 🚽 =
hi dev/build runs fine but it often gives me blue entries with for example Field SiteTree.ClassName: changed to varchar(255) default 'Page' check ("ClassName" in ('SilverStripe\CMS\Model\SiteTree', 'Page', 'LayoutPage', etc .. all is fine but i want to get rid of blue entries in dev/build. any tips?
or maybe you only want a particiular part, just use a kit as dorset suggested
it comes down to if you want to include in say your own bundler or just let the browser do it stuff
js + css +font files
kit is usally like
It doesn’t really explain what a “kit” is….
I use the kits
after you sign up does it have instructions for silverstripe?
There's nothing SilverStripe specific. The kit is deployed with a single JS file. So you can just add this to your page with a
Requirements call in the usual way
Using the kits is in theory more efficient, since it only loads the subsets you need, and does everything asynchronously
As opposed to loading the entire CSS with the page, which can be a bit bulky
oh really? i thought it still included everything
so it has magic like webpack coolies, is that on the silverstripe level in requirements?
You can also specify whether to use SVG or Webfonts
so I’ve just registered, & it says to use it like this:
Copy your kit's code into the <head> of each template or page in your project where you want to use Font Awesome.. so If I just put that in the main http://Page.ss it should work right? no need for requirement in controller?
Yep, that'll be fine
end of the day all requirments (mostly) does is make a list of all the scripts and put them in your http://page.ss head anyway
Well, at the end of the page in the case of JS
???? I don’t know. On their website the 2 options are “kits” or download