File uploads and Media Plugin

2010-10-26 Thread stab
I'm trying to use this: http://valums.com/ajax-upload/ with the media plugin here http://github.com/davidpersson/media I've got it setup ok, and it is attached to a Document model. I can also get the qquploader uploading fine using it's own examples and class libraries. I need to find a way to ta

Re: Media Plugin - Getting Started

2010-08-22 Thread stab
Hi David - will the documentation be updated soon? I'd really like to integrate this for a project.. Cheers On Jul 9, 9:01 pm, David Persson wrote: > The current documentation in themediapluginwiki isn't yet updated > to match with the upcoming 1.3 version of theplugin. The new version > will re

Re: Configuration in David Persson MediaPlugin in cake 1.3

2010-08-22 Thread stab
I'd like to know too :) On Aug 5, 3:46 pm, "marco.rizze...@gmail.com" wrote: > I'm using David Persson MediaPlugin. > With the version relative to cake 1.2 all works fine.Now I'm upgrading > my web application to cake 1.3 so I try to use > theMediaPlugin version relative to cakephp 1.3. > I have

Media plugin 1.3: fields missing, file not moving

2010-08-14 Thread stab
Ah0y! I think I have a minor setup problem. I have Job controller & Document model (which is a copy more or less of Attachment model in the plugin folder) In my job model I have: var $hasMany = array( 'QueueShortlist', 'Document' => array( 'className' =>

Re: app_model to access a component

2007-09-15 Thread stab
Now to understand it :p On Sep 15, 6:22 pm, AD7six <[EMAIL PROTECTED]> wrote: > On Sep 15, 12:09 pm, stab <[EMAIL PROTECTED]> wrote: > > > > > I'm doing a bit of a hack to get some auto-transaction control for a > > set of models. The component

app_model to access a component

2007-09-15 Thread stab
I'm doing a bit of a hack to get some auto-transaction control for a set of models. The component is doing it's thing and saving down data correctly. So in app_model I have: var $transaction_models = array('Form','FormTemplate','FormRecord','FormGridRecord','FormExtended','Chain', 'ChainDefault

Re: Opinion: Best way to create data entry form

2006-12-26 Thread stab
http://cakeforge.org/snippet/download.php?type=snippet&id=158 might be a start On Dec 27, 2:08 am, "Tazz" <[EMAIL PROTECTED]> wrote: First I will describe my model and then present the way I see to create the data entry. I'm looking for a user friendly solution. I'm building an application fo

finderQuery

2006-12-09 Thread stab
I got 3 tables: Arcs Transitions Workitems Transitions hasMany Arcs Arcs belongsTo Transitions Workitems belongTo Transitions Transitions hasMany Workitems So I have a query: $arcs = $Model->findAll(array( 'Arc.workflow_id' => $workflow_id,