I will create a class that handle that, and passing some parameters I
will do the resize/crop there.
In this way you can reuse the code say from a batch script or the
backend, etc.
On Sep 3, 2009, at 1:35 PM, Jake Barnes wrote:
>
>
> I've a form that allows users to upload images that can r
Hi there,
I'm developing in Symfony 1.2.4, using Propel and MySQL as my
database.
I've written a task that:
1. grabs a set of CSV files from a reporting source
2. uploads the CSV files using MySQL's 'load data infile ... ' syntax
It's step 2 above that is proving to be problematic.
The proble
I've a form that allows users to upload images that can represent them
on the site. I need to crop and resize the images to be sure they are
all the same size. I am curious where do most Symfony developers put
their code for resizing images? In the form class? I assume it is bad
practice to do th
more questions please :)
1. how do I display validation errors in custom template? I was able
to find the source of the default signinSuccess.php but it's unclear
on what to include in my template. I believe the default form uses
this class => sfGuardFormSignin.class.php.
2. How do I tell sfGuar
doh!
thank you! :D
On Sep 2, 9:16 pm, pcummins wrote:
> You have a typo in your template.
>
> $applicatonName is missing an i.
>
> On Sep 2, 12:42 am, jarthel wrote:
>
> > also, there's a topic about "Customize the sfGuardUser model". It
> > seems I can make changes to the schema.yml for "user
Hi everybody,
Does anybody knows how to set a field required for a given language,
and not for all languages, in a form ?
In the ObjectFormTranslation.class.php ?
e.g. :
A news object which have a title for 3 differents languages and one of
these is three language is required in the form (and not
Hello Veasna, to set the credentials allowed to an application or module go
to /apps//config/security.yml (in the case of an
app) or
/apps//modules//config/security.yml (in
the case of a module, you have to create this file as symfony doesn't
generate it by deffault), then add a credentials line li
My symptom is that the DB menu in the debug toolbar has dissapeared
(only on certain machines).
After searching in the code, I've discovered that there are no
listeners for application.log events for sfDebugConnection objects, so
the dispatcher isnt sending creole log messages to function
sfLogge
Hi.
Have you tried to pass to getPopulars() a query similar to this one?
> $q = Doctrine_Query::create()->from('Article a')->where('a.active = ?',
> true);
>
2009/9/1 Kevin Bond
> Hi Guys,
>
> I have a question about this plugin for anyone who knows about it.
>
> I have an Article model that I
On Wed, 2 Sep 2009, DEEPAK BHATIA wrote:
> Actually I am accessing the linux machine through telnet and doing
> stopssl and then start.
stopssl switches off SSL in the config permanently, so maybe you have to
issue a "stop" after that then a "start" to restart without SSL.
> Now when I run htt
Hi Eno,
Please help me in resolve this issue.
The symfony web site we have developed in based on Linux hence we are
using https to access the same.
Why does http://10.0.1.66 doesn't work ?
Thanks
Deepak
On Wed, Sep 2, 2009 at 9:36 PM, DEEPAK BHATIA wrote:
> Thanks
>
> Actually I am a
Is this a question?
Am 02.09.2009 um 08:26 schrieb sunny:
>
> Creating a Drop-Down List Based on a Foreign Key Column in index
> template .
>
> >
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" gr
Yeah - but it's better to have both kinds of security. The validation that
the same ID is coming back in is simple and can be generically added to all
Propel forms from a single place. That makes securing it with business
logic easier, because you don't have to worry about invalid IDs. I
impleme
Thanks
Actually I am accessing the linux machine through telnet and doing
stopssl and then start.
Now when I run http://10.0.1.66, I get the error that 425 HTTP Error,
Unable to connect with remote host.
Thanks
On Wed, Sep 2, 2009 at 7:23 PM, Eno wrote:
>
> On Wed, 2 Sep 2009, DEEPAK B
On Wed, 2 Sep 2009, DEEPAK BHATIA wrote:
> Now I stop ssl by /opt/lampp/lampp stopssl, but http://localhost doesn't work.
To run without SSL, you run the 'stopssl' command above but then use just
'start' to start.
--
--~--~-~--~~~---~--~~
You received this
On Wed, 2 Sep 2009, Martin - Digital Express wrote:
> D:\AppServ\www\symfony\sfproject>symfony doctrine:build-sql
> >> doctrine generating sql for models
>
> While exporting model class 'JobeetAffiliate' to SQL: Couldn't
> locate driver n
> amed mysql
Looks like you dont have pdo_mysql in yo
I am using sfValidatorDate to check that a date is in the 'mm/dd/yy'
format. 'date_format' is causing Min and Max to fail. I believe the
failure is caused by the shortened year format.
How can I get the validator to enforce both the date format and the
min/max. I tried using the 'date_format' opt
Lambert wrote:
> Hello,
> Is there a symfony newsletter plugin (no, I cannot find it...), has
> someone developed it or is someone interested in co-developing one for
> publication?
>
I could help you, just let me know what you need and what is my part here
Cheers
--
Ing. Reynier Pérez Mira
--
Eno escribió:
> On Tue, 1 Sep 2009, Germana Oliveira wrote:
>
>
>> BUT I HAVE TWO PROBLEMS:
>>
>> 1. with a new form (isNew):
>> Notice: Undefined offset: 0 in
>> /home/germana/www/indepabis/lib/form/PersonaForm.class.php on line 53
>>
>
> Were these form classes generated from models?
>
Are you sure you have pdo_mysql enabled in the php.ini your command
line interface uses?
On Wed, Sep 2, 2009 at 13:55, Martin - Digital
Express wrote:
>
> I´m new with symfony, and I´m trying to start with Jobeet but I have
> an error when trying to insert-sql with doctrine.
>
> I run the command
I´m new with symfony, and I´m trying to start with Jobeet but I have
an error when trying to insert-sql with doctrine.
I run the command below with this error:
D:\AppServ\www\symfony\sfproject>symfony doctrine:build-sql
>> doctrine generating sql for models
While exporting model class 'Jobe
You have a typo in your template.
$applicatonName is missing an i.
On Sep 2, 12:42 am, jarthel wrote:
> also, there's a topic about "Customize the sfGuardUser model". It
> seems I can make changes to the schema.yml for "user profiles". Does
> that mean I need to also make appropriate changes to
Hello,
Is there a symfony newsletter plugin (no, I cannot find it...), has
someone developed it or is someone interested in co-developing one for
publication?
Lambert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
Hi,
I get the error
"425 HTTP Error :Unable to connect with remote host".
But error_log in logs directory gives this below
[Wed Sep 02 17:13:57 2009] [notice] Apache/2.2.11 (Unix) DAV/2
mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.8 mod_apreq2-20051231/2.6.0
mod_perl/2.0.4 Perl/v5.10.0 configured --
How do you know http://localhost stops working? Did you check
apache/httpd error log?
On Wed, Sep 2, 2009 at 10:54 PM, DEEPAK BHATIA wrote:
>
> Hi,
>
> I know that Symfony Group is not a forum to ask this question but I am
> not getting help on this.
>
> I have installed XAMPP on linux. By defaul
Hi,
I know that Symfony Group is not a forum to ask this question but I am
not getting help on this.
I have installed XAMPP on linux. By default ssl is working so when run
https://localhost it shows xampp screen.
Now I stop ssl by /opt/lampp/lampp stopssl, but http://localhost doesn't work.
Pl
Hi I got to fix it as i was missing something: 'layout: stacked'
On Sep 1, 6:12 pm, Eno wrote:
> On Tue, 1 Sep 2009, 42 wrote:
> > jobeet/1_2/Doctrine/en/12#chapter_12_sub_virtual_columns). I think I
> > followed the guide as per described and changing in file 'apps\backend
> > \modules
Wrote this a few weeks ago:
http://www.symfony-project.org/plugins/sfWidgetFormInputSWFUploadPlugin
I'd be kind and helpful if you'd give it a try and help improve the
javascripts/stylesheets for cross browser compatibility (think it
works in major browsers >= IE6.
If you browse the plugin page
Hi all,
Anyone know any plugin available in symfony for multiple upload? I
want to do that for multiple upload of pics for creating photo album
like orkut and facebook..
Any Idea? Pls help me.
Thanks in advance.
--~--~-~--~~~---~--~~
You received this message
Dear all,
I am currently a new symfony starter. Now I am in day 13 "The User",
and I have a problem with user group and permission.
The question is How can I give the credential to the group and how to
enable it. Because when I try to create a different user in different
group that have differen
Hi Jeremy,
Those Symfony / Propel generated forms are basic with no security. You
will need to secure them based on the requirements of your project.
You don't secure a record from unauthorized access by obscuring the
ID, you actually have to check to make sure that a user is allowed to
access p
31 matches
Mail list logo