Quantcast
Channel:
Browsing all 4235 articles
Browse latest View live

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 Article


Re: Pagination of Children?

Does anybody have any ideas on this at all?ThanksPosted to: Pagination of Children? | Show Thread | Post Reply

View Article


Image may be NSFW.
Clik here to view.

Re: 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 Article

Re: 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 Article

Re: Complete transition to jQuery library

Thanks.Posted to: Complete transition to jQuery library | Show Thread | Post Reply

View Article


Re: 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 Article

Re: 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 Article

Re: 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 Article


Re: 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 Article


Memory 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 Article

Re: 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 Article

Image may be NSFW.
Clik here to view.

Re: 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 Article


Re: [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 Article

Image may be NSFW.
Clik here to view.

Re: [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 Article


Re: 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 Article

Flot 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 Article


Re: $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 Article

Image may be NSFW.
Clik here to view.

Embed 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 Article

Re: [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
Browsing all 4235 articles
Browse latest View live