7935 Posts in 1536 Topics by 943 members
|Go to End||Next >|
30 April 2009 at 5:58am
FYI, the scenario you're describing only happens with a HasMany or ManyMany ComplexTableField (or a DataObjectManager, for that matter). It's designed to give the user the ability to syndicate content to an unlimited number of areas on the site without having to duplicate anything. We use it all the time for sidebar items, for instance. On a given page, one can choose from the world of all sidebar content which ones will display.
For most cases, though, a plain CTF or DOM does fine.
But let us never speak of ComplexTableFields again!
30 April 2009 at 8:25am Last edited: 30 April 2009 8:26am
yep, me too, I've found all sorts of uses for DataObjectManager, and it seems to find it's way into every project in some form or other. I'll certainly participate in the forum 'petition'
30 April 2009 at 8:28am
@unclecheese - Hi, did you ever get to post your CustomSearchForm snippet?
30 April 2009 at 8:30am
Woo-hoo! Alright! Bring it on, guys!
30 April 2009 at 8:56am
That's right! I forgot to post that. I've put up the tutorial in this forum here:
30 April 2009 at 7:41pm
email feedback from silverstripe staff arrived today, assuring the need for a very own dataobjectmanager forum will be raised in the next team meeting early next week.
i'd also like to mention that as enhancement for complex table fields is a major issue for 2.3.4 (see http://open.silverstripe.org/ticket/3476), so dataobjectmanager might be the solution to this.
1 May 2009 at 9:09pm
I encountered a little bug today: after searching on a phrase including double quotation marks, the searchbox doesn't function anymore. Clicking 'refresh' on the filter after that leads me to my site's homepage. Tested on multiple browsers. Might it be that $_REQUEST items are not properly sanitized? (I was thingking about the pagesize as well...)
7 May 2009 at 1:14am
Couple of questions for UC, or anyone else with experience:
1. I have a page that uses the SimpleHTMLEditorField and am having issues with users who copy and paste in content. This issue also applies to the CMS, but the CMS has a 'paste as plain text' option. Is it possible to add this option to the SHEF. Or is there a way to create new DataObjects using a more standard CMS view rather than one of the popups?
2. Is there a possibility that future versions of ImageDataObjectManager could support other image types than JPG out of the box. I saw a forum post with a fix, but I'd like to make as few changes to the core module as I can, so that on future updates I don't have to chase down all the fixes I did in previous versions. For the time on my custom page types I'm using the FileDataObjectManager as it is more than good enough for our current needs. Perhaps a nice way to do this would be to use setAllowedFileTypes, or can one already do that?
|Go to Top||Next >|