same problem, no solution...
If you have found it, please tell me :)
Florian.
On 18 mai, 23:13, AigerVoid aanw...@gmail.com wrote:
http://localhost/sandbox/web/check.php
mandatory requirements is ok.
but in...http://localhost/sandbox/web/index_dev.php/
Warning:
i put in my template a slot to update the menu in the layout. the
problem i encounter is where to do check for values i need to display
in the menu. i use a partial as the menu and pass variables that are
depends on some conditions.
should i use event or something else?
--
If you want to report
Hi,
There is a very simple way :
Install the ldap library for php (in Debian, this is php5-ldap)
in /apps/myapp/config/app.yml :
all:
sf_guard_plugin:
check_password_callable: [check, checkPassword]
This is by-passing the default sfGuardPlugin password checking
methode. Here, check is
Thank u for your answer, but I use Propel. I have not found an answer yet,
so if u can help me. It will be really good for me.
2010/5/20 Abraham Montilla amontil...@gmail.com
you mean using Propel? in Doctrine is as simple as using the getLast()
method after the execute() method.
2010/5/20
System conf: Win7 Ult., apache2, php 5.3.2,mysql5
http://localhost/sandbox/web/check.php - OK,all required is green
but in:
http://localhost/sandbox/web/index_dev.php/
Warning: DOMDocument::schemaValidateSource()
[domdocument.schemavalidatesource]: Invalid Schema in C:\Program Files
If last means the biggest id, something like this in your peer class will do:
public static function getLastId()
{
$c = new Criteria();
$c-addDescendingOrderByColumn(self::ID);
$item = self::doSelectOne($c);
return $item-getId();
}
On Fri, May 21, 2010 at 12:14, kadia dia
Est ce qu'il existe un moyen de récupérer la valeur d'un champ au
niveau de la fonction configure.
Je voudrai initialiser le validator d'un champ à requis à condition
que la valeur d'un autre champ soit égale à une valeur V. Donc il me
faudra récupérer la valeur de ce champ afin de poser la
Thank you for u help, It's ok now; I have just changed some details. And the
good code for propel is:
$c= new Criteria();
$c-addDescendingOrderByColumn(id);
$item = ClasseNamePeer::doSelectOne($c);
$x= $item-getId();
2010/5/21 Gábor Fási maerl...@gmail.com
If last means the biggest id,
I want to set a validor for a field on configure (), but the field can
be required or not, it depends on the value of another field. Now I
need set the condition following the value of that filed but I can
find the good function, for having that value.
I have to use it one configure() function.
You can write a Propel behavior, that allows to add both static and
non-static methods.
Refer to Propel documentation
cheers
Massimiliano
On 21 Mag, 02:57, rekarnar rekar...@gmail.com wrote:
Fromhttp://www.symfony-project.org/cookbook/1_2/en/behaviors:
Unfortunately, as of PHP 5, static
Hi,
Thats what I was hoping for, can you link me to some documentation, I
can't seem to find it anywhere.
Much appreciated,
On May 22, 1:08 am, Massimiliano Arione garak...@gmail.com wrote:
You can write a Propel behavior, that allows to add both static and
non-static methods.
Refer to
Hey guys,
In my everlasting quest for doing things the right way, I'm just
wondering where I should put a WSDL file in a plugin. I know it's not
really a big deal, but hey...
My initial feeling is to put it in
myPlugin/data/
Any thoughts?
Thanks,
Tom
--
If you want to report a
Hi,
Anyone give me any pointers? I'm stumped and not really sure where to
look. Would really appreciate any help anyone could give, deadline is
looming :-(
I have an embedded form that works fine for the 'new' action but
when it gets called in edit then it throws an error, I've included the
Yeah, the data directory seems to be the correct location for such a file. :)
On 21.05.2010, at 16:11, Tom Haskins-Vaughan wrote:
Hey guys,
In my everlasting quest for doing things the right way, I'm just
wondering where I should put a WSDL file in a plugin. I know it's not
really a big
fixed now:
http://github.com/fabpot/symfony/commit/269651235ae830fe8d93800f3fc70c6142b8bbc4
This patch will be included in the next version of the sandbox (end of
June). In the meantime, you can just apply the patch or store your
Symfony project in a path with no whitespaces.
Fabien
--
fixed now:
http://github.com/fabpot/symfony/commit/269651235ae830fe8d93800f3fc70c6142b8bbc4
This patch will be included in the next version of the sandbox (end of
June). In the meantime, you can just apply the patch or store your
Symfony project in a path with no whitespaces.
Fabien
--
I tried:
symfony plugin:install sfPropel15Plugin
and got:
plugininstalling plugin sfPropel15Plugin
No release available for plugin sfPropel15Plugin in state
stable
So I downloaded the package .tgz and tried to install that and I got:
sfPearFrontendPlugin ...done: 1,525,189 bytes
hello
in my forms i have ths primary key
how can i display it
thank you
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to
Hi there,
in theory there's not often a need for this kind of query..
For example, if you save an object, you get the new ID immediately..
$object = new Whatever();
$object - save();
$latest_id = $object - getId();
Daniel
On May 21, 5:47 am, kadia dia kadial...@gmail.com wrote:
Thank you
http://www.propelorm.org/wiki/Documentation/1.5/Behaviors#WritingaBehavior
It applied to 1.4/1.5, and if you're not there, do yourself a favor
and try it out... it'll rock your world.
Daniel
On May 21, 7:03 am, rekarnar rekar...@gmail.com wrote:
Hi,
Thats what I was hoping for, can you link
Thanks, Daniel! :)
On Fri, May 21, 2010 at 10:30 AM, Daniel Lohse
annismcken...@googlemail.com wrote:
Yeah, the data directory seems to be the correct location for such a file. :)
On 21.05.2010, at 16:11, Tom Haskins-Vaughan wrote:
Hey guys,
In my everlasting quest for doing things the
I have a question regarding dumping and loading passwords. In 1.4.5 I
am experiencing passwords hashes being re-hashed after a dump/load.
This is because when the data is loaded the set method is expecting
plaintext and hashes the hash that was passed in. (describes issue
Hi,
I have this code:
$this-validatorSchema-setPostValidator(new sfValidatorAnd(array(
new ValidatorPasswordActual(array(), array('invalid' = 'Contraseña
actual incorrecta.')),
new sfValidatorSchemaCompare('password_nuevo',
Sorry, in that order it doesn't work. In the reverse order it works.
On May 21, 7:12 pm, Javier Garcia tirengar...@gmail.com wrote:
Hi,
I have this code:
$this-validatorSchema-setPostValidator(new sfValidatorAnd(array(
new ValidatorPasswordActual(array(), array('invalid' =
Hello!
When I insert an new object in the database, I want the id to be
assigned automatically (autoincrement).
In the edit form, however, I want to be able to change the id.
I tried to override the BaseForm class widget and validator with:
$this-widgetSchema['id'] = new
Hi,
I'm dealing with a setup with multiple databases with identical
schemas but individual data. My problem is that I try to handle the
connections manually but Symfony doesn't play nice. I basically
defined a dummy DB connection (dummy_db) so I can still define the
models properly however in the
Unpack the archive in your plugins folder and enable it manually in
the ProjectConfiguration.
On Fri, May 21, 2010 at 17:00, ferdjuan afr...@gmail.com wrote:
I tried:
symfony plugin:install sfPropel15Plugin
and got:
plugin installing plugin sfPropel15Plugin
No release available for
I'm intrigued...why would you want to change the id?
On Fri, May 21, 2010 at 1:51 PM, Mihai Rusoaie mi...@rusoaie.com wrote:
Hello!
When I insert an new object in the database, I want the id to be
assigned automatically (autoincrement).
In the edit form, however, I want to be able to change
On Fri, 21 May 2010, Dennis Jacobfeuerborn wrote:
$con = MMDBConnection::getRead(de);
$this-user = $con-getTable(User)-find( 1234 );
this results in an exception: Unknown database 'dummy_db'
I've verified that $con contains the correct connection to the real DB
member_db but find() still
On May 21, 8:35 pm, Eno symb...@gmail.com wrote:
On Fri, 21 May 2010, Dennis Jacobfeuerborn wrote:
$con = MMDBConnection::getRead(de);
$this-user = $con-getTable(User)-find( 1234 );
this results in an exception: Unknown database 'dummy_db'
I've verified that $con contains the correct
Ahhh excellent. Thanks so much.
On May 22, 3:35 am, Richtermeister nex...@gmail.com wrote:
http://www.propelorm.org/wiki/Documentation/1.5/Behaviors#WritingaBeh...
It applied to 1.4/1.5, and if you're not there, do yourself a favor
and try it out... it'll rock your world.
Daniel
On May
Hi All,
I'm looking for any solutions for putting a shopping cart system into
a Symfony 1.4 (Doctrine) project. I have found the old shopping Cart
plugin for Symfony 1.0 but of course want something current and more
fully featured (reports etc)
I would prefer not to have to completely develop
Thanks!
The field slug had a null value on every record of jobeet_category.
Now it works!!!
On May 20, 5:28 pm, Tom Haskins-Vaughan t...@templestreetmedia.com
wrote:
Look in your database. Do you have a jobeet_category record with a
slug 'design'?
On Thu, May 20, 2010 at 2:54 PM,
33 matches
Mail list logo