Re: DataObject plural_name() Method Truncates 'e'?
Thanks for the reply Martimiz,Out of pure curiosity can you give me some examples of how this does work for words in en_US locale?I'm just trying to work out how truncating the 'e' is beneficial in any...
View ArticleRe: Pagination of Children?
Does anybody have any ideas on this at all?ThanksPosted to: Pagination of Children? | Show Thread | Post Reply
View ArticleRe: DataObject plural_name() Method Truncates 'e'?
haha - no! I meant to agree with you on the e, and then go even further by saying that replacing an y for an ie might not always be a good idea in, say, Dutch Posted to: DataObject plural_name() Method...
View ArticleRe: Complete transition to jQuery library
>>Has the latest release of Silverstripe now made a complete transition to the jQuery library?Yep jQuery and jQueryUI are teh main focus and protype.js is gonePosted to: Complete transition to...
View ArticleRe: Complete transition to jQuery library
Thanks.Posted to: Complete transition to jQuery library | Show Thread | Post Reply
View ArticleRe: Pagination of Children?
Pagination for dataobjects as you've seen will still work for pages. Have a read of the documentation online for more reference - http://doc.silverstripe.org/framework/en/howto/paginationIn your case...
View ArticleRe: legacydatetimefields module error in ss3
I'd assume that this module has no intention of supporting the old field in SS3, the comopser.json should probably have a limit of the version it could be used forIt was made to support the date fields...
View ArticleRe: Director::direct('SOME_URL') requires a model as second parameter...
What if you are not in a Controller object?For example, I want to redirect after executing custom Gridfield row action?Posted to: Director::direct('SOME_URL') requires a model as second parameter... |...
View ArticleRe: Director::direct('SOME_URL') requires a model as second parameter...
Afaik you are always 'in a controller', meaning there's always a Controller active, based on a URL, making sure the work gets done...You can find the current controller by using...
View ArticleMemory leak in GridField?
I'm able to reproduce this on SS3.1.1 and SS3.1.2 so far, on linux/apache2 and on a mac running MAMP.I've tried php 5.3 and php 5.4, with APC enabled & disabled.1. pick a getCMSFields (Page or...
View ArticleRe: Draft content problems CMS preview pane
Cheers for that Carsten, glad I'm not the only one. Did you upgrade from an earlier version of SilverStripe 3?Update: Sorry, just read your other post and you say yours was a clean install. Had hoped...
View ArticleRe: Draft content problems CMS preview pane
Hi John, unfortunately this problem is still not solved I am sorry....Posted to: Draft content problems CMS preview pane | Show Thread | Post Reply
View Article[Solved] Prevent automatic population of head/body tag
Hi all,I have the problem, in which Silverstripe is just trying to do more than I need. The situation: a forTemplate() method is called on a DataObject, using a template, asfunction forTemplate()...
View ArticleRe: [Solved] Prevent automatic population of head/body tag
Hi Maurice,If I understand correctly, you should just be able to add the following code snippet before your call to renderWith();:Requirements::clear();LozPosted to: [Solved] Prevent automatic...
View ArticleRe: [Solved] Prevent automatic population of head/body tag
Hi there, you're absolutely right! This solved my problem, and just that fast Thanks,MauricePosted to: [Solved] Prevent automatic population of head/body tag | Show Thread | Post Reply
View ArticleRe: URL field
This may be more useful: function setWebsite($URL) { if (!$URL || !trim($URL)) return $this->setField('Website',''); if (preg_match('/^https?:\/\//i',$URL)) { $URL =...
View ArticleFlot Integration - $.flot is not a function error
I'm trying to integrate Flot with Silverstripe, and running into JS loading problems.I'm getting the js console error messgae "$.flot is not a function"Im loading the packages in a extended...
View ArticleRe: $MetaKeywords not displaying anything
Hi OZROD,Thanks for the response. I never actually figured this one out.but got around it by typing the actual "html syntax" for "Tags" under "Metadata"Do you have an example of this. Not sure what you...
View ArticleEmbed Content From Other Pages
Hi Guys,I have a scenario where a page requires content from other pages. Ideally a user would be able to insert such using short codes (for example) or some kind of global function from the...
View ArticleRe: [Solved] Flot Integration - $.flot is not a function error
I cannot help directly... but if it helps I know flot is used in this module...https://github.com/silverstripe-labs/silverstripe-abtesting...so it might have some help therePosted to: [Solved] Flot...
View Article