I tried but I will retry from scratch...
[ I don't understand why the topic changed so suddenly ;-) ]
--
Adrien
On 3 avr, 23:22, Arnold Ispan ispanarn...@gmail.com wrote:
Hello,
Maybe the solution is to rebuild forms and filters with *propel:build-forms
*and *propel:build-filters*
On
How can I change size of image during upload ? I use
sfImageTransformPlugin to do that.
//take information about uploading image:
$code = md5(uniqid(mt_rand()));
$file = $this-form-getValue('image');
$filename = $code;
$extension = $file-getExtension($file-getOriginalExtension());
$newname =
if ($file instanceof sfValidatedFile)
{
$image = new sfImage($file-getTempName());
}
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
Hi,
I'm using sfForms (with symfony 1.2) to create a form.
I'd like to set a field required ONLY if a checkbox is checked,
otherwise it doesn't not to be required.
I'm looking on the forms documentation, but without success. Anybody
could help me ?
Thanks,
Sylvain
THX - it works !! xD
On 4 Kwi, 12:39, Miloslav Kmeť miloslav.k...@gmail.com wrote:
if ($file instanceof sfValidatedFile)
{
$image = new sfImage($file-getTempName());
}
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Tu devrais regarder du coté de postValidator.
++ COil
- Message transféré
De : Sylvain Deloux sylvain.del...@gmail.com
À : Symfony-fr symfony...@googlegroups.com
Envoyé le : Samedi, 4 Avril 2009, 12h51mn 54s
Objet : [symfony-fr] [sfForms] rendre un champ requis (ou non) suivant
I found sfLightBoxPlugin:
http://www.symfony-project.org/plugins/sfLightboxPlugin
I download it from this website, unzipped and moved it to \plugins
directory, in \plugins\sfLightboxPlugin I have folders:
config, lib, modules, web. I don't need to move files from these
folders to
Hi,
can someone give some information about how to write and execute
functional tests as well as unit tests in plugins and how to execute
all or particular ones?
I couldn't find any information about that. Any information would be
very appreciated.
regards,
Matthias
Hi Matthias,
If you want to execute particular tests, you can just execute them
from the console using php. E.g.
$ php plugins/myPlugin/test/unit/myClassTest.php
If you want to execute sets of tests, you have to create PHP files
that execute these sets, and then execute these PHP files. The
Hi,
To summaruze the helpers make the foreach for you...
The examples are quit explicit... Check out the exemple files witch are in the
sfLightbox/ module
of the plugin.
++ COil
De : dziobacz aaabbbcccda...@gmail.com
À : symfony users
But all lightbox files should be in \plugins\sfLightboxPlugin or I
should for example move lightbox images to \web\images, lightbox css
to \web\css etc ??
On 4 Kwi, 15:59, Loïc Vernet qrf_c...@yahoo.fr wrote:
Hi,
To summaruze the helpers make the foreach for you...
The examples are
Well if you have manually downloaded the plugin, yes you must copy the
ressources in /web or use the plugin:publish-assets symfony task
You should read the plgind chatpter of the doc and Jobeet.
++
De : dziobacz aaabbbcccda...@gmail.com
À : symfony
I have read but the instruction isn't simply - how can I download it
not manualy ? What should I write in console ? You haven't wrote it in
your tutorial.
On 4 Kwi, 17:25, Loïc Vernet qrf_c...@yahoo.fr wrote:
Well if you have manually downloaded the plugin, yes you must copy the
You have wrote:
If you don't want to use the following web resources paths :
*
/sfLightboxPlugin/js/
*
/sfLightboxPlugin/css/
*
/sfLightboxPlugin/javascript/
So it means that I shouldn't move js and css to \web directory but
leave them in sfLightboxPlugin
are there plans to update this plugin for symfony 1.2.x ?
Pablo
On Sat, Apr 4, 2009 at 9:59 AM, Loïc Vernet qrf_c...@yahoo.fr wrote:
Hi,
To summaruze the helpers make the foreach for you...
The examples are quit explicit... Check out the exemple files witch are in
the sfLightbox/ module
Hi,
The problem is solved when I run below command
ALTER TABLE projecttype_table TYPE=InnoDB;
Thanks
Deepak Bhatia
On 4/2/09, whalexis alexis.degrugill...@gmail.com wrote:
Hi you should have a look at this
http://dev.mysql.com/doc/refman/5.1/en/innodb-foreign-key-constraints.html
Your wishes will become true in a few minutes... ^^
De : Pablo Godel pgo...@gmail.com
À : symfony-users@googlegroups.com
Envoyé le : Samedi, 4 Avril 2009, 18h40mn 48s
Objet : Re: Re : [symfony-users] lightbox in symfony - how can I use it ?
are there plans
Ok - it works but it wasn't easy, tutorial is hard to understand - it
is mine easier tutorial:
download lightbox from: http://www.symfony-project.org/plugins/sfLightboxPlugin
unzip and again unzip - you should use .zip format, not .tgz format -
I had to unzipped it two times in windows ;)
Create
Ok - it works but it wasn't easy, tutorial is hard to understand - it
is mine easier tutorial:
download lightbox from: http://www.symfony-project.org/plugins/sfLightboxPlugin
unzip and again unzip - (to AUTHOR this plugin: you should use .zip
format, not .tgz format -
I had to unzipped it two
Ok - it works but it wasn't easy, tutorial is hard to understand - it
is mine easier tutorial:
download lightbox from: http://www.symfony-project.org/plugins/sfLightboxPlugin
unzip and again unzip - you should use .zip format, not .tgz format -
I had to unzipped it two times in windows ;)
Create
This is what I did in one of my forms:
inside the form configure method:
$post_validators [] = new gStep3Validator (
sfConfig::get
(app_procurement_wizard_select_prefix).$provision - id,
sfConfig::get
On 4 Apr., 15:13, Bernhard Schussek bschus...@gmail.com wrote:
Hi Matthias,
If you want to execute particular tests, you can just execute them
from the console using php. E.g.
$ php plugins/myPlugin/test/unit/myClassTest.php
Hi Bernhard,
thanks for your detailed information! Let's hope the
The plugin and README was updated for symfony 1.2.x and my new friend dziobacz
^^
--http://www.symfony-project.org/plugins/sfLightboxPlugin/1_0_9?tab=plugin_readme
++ COil
De : Pablo Godel pgo...@gmail.com
À : symfony-users@googlegroups.com
Envoyé le :
Hi symfonians,
I have released the 1.0.3 version of the sfDB4toPropelPlugin plugin some days
ago,
-- http://www.symfony-project.org/plugins/sfDB4toPropelPlugin/1_0_3
It introduce a new interesting functionality that allows you to merge plugin
schemas. What does this mean ?
You have your DB4
LOL xD
1. Tutorial is much better
2. Plugin doesn't work :) Some mistake is in \plugins\sfLightboxPlugin
\lib\helper\LightboxHelper.php - I am sure because with previous
version of LightboxHelper.php everything is ok.
3. How can I add css style to delete borders around image (in css
class it
On Sat, 4 Apr 2009, dziobacz wrote:
unzip and again unzip - you should use .zip format, not .tgz format -
I had to unzipped it two times in windows ;)
Or install Cygwin so you have nice Unix tools like tar.
--~--~-~--~~~---~--~~
You received this message
I have corrected the helper and README for symfony 1.0.x. in SVN.
Moreover the Prototype version bundled with symfony 1.0 (1.5.0.0) is not
supported by Lightbox 2.0.4 , so you will have to upgrade
your prototype version (you can also copy/paste the /web/sf folder of the
symfony 1.1 sandbox into
Hi Matthias,
I'm already using the sfTaskExtraPlugin. The problem I actually had
was thet the bootstrap scripts were not working out of the box for me
as they don't have access to the symfony libs by default..
Yeah, that's one thing I forgot to mention. You need to export the
path variable
Thanks a lot! I am sure I will use it in one of the sites I am
currently working on.
Pablo
On Sat, Apr 4, 2009 at 7:11 PM, Loïc Vernet qrf_c...@yahoo.fr wrote:
I have corrected the helper and README for symfony 1.0.x. in SVN.
Moreover the Prototype version bundled with symfony 1.0 (1.5.0.0)
If I want SQL that has an OR in it, like this:
select * from teams where game_id=5 OR game_id=7
How do I get that with Propel. This is not covered in Chapter 8 of the
Symfony book.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Try something like:
$c = new Criteria();
$c1 = $c-addNewCriterion(TeamsPeer::GAME_ID, 5);
$c2 = $c-addNewCriterion(TeamsPeer::GAME_ID, 7);
$c1-addOr($c2);
$c-add($c1);
On Sat, Apr 4, 2009 at 7:23 PM, Lawrence Krubner lkrub...@geocities.com wrote:
If I want SQL that has an OR in it, like
$c = new Criteria();
$criterion = $c-getNewCriterion(GamePeer::ID,
5)-addOr($c-getNewCriterion(GamePeer::ID, 3);
$c-add($criterion)
In most inistance i think you can skip the criterion part as simply
calling Critera::addOr() will work like so:
$c = new Criteria();
$c-add(GamePeer::ID, 5);
32 matches
Mail list logo