dev-master
9999999-dev http://jamesbarnsley.co.nzDevelopment tools for SilverStripe
BSD-3-Clause
The Requires
silverstripe
1.0.0
1.0.0.0 http://jamesbarnsley.co.nzDevelopment tools for SilverStripe
BSD-3-Clause
The Requires
silverstripe
Wallogit.com
2017 © Pedro Peláez
Development tools for SilverStripe
Adds additional functionality to assist in developing SilverStripe websites., (*1)
IconSelectField to use icon libraries within the CMSLogJam logging to append system error logcomposer require jaedb/dev-tools
templates/Page.ss template and add $DebugTools immediately before the </body> tagconfig.yml. See config/dev-tools.yml for an example.When you set your SS_PRIMARY_DOMAIN property on a live website, we automatically redirect to this primary domain. This avoids the need for bloated .htaccess redirections and allows control at the environment level., (*2)
_ss_environment.php
define('SS_PRIMARY_DOMAIN', 'https://plasticstudio.co.nz'); will redirect http://www.plasticstudio.co.nz/some-section/subpage to https://plasticstudio.co.nz/some-section/subpage.disable_primary_domain_redirection: true in your project's config.yml
, (*3)
, (*4)
$db field to type Icon (eg 'PageIcon' => 'Icon')IconSelectField::create($name, $title, $iconFolder)$name is the database field as defined in your class$title is the label for this field$iconFolder (optional) defines the directory where your icons can be found. Defaults to /site/icons.$PageIcon). If your icon is an SVG, the SVG image data will be injected into the template. To prevent this, you can call $PageIcon.IMG instead to enforce use of <img> tags.LogJam::Log($message, $environment)$message a string that you'd like to log$environment (optional) the type of environment that should log this message (ie test, dev, live). Defaults to dev._config.php by adding LogJam::EnableLog();
_ss_environment.php with the following:ini_set('log_errors','on');
ini_set('error_log','/home/mywebsite/logs/php.log');
Development tools for SilverStripe
BSD-3-Clause
silverstripe
Development tools for SilverStripe
BSD-3-Clause
silverstripe