Someone who knows how this is done?
On 13 okt, 08:17, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com
wrote:
Would be a good option, but I need more forms than only these two.
* Sign up
* Change profile
* Change sign in settings
* Uploads new photo
All of these three forms use just a few
HI there!
I am trying to create some field level credentials in the edit/new, but it
seem that the form is always ignores my credentials (displaying all the
fields even i do not have those credentials).
Any ideea how to fix it ?
this is my generator.yml file
generator:
class:
I think that your UserI18nForm generates some fileds lables like
user_i18n_description or so ...
you could do
unset($this['user_i18n_description']) in your sign in form
Alecs
On Wed, Oct 14, 2009 at 11:32 AM, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
Someone who knows how this
On Oct 13, 11:56 am, Sid Bachtiar sid.bacht...@gmail.com wrote:
I just tried sfMediaLibraryPlugin, could not get it to work!
For anyone else reading this, use sfAssetLibraryPlugin instead if you
are using Symfony 1.2 (Propel) with TinyMCE 3.
Apply the following patch to get rid of the
On Oct 13, 3:13 pm, Pablo Godel pgo...@gmail.com wrote:
I am using sfDoctrineGuard plugin. When I run doctrine:data-dump and then
data-load the passwords which are encripted by default with sha1 get
corrupted.
As others have said, sfGuard's setPassword method is called by the
data-load task,
You can easily create an admin app where the admin can add questions,
and a frontend app where the interviewee answers them...
However, from your email and questions, it looks as though you don't
already have any Symfony experience. This is a fairly trivial
application - you could get it
Hi,
is possible to do it using the generator (parameter list:)?
Bye
Javi
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To
what do you mean ?
On Wed, Oct 14, 2009 at 1:34 PM, tirengarfio tirengar...@gmail.com wrote:
Hi,
is possible to do it using the generator (parameter list:)?
Bye
Javi
--
As programmers create bigger better idiot proof programs, so the universe
creates bigger better idiots!
I am
Hi everybody,
Is there a way to specify the connection parameters (those normally
specified in databases.yml) via PHP? Maybe in the ProjectConfiguration
class, but how?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
When I would like to render a form with
sfWidgetFormSchemaFormatterTable as decorator. But to let it work I
need to type the following code:
/table
?php echo $form ?
/table
Although the form decorator table has a format
$decoratorFormat = table\n %content%/table;
I would prefer
I have generated a backend from sfGuadUser model, so i can list in the
backend the users registered in my app, sorting the list by the fields
(username, created_at, etc)... but i also have a Profile model that is
related to the sfGuardUser model.
My problem: i dont know how to show also in that
this is relative simple ...
check docs for the admin and create a partial to which you provide the
rest of the fields ...
also ... the sfGuardUser module allready does that listing ...
Alecs
On Wed, Oct 14, 2009 at 2:32 PM, tirengarfio tirengar...@gmail.com wrote:
I have generated a backend
It is by design, the $decoratorFormat is only used when you embed a form
On Wed, Oct 14, 2009 at 1:13 PM, Iwan van Staveren istave...@gmail.comwrote:
When I would like to render a form with
sfWidgetFormSchemaFormatterTable as decorator. But to let it work I
need to type the following code:
Hi all,
I'm using sf 1.2 and I've got a component on my web page that
retrieves some RSS feed data and displays it (using sfFeed2Plugin). I
don't want my server to do an http request on each page load, so I
cached my component, with the layout. It works fine, but I've noticed
a strange behavior:
On Oct 14, 1:39 pm, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
the sfGuardUser module allready does that listing ...
Do you mean it also can sort the list by the Profile fields?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Hi all,
I have a problem with console scripts.
When i try to make doctrine:insert-sql from my console (i'm under
macosx) i receive this error:
Couldn't locate driver named mysql
..And of course it's a matter also if i try to load data or build all.
I could insert by myself the sql, but i want
The command line php uses a different php.ini, locate it, and enable
both the pdo and the pdo_mysql extensions.
On Wed, Oct 14, 2009 at 14:16, cosmy c.zec...@gmail.com wrote:
Hi all,
I have a problem with console scripts.
When i try to make doctrine:insert-sql from my console (i'm under
First thing that goes through my mind is why you would want to do that?
databases.yml is where all database connections are defined and you can
create as many as you like in there.
http://www.lampjunkie.com/2008/04/using-multiple-databases-in-symfony-with-propel/
On Wed, Oct 14, 2009 at 1:04 PM,
they are enabled and i use the same php.ini
On 14 Ott, 14:32, Gábor Fási maerl...@gmail.com wrote:
The command line php uses a different php.ini, locate it, and enable
both the pdo and the pdo_mysql extensions.
On Wed, Oct 14, 2009 at 14:16, cosmy c.zec...@gmail.com wrote:
Hi all,
I
To make sure about this create a php file (lets call it php_info.php)that
only contains:
?php
phpinfo();
?
Then run it on command line as:
php php_info.php | grep PDO
If you do have command line PHP enabled you should see:
php php_info.php | grep PDO
PDO
PDO support = enabled
PDO drivers =
On Wed, 14 Oct 2009, [ISO-8859-1] Grégoire wrote:
- when no user is authenticated, the cache is working fine.
- when I log in, the sf_cache_key changes, so the cache is refreshed -
I don't want this behavior, since my cached data is not user
dependent...
Is there a way to parameter the
On Wed, 14 Oct 2009, Gareth McCumskey wrote:
To make sure about this create a php file (lets call it php_info.php)that
only contains:
?php
phpinfo();
?
Then run it on command line as:
php php_info.php | grep PDO
Or just run:
php -i |grep PDO
--
Hah! You learn something new everyday
On Wed, Oct 14, 2009 at 3:21 PM, Eno symb...@gmail.com wrote:
On Wed, 14 Oct 2009, Gareth McCumskey wrote:
To make sure about this create a php file (lets call it php_info.php)that
only contains:
?php
phpinfo();
?
Then run it on command
Thomas,
Thanks, do you also know what the design idea behind this is or where
I can find it?
Kind regards,
Iwan
On 14 okt, 14:06, Thomas Rabaix thomas.rab...@gmail.com wrote:
It is by design, the $decoratorFormat is only used when you embed a form
On Wed, Oct 14, 2009 at 1:13 PM, Iwan van
Great, you were right
PDO
PDO support = enabled
PDO drivers = sqlite, sqlite2
PDO Driver for SQLite 3.x = enabled
there's no drivers for mysql, but i have this line enabled in
php.ini:
extension=pdo_mysql.so
But i've learnt something new ;)
Sharing knowledge is a great thing,
thank you very
no idea ...
On Wed, Oct 14, 2009 at 3:27 PM, Iwan van Staveren istave...@gmail.comwrote:
Thomas,
Thanks, do you also know what the design idea behind this is or where
I can find it?
Kind regards,
Iwan
On 14 okt, 14:06, Thomas Rabaix thomas.rab...@gmail.com wrote:
It is by design,
Hi to all, here i send you a script for compare isset vs strlen.
Maybe symfony can gain something with this!
if (isset($username[5])) {
//That's OK!;
}
is more faster than
if (strlen($username) == 5) {
//That's OK!;
}
Sure, there are cases where ask or know the
Im just shocked with this one ._.
On Wed, Oct 14, 2009 at 11:32, roberto german puentes diaz
puentesd...@gmail.com wrote:
Hi to all, here i send you a script for compare isset vs strlen.
Maybe symfony can gain something with this!
if (isset($username[5])) {
//That's OK!;
}
Hi,
I am suprised that this is measurable that good. I can reproduce it.
isset runs in 15% of the time as strlen.
I tried wrapping this into a function:
function hasXChars($string, $x){
return isset($string[$x-1]);
}
- speed boost gone. slower than strlen.
The implication is that coders
I don't know what's the matter.. this is my php configuration for
mysql:
--with-mysqli=/Applications/MAMP/Library/bin/mysql_config
--with-pdo-mysql=shared,/Applications/MAMP/Library
do you have an idea?
On 14 Ott, 15:39, cosmy c.zec...@gmail.com wrote:
Great, you were right
PDO
PDO support
ILOD : infinite loop of death
I'm at day 13 in Jobeet for Doctrine and I try to secure my backend.
I couldn't get PEAR working so I installed sfDoctrineGuard by hand
(manual download, manual unpacking in /plugins).
I followed the tutorial and when I try to log in has username:
admin , password:
On Wed, 14 Oct 2009, Greg wrote:
It sounds perfect, but I can't find how to set this key... Is it in my
cache.yml file?
If you are caching a partial, then you can include the key in the
include_partial() call, e.g.
?php include_partials('global/feeds', array('sf_cache_key' =
'newfeeds'));
Hi,
just that. Changes in filter, for example, work perfect, but not for
the list.
Symfony 1.2.8
Javi
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
:)
2009/10/14 Fabian Lange fabian.la...@symfony-project.com
Hi,
I am suprised that this is measurable that good. I can reproduce it.
isset runs in 15% of the time as strlen.
I tried wrapping this into a function:
function hasXChars($string, $x){
return isset($string[$x-1]);
}
- speed
On Wed, 14 Oct 2009, tirengarfio wrote:
just that. Changes in filter, for example, work perfect, but not for
the list.
Symfony 1.2.8
HYCC (Have You Cleared Cache :-) ?
--
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Yes :)
On Oct 14, 6:37 pm, Eno symb...@gmail.com wrote:
On Wed, 14 Oct 2009, tirengarfio wrote:
just that. Changes in filter, for example, work perfect, but not for
the list.
Symfony 1.2.8
HYCC (Have You Cleared Cache :-) ?
--
--~--~-~--~~~---~--~~
That's the configure compile options for php - not what's being used.
You need to ensure the extension is loaded.
If you check your php -i output you'll either have a single php.ini being
used or have multiple .ini files (if you have --with-config-file-path set).
The latter is more flexible
There were a problem with imap.so extension which had blocked all the
other extensions..
now it seems ok.
Thank you.
On 14 Ott, 19:11, david da...@inspiredthinking.co.uk wrote:
That's the configure compile options for php - not what's being used.
You need to ensure the extension is loaded.
Before practical test, how much is $v ??
$v = (int) ( (0.7 + 0.1) * 10);
how many of you, can accept?
Beware with (int) !!
cheers to all
--
Cr. Puentes Diaz
MP 10.12726.9
Córdoba - Argentina
www.puentesdiaz.com.ar/blog/
www.puentesdiaz.com.ar/blog/novedades
www.twitter.com/puentesdiaz
Linux
$v = (string) ( (0.7 + 0.1) * 10);
is better...
On Wed, 14 Oct 2009 20:08:29 +0200, roberto german puentes diaz
puentesd...@gmail.com wrote:
Before practical test, how much is $v ??
$v = (int) ( (0.7 + 0.1) * 10);
how many of you, can accept?
Beware with (int) !!
cheers to all
--
On 9 Ott, 17:55, Davide Fedrigo davide.fedr...@contactlab.com wrote:
I'm looking for a symfony class to manage log through syslog.
That's my problem, too. It should be not that difficult writing a new
class from scratch, but sounds strange that the existing one has been
dismissed.
Anyone?
Hi @ll,
First excuse my English is not very good.
Working on my first project with Symfony and Doctrine.
I need help with the backend application.
I have an object (car) that has a table associated language (i18n,
car_translation).
I ride a list showing the name found in the language table
You can try the MySql Workbench which has an ER editor
http://dev.mysql.com/downloads/workbench/
It has plugins for Symfony Propel and Doctrine which generate yaml
http://forums.mysql.com/read.php?153,208229,208229
On Oct 13, 2:55 pm, cosmy c.zec...@gmail.com wrote:
Hi all.
Generally i use
Hi, when im trying sending smtp mail with swift it tells me Fatal
error: Interface 'Swift_OutputByteStream' not found in /home/osmange/
public_html/swift/classes/Swift/Transport/IoBuffer.php on line 21
--~--~-~--~~~---~--~~
You received this message because you
Hello! I am Enim and i am new to SYMFONY so please be kind.
i am having trouble with the build query that causes the returned
values to thankyouSuccess.php page not appear.
You may be interested to know that we've just published a symfony
plugin called sfDoctrineJcroppablePlugin which, I think, would be
something the original poster was looking for.
It's a behaviour for your models which adds image handling visual
cropping on the backend and can be used with the
On 14, Oct 2009, at 13:48 , Gareth McCumskey wrote:
First thing that goes through my mind is why you would want to do
that? databases.yml is where all database connections are defined
and you can create as many as you like in there.
Imagine the exact same codebase to power two
You may be interested to know that we've just published a symfony
plugin called sfDoctrineJcroppablePlugin which probably does what the
original poster was looking for.
It's a behaviour for your models which adds image handling visual
cropping on the backend and can be used with the admin
Total madness !
$v = (float) ((0.7 + 0.1) * 10);echo $v; = 8, as expected
$v = (int) ((0.7 + 0.1) * 10);echo $v; = 7, as totally unexpected !!!
Can you explain why ? A php bug ?
Thanks for that thought-provoking post ;-)
--~--~-~--~~~---~--~~
You received this
Hi all,
how about this problem? Is there any simple or complicated solution? I
tried to change the generated form's ID widget type from
sfWidgetFormInputHidden to sfWidgetFormInput but still I can' edit the PK.
Thanks in advance
--
Hofferek Attila
This is a symfony mailing list not a PHP one ;)
btw, http://uk.php.net/float
On Wed, Oct 14, 2009 at 9:33 PM, ffrey ffrey@gmail.com wrote:
Total madness !
$v = (float) ((0.7 + 0.1) * 10);echo $v; = 8, as expected
$v = (int) ((0.7 + 0.1) * 10);echo $v; = 7, as totally unexpected !!!
do you have an @homepage route?
On Oct 14, 8:32 am, aymeric elag...@gmail.com wrote:
ILOD : infinite loop of death
I'm at day 13 in Jobeet for Doctrine and I try to secure my backend.
I couldn't get PEAR working so I installed sfDoctrineGuard by hand
(manual download, manual unpacking in
The Problem ist the PHP which comes with MacOSX, you can found it
under /usr/bin
My resolution is to make a symbolic link to the php from MAMP, XAMPP,
Zend etc.
sudo mv /usr/bin/php /usr/bin/php.orig
sudo ln -s /usr/local/zend/bin/php /usr/bin/php
On Oct 14, 8:11 pm, david
thank you all.. mysql workbench seems interesting, but it doesn't work
on my macosx 10.4 :(
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to
Aqua Data Studio?
On 14 Oct 2009, at 22:46, cosmy wrote:
thank you all.. mysql workbench seems interesting, but it doesn't work
on my macosx 10.4 :(
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony
Hi,
one of the drawbacks of all ORM is that they cannot edit PKs, but in
fact this shows a design flaw. a PK represents identity and s not
supposed to be changed.
This, among others, is the reason I always put autogenerated integer ids as PK.
Fabian
2009/10/14 Hofferek Attila h...@soka.co.hu:
Hi,
just that.
I have Sf 1.2.8.
Javi
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send
There is any diference of this tutorial using sf 1.3? or it´s iquals the old
one using 1.2 ?
--
Nei Rauni Santos
nra...@gmail.com
+55 41 85020985
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
symfony users group.
Hi,
Has anyone been using sfDoctrineActAsTaggablePlugin ?
I have a simple site with one table and added this taggable plugin
to the schema.
It works fine until I built a task to import 200K records.
A simple...
foreach () {
$obj = new Obj();
$obj-title = ...
Hi all,
I have module of photolibrary in my project.
In which, when user upload photo, I have resized the photo using
sfThumbnail Plugin.
Now, I have a link for rotating photo. For that, I have used code
below:
$image = sfConfig::get('sf_web_dir').'/images/photo_3_147.jpg.png';
60 matches
Mail list logo