d the generator.yml file to
> edit:
> fields:
> role_permission: { type: admin_double_list, params:
> through_class=RolePermissionRef }
> display: [name, role_permission]
>
> and its working now :)
>
> On Sep 16, 9:06 pm, Abraham Montilla
yeah thanks for the heads up ... i don't have a choice, my application has
to interact with a third party service and the only way they provide is
through stored procedures ... so really don't have a choice ... any pointers
to where i can get some good read about propel custom queries? and also
con
aults
in sf 1.2? sfConfig::get('sf_upload_dir_name') returns nothing)
or just generally good programming tips within the context of building links
...
On Mon, Sep 28, 2009 at 8:45 PM, Eno wrote:
>
> On Mon, 28 Sep 2009, Farrukh Abbas wrote:
>
> >
thanks people but this solves the purpose
download attachement
public_path returns a url like
http://localhost:8080/myproject/web/uploads/b3a2fe88caa89fa97a7443cdcf55e608.pdf
exactly what was needed...
any suggestions to improve ?
On Mon, Sep 28, 2009 at 1:19 PM, Johnny Lattouf wrote:
>
> You
I'm using propel as orm
--
Kind regards
Farrukh Abbas
On 28 Sep 2009, at 09:20, Gareth McCumskey wrote:
> Are you using Propel or Doctrine as your ORM?
>
> On Mon, Sep 28, 2009 at 2:42 AM, dagger
> wrote:
>
> Hi,
>
> in my current project I have to connect t
Yes I believe it is the solution i was looking for... I will try it
out as soon as I get back home... Thanks a lot. :)
--
Kind regards
Farrukh Abbas
On 27 Sep 2009, at 19:27, Gábor Fási wrote:
>
> Check out the public_path() helper, I believe that's what you need.
>
> On
code the folder structure
"myproject/web" just like image_tag() helper
--
Kind regards
Farrukh Abbas
On 27 Sep 2009, at 17:47, Eno wrote:
>
> On Sun, 27 Sep 2009, dagger wrote:
>
>> A simple question... How can i create a download link to a file
>> uploaded to
using symfony 1.2
On Sun, Sep 27, 2009 at 2:54 PM, dagger wrote:
>
> Hi,
>
> A simple question... How can i create a download link to a file
> uploaded to uploads directory under web of symfony?
>
> something like - file.pdf')?>
>
> thanks for the reply
> >
>
--
kind regards
Farrukh K. Muham
Yeah never really got the time to look into creating plugins Just used
a few.. Will look into it... Thanks
Any how symfony is doing a great... N it a piece of work well done!
Thanks to the team building it.
--
Kind regards
Farrukh Abbas
On 24 Sep 2009, at 03:48, zeek wrote:
>
> F
i have always used the construct below
if($this->form->isValid()){
$object = $this->form->save();
$id = $object->getId();
}
seeing bindandsave for the first time...
the save function of the form automatically sets the id of the object or in
other words returns the recently saved object.
On Thu
er as well ...
--
Kind regards
Farrukh Abbas
On 23 Sep 2009, at 22:30, Sid Bachtiar wrote:
>
>> the schema model n peer classes in
>> one folder so all one would need is to copy the folder n customize it
>
> You mean like, plugin? :)
>
> On Thu, Sep 24, 2009 at 1:51 AM, F
older n customize it ... It's just n idea... So would like to
know the drawebacks n strenghts of doing so... For that to be possible
the model has to be stand alone... Feel free to critizie constructively
--
Kind regards
Farrukh Abbas
On 23 Sep 2009, at 15:37, Alexandru-Emil Lupu
wrote:
com/group/symfony-users/msg/627be2a11e61990e>
On Wed, Sep 16, 2009 at 8:14 PM, Abraham Montilla wrote:
> oh, try deleting the module and generate it again, i think that's the
> problem then...
>
> 2009/9/16 Farrukh Abbas
>
> yes i did, build-model, form, sql, and in
t; 2009/9/15 Farrukh Abbas
>
>> changed the schema to the following (propel), but still no luck ...
>>
>> permission:
>> id:
>> method_name: { type: VARCHAR, size: 50, required: true }
>> action_name: { type: VARCHAR, size: 50,
changed the schema to the following (propel), but still no luck ...
permission:
id:
method_name: { type: VARCHAR, size: 50, required: true }
action_name: { type: VARCHAR, size: 50, required: true }
role:
id:
name: { type: VARCHAR, size: 100, required:
you also have to specify a namespace like this
$this->getUser()->setAttribute('quantity', '10', 'shopping_cart');
$this->getUser()->getAttribute('quantity', 'a default value if quantity does
not exist', 'shopping_cart');
$sf_user->getAttribute('quantity', '', 'shopping_cart');
and if u want to r
ke when creating a newsletter.
>
> Gábor
>
>
> On Tue, Sep 8, 2009 at 19:37, Farrukh Abbas
> wrote:
> > ok - let me have another shot at explaining it
> > Problem statement: I have build a simple bloging application where
> multiple
> > people can post articles, a
nk page in case of an exception or take too much time if the smtp
server is busy ...
i hope this is a better description ...
thanks for your time
On Tue, Sep 8, 2009 at 5:56 PM, Eno wrote:
>
> On Tue, 8 Sep 2009, Farrukh Abbas wrote:
>
> > Ok thanks,
> > is there a way i
Ok thanks,
is there a way i can perform the e-mail sending after the response has been
sent to the browser?
On Tue, Sep 8, 2009 at 12:56 PM, aalexand
wrote:
>
> As PHP doesn't support multi-threading, you cannot execute parallel
> activities in a single request. I think the most common solution i
yeah - thanks :)
On Wed, Jul 29, 2009 at 3:29 PM, despai - wrote:
> bool *unlink* ( string $nombrearchivo [, resource $contexto ] )
>
>
>
>
> 2009/7/29 dagger
>
>
>> I guess it will be better if I define a template for image editing ...
>> as i also create 2 scaled versions at the time the user
Hi
I'm new with 1.2 myself ... and have not really made a new project in 1.2
yet ... so far only been upgrading my existing projects from 1.0
Never the less you could try and put the following parameters in the
attribute definition
{ type: INTEGER, required: true, default: '', foreignTable: user,
Thanks... looking into a work around - any other solutions to this problem?
On Fri, Jun 12, 2009 at 2:41 PM, Sid Ferreira wrote:
> As I said, we need a ticket...http://trac.symfony-project.org/ticket/6618
> Did it.
>
>
> On Fri, Jun 12, 2009 at 06:33, Benjamin Grandfond <
> benjamin.grandf...@gm
22 matches
Mail list logo