Ladies gentlemen,
I'm stuck with some configuration issue (at least I guess it is one...).
I sent mails with the sfDoctrineApplyPlugin when a user registers, the
plugin uses ZendMail by default and things work as expected.
In another module, I sue the default mailer for the application,
Nope, listCsvReportSuccess.php, sorry for the typo.
-Message d'origine-
So your action is called listCsvReport but your template is called
listCsvExportSuccess.php ?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
Hola neoslink,
I'm not sure to understand your question... The way symfony behaves regarding
database operations is exactly the same, whether you activate your scripts with
AJAX or a standard (synchronous) request. If you're looking for a tutorial
about implementing AJAX itself in symfony,
In your template, the real array in $var is protected (for output safety
purposes) by an sfOutputEscaperArrayDecorator. You can still access to the
original (array) data with $var-getRawValues().
-Message d'origine-
De : symfony-users@googlegroups.com
Ladies and gentlemen,
I'm having again some trouble with the routing in symfony and I'm stuck.
Any help would be appreciated.
Here is the problem :
1/ My logs shows the following line, indicating that the url clicked is
parsed :
Apr 23 15:50:02 symfony [info] {sfPatternRouting} Match route
- Christophe Brun
Envoyé : vendredi 23 avril 2010 18:00
À : symfony-users@googlegroups.com
Objet : [symfony-users] Routing + action : object lost in translation
Ladies and gentlemen,
I'm having again some trouble with the routing in symfony and I'm stuck. Any
help would be appreciated.
Here
After the Doctrine documentation,
http://www.doctrine-project.org/documentation/manual/1_2/en/dql-doctrine
-query-language:select-queries:aggregate-values
I'm trying a query like this :
$vp = Doctrine_Query::create()
-select('MAX(v.rang) AS max_rang')
-from('VitrineParagraphe v')
- Christophe Brun c.b...@nooveo.fr
After the Doctrine documentation,
http://www.doctrine-project.org/documentation/manual/1_2/en/dql-doctrine-query-language:select-queries:aggregate-values
I'm trying a query like this :
$vp = Doctrine_Query::create
Hi Lea.
My guess is that symfony's routing is not responsible for this behaviour. AMOF,
if your browser directs you to index.php or frontend_dev.php and if these files
are well configured with some code like the following :
Hi everybody.
Here are several Doctrine calls :
These ones work (the request is compiled and processed with no errors) :
$q = Doctrine_Query::create()-from('Livre')-where(infos_aliga like
'%?%', 'something')-execute();
$q = Doctrine_Query::create()-from('Livre')-whereNotIn('id',
la part de NOOVEO - Christophe Brun
Envoyé : vendredi 9 avril 2010 12:24
À : symfony-users@googlegroups.com
Objet : [symfony-users] andWhereNotIn clause not working
Hi everybody.
Here are several Doctrine calls :
These ones work (the request is compiled and processed with no errors) :
$q
, NOOVEO - Christophe Brun c.b...@nooveo.fr
wrote:
Hi everybody.
When you save an object in your backend application, Doctrine
gracefully flashes a message like 'the object has been successfully
saved'. Same thing with newly created objects, deleted objects etc.
I would like to change
Hi everybody.
When you save an object in your backend application, Doctrine gracefully
flashes a message like 'the object has been successfully saved'. Same
thing with newly created objects, deleted objects etc.
I would like to change these messages (actually, my client is a french
speaker
Hi. I'm #far# from mastering Symfony but here are my two cents. I would say
that validators are not intented to know anything else than the bunch of values
to clean and validate, hence I don't see any way for them to know the form's
object. But the form has access to all the values you need :
I want to catch some exceptions in my actions and to display nice and
informative messages for my users.
class utilisateursActions extends autoUtilisateursActions {
public function executeDelete(sfWebRequest $request) {
try {
// do stuff...
/documentation/manual/1_1/en/dql-doctrine-query-language:subqueries
http://groups.google.com/group/doctrine-user/browse_thread/thread/cfa13d4beebaccaf
On 15 bře, 17:44, NOOVEO - Christophe Brun c.b...@nooveo.fr wrote:
I'm trying to create a query like this one :
select commande_id, statut_commande_id
I'm trying to create a query like this one :
select commande_id, statut_commande_id, id from historique_commande h
where h.id = (select max(j.id) from historique_commande j where
j.commande_id = h.commande_id group by j.commande_id)
having h.statut_commande_id = 1
;
This is to be used as a
I'm trying to use sfDoctrineApplyPlugin, I have been asked to display 2
backend pages : one to handle administrators, the other one to handle
other users.
I have generated 2 modules on the backend side.
In routing.yml, the 2 routes are identical :
utilisateurs:
class:
My table has a varchar(13) field which can be null.
schema.yml :
myfield: { type: string(13), default: null }
When I create a new object using the related form, the object is
recorded in the database with an empty string, not with a null value.
How can I force Doctrine to set a null
I'm working on the backend side of a web application, with the
sfDoctrineGuardPlugin.
In sfGuardUser/config/generator.yml, I add the line :
list:
table_method: retrieveAdminsList
and in the model :
class sfGuardUserTable extends PluginsfGuardUserTable {
public function
I'm not sure since I'm still a beginner on symfony and doctrine, but if your
variable is a Doctrine_Collection, I would try something like :
$it = $amigos_miembro-getIterator();
while($it-next()) {
do_stuff();
}
-Message d'origine-
De : symfony-users@googlegroups.com
Basically, the related table is an association table :
VitrineLivre:
actAs: { Timestampable: ~ }
columns:
vitrine_paragraphe_id: { type: integer(4), primary: true }
livre_id: { type: integer(4), primary: true }
relations:
Livre:
type: one
local: livre_id
I am working on the 'list' view of a module.
The filtered list is displayed via a call to the executeFilter() method, as
usual.
Now, I create a route and the appropriate method myModuleActions :
public function executeUseMyFilter(sfWebRequest $request) {
$id =
...@googlegroups.com] De
la part de NOOVEO - Christophe Brun
Envoyé : mardi 9 février 2010 17:22
À : symfony-users@googlegroups.com
Objet : [symfony-users] Edit form with a plain text input + save action :
incorrect routing under Apache
I'm working on the backend side of a web application. The backend has been
I'm still working on a backend form of my app. The form has several
input fields, one of them allows the user to type an identifier pointing
to an object stored on an external database. Let's call this field
ExternalId (string 25).
Now, I have to add a button after the input field to allow the
You should run the
plugin:publish-assets
task from your CLI to fix that
De : symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] De
la part de Samuel Morhaim
Envoyé : mardi 9 février 2010 16:21
À : symfony-users@googlegroups.com
Objet :
I'm working on the backend side of a web application. The backend has
been generated via doctrine:generate-admin. I have a simple objet with a
plain url attribute declared as :
url: { type: string(128) }
in schema.yml.
On the edit page, if the user type any text not begining by 'http:/' and
I'm trying to use embedded forms on such a schema as :
News:
actAs: { Timestampable: ~ }
columns:
titre: { type: string(125), notnull: true }
texte: { type: string() }
date_News: { type: date(25), notnull: true }
actif: { type: boolean, notnull: true, default: true }
Book:
28 matches
Mail list logo