Quantcast
Channel:
Browsing all 4235 articles
Browse latest View live

Re: [SOLVED] CustomSiteConfig not found

Hi Harley,The extension you pasted is empty - if there's nothing in there you should just remove it and that'll solve this. If there is something in there that you've just hidden for this post, I'd...

View Article


Re: [SOLVED] CustomSiteConfig not found

Thanks for the suggestions,Yeah I think you're right about the cache flush, that could be the problem. I've only got the custom site config there for future development so I'll just remove it for the...

View Article


[SOLVED] How to input title tag metadata

I'm new to Silverstripe 3.x, but had made a website previously on 2.x. Before, in the cms, under the metadata tab there existed a field which I could fill in with the page title, which would then get...

View Article

Re: [SOLVED] How to input title tag metadata

<?phpclass Page extends SiteTree {   private static $db = array(    'MetaTitle' => 'Text'   );   private static $has_one = array(   );      public function getCMSFields() {    $fields =...

View Article

How to install themes ...

I tried to install the theme, it installed but it does not show the pages. It only shows the main page ..Please helpPosted to: How to install themes ... | Show Thread | Post Reply

View Article


Re: SiteTree Sort Order

OK I added the line private static $default_sort = 'Title ASC';Into my PeoplePage object but that has had no effect to the order. It is still overwritten by SORT in the CMS SiteTree. I have flushed the...

View Article

Re: SS 3.0 CMS Backend: no content shown, when clicking a menu-link.

Thankyou for the thread!!!Had the same issue in 3.1.2 with uncle cheese's event calendar module. Turns out there was a space/line in one of the php files in the module.Just submitted a request to fix...

View Article

Re: [SOLVED] How to input title tag metadata

Okay, I figured I would need to edit the page.php file like this. Wasn't sure if there was some way to add the field back in through the config.php file.None the less, I did the following:<?phpclass...

View Article


How to delete uploaded files upon session expiry?

HiA form I have implemented uses UploadField to upload files. For a couple of reasons (saving space, not wanting File table to get unnecessarily cluttered, security & privacy) I immediately delete...

View Article


Re: Redirect user to group page upon login

Okay so I have spent a little bit of time trying to migrate the code to work with SS3, I have added new row to the DB before with no hassles, but this time is doesn't seem to be working,I think where I...

View Article

Re: SS 3.0 CMS Backend: no content shown, when clicking a menu-link.

Was it in CalendarAnnouncement.php (first line before <?php is blank)?Posted to: SS 3.0 CMS Backend: no content shown, when clicking a menu-link. | Show Thread | Post Reply

View Article

Re: Redirect user to group page upon login

Your code should look like <?php class GroupDecorator extends DataExtension {private static $db = array( 'GoToAdmin' => 'Boolean');private static $has_one = array('LinkedPage' =>...

View Article

Re: SiteTree Sort Order

Potentially a bug within SilverStripe. AFAIK that should work from a theory point of few. If you can reproduce the issue on a clean 3.1 install it would be good to report it as an issue on...

View Article


Re: Creating filters for a search

I have tried remove, what it does it completely removes it from use. It basically unpublishes it and I can no longer access those news. I had to go to console to publish the data again in order for it...

View Article

Re: SOLVED 3.1 GridField_FormAction confirmation before delete

SOLVED - I added a MyModelAdmin init function which required some JS in which I copied an action function from gridfield,js and added the test there. .... easy when you know how !!!!!Posted to: SOLVED...

View Article


Image may be NSFW.
Clik here to view.

Re: SOLVED 3.1 GridField_FormAction confirmation before delete

Would be useful if you can show the actual code here too for others attempting the same Also if you can can add [solved] to the initial forum post it help people find it while searching... just some...

View Article

Downloading addon's

Sorry if this is a stupid question but I cannot find how to download addon's. I have got this far:http://addons.silverstripe.org/add-ons/silverstripe/sqlite3but there is no obvious download button or...

View Article


Re: SOLVED 3.1 GridField_FormAction confirmation before delete

Ok sorry - thought a description would suffice....Steps to implement this:-a) get config and add component using an extension<?php class MyModelAdminExtension extends Extension {   function...

View Article

Re: Creating filters for a search

An alternative approach could be to 'prepare' the taglist in onBeforeWrite(). One that comes to mind: if you were to trim all spaces, and add a terminating comma, you could filter on 'News,' The...

View Article

Image may be NSFW.
Clik here to view.

Re: Downloading addon's

Basically there are two ways to download SilverStripe modules from addons.1. The 'oldfashioned way' by downloading the source code from the GitHub repository in a Zip file. In this case the 'Homepage'...

View Article
Browsing all 4235 articles
Browse latest View live