DataObject never calling init of its ContentController?
I was wondering as per general rule. If we look at the below code (v.3.1.3):class MySymbol extends DataObject { private static $db = array( 'Symbol' => 'Varchar(32)', ); public function...
View ArticleProblem with this code to show menu links
Hi,I have a problem as 3rd level page links don't appear in menu on 1st level page, but only on 2nd level page.We have 2 side menus (one for 2nd level pages and one for 3rd level pages) and we would...
View ArticleHow to add breadcrumbs?
Hi,Im new with ss cms and use cloudy theme, but there are no breadcrumbs.How to add breadcrumbs to theme?Posted to: How to add breadcrumbs? | Show Thread | Post Reply
View ArticleAdding custom action in view page of modeladmin
I need to extend the grid field list page with a custom button. Please see attached image, I want to add a "Delete All" records button in my ModelAdmin extension of products, that I can control by...
View ArticleRe: How to add breadcrumbs?
in your theme's /Includes directory place BreadCrumbs.ss - and place code like the following:<% if $Level(2) %>   <div id="Breadcrumbs">      $Breadcrumbs   </div><% end_if...
View ArticleRe: DataObject never calling init of its ContentController?
A controller's init() function is fired when the controller is instantiated. The controller you created will not be instantiated automatically - that only applies to pagecontrollers - you'd have to...
View ArticleDefault admin doesn't have permissions
Hi, after 3 days of digging around and trying to find a solution I'm stuck and require assistance.When I try to login into the admin area of 1 of my SS3.1 sites it returns the login form as a...
View ArticleRe: Theme build within the admin to alter css in themes
Use a template as you would do to build a sitemap for example.So would have something like this:// I'm adding this to main page controller so it's accessible to all pages, feel free to change...
View ArticleRe: Default admin doesn't have permissions
Try hardcode an admin account by adding this to your _config.phpSecurity::setDefaultAdmin('admin', 'password');Posted to: Default admin doesn't have permissions | Show Thread | Post Reply
View ArticleRe: Default admin doesn't have permissions
Didn't work :/_config.phpSecurity::setDefaultAdmin( 'test', '123' );and also tried:_ss_enviroment.phpdefine('SS_DEFAULT_ADMIN_USERNAME', 'test');define('SS_DEFAULT_ADMIN_PASSWORD', '123');both return...
View ArticleRe: Default admin doesn't have permissions
Hello I think you are using memberprofile module page to login, logout and to try url/admin.Posted to: Default admin doesn't have permissions | Show Thread | Post Reply
View ArticleRe: Default admin doesn't have permissions
If- everything used to work fine before- you are in fact using the /admin url- you replaced the database with a new one- you switched back to default templates- you manually cleared the entire cache...
View ArticleRe: Default admin doesn't have permissions
I'm using svn to store my code so that will be a little more helpful to trackback however didn't find anything obvious, will try again. Will come back with a reply soon Thanks for the help guysPosted...
View ArticleRe: Default admin doesn't have permissions
The cause of all problems:Director::setBaseURL( 'http://'.$_SERVER['HTTP_HOST'].'/' );The obvious questions now will be why did you do this and why was it causing so much trouble?1) I did it because...
View ArticleRe: Search-equipped DropdownField
I'm not sure this is what you found however uncle cheese has a nice tutorial on how to have a dropdown with search amongst other nice field types. Check it out at:...
View ArticleRe: Default admin doesn't have permissions
OK, I was thinking along the lines of a standard installation. Installing SilverStripe in a subdir and then removing the subdir from the url? I'm not sure it's even really possible - looking at all the...
View ArticleRe: Search-equipped DropdownField
If it's the searchbox within the dropdown you're referring to, it should appear if the number of options exceeds 20, as that is how selectboxes in the cms are instantiated by default (using the...
View ArticleRemote working Silverstripe Developer
First of all, apologies if this is in the wrong forum topic area! We are looking for experienced, top notch silverstripe developers to join our growing team, working on client and own SaaS...
View ArticleRe: Search-equipped DropdownField
True, when the search panel did appear when I increased the amount of records. Thanks for that.The filter however appears to use "starts with" filtering. Is there a way to change it to "contains"...
View ArticleEditing DataObject in the frontend
I'm needing help creating a form for the frontend where the user can edit a DataObject. The website is basically a planner, so the user has a project (or projects) assigned to them. The projects are...
View Article