Hi,
That is what user flashes are for.
http://www.symfony-project.org/gentle-introduction/1_4/en/06-Inside-the-Controller-Layer#chapter_06_sub_flash_attributes
Regards,
Christopher.
-Ursprüngliche Nachricht-
Von: symfony-users@googlegroups.com [mailto:symfony-
There are any number of ways:
1. Set a variable in your action after the form was succesfully processed
(eg: $this-form_success = true;) that you can then check for on the
template and display an appropriate message:
?php if ($form_success): ?
pYour submission was succesful/p
?php endif; ?
2.
is there a single command in sfConfigCache to clear all the cache?
i want to enable from the admin to do similar to symfony cc
On 8 October 2010 15:00, Damien Alexandre dalexan...@clever-age.com wrote:
For this kind of question,
make sure to search in the documentation :
Hello guys, given that:
profile --- defined in schema (ofc used by symfony)
id
user_id
field1
field2
user --- not in schema, because this is a table used by another script
(a forum script for example)
id
field1
field2
I would like to get all profiles and their corresponding users.
I don't
Merci de votre message.
Nos bureaux sont présentement fermés aujourd'hui, le 11 octobre 2010. En cas
d’urgence, vous pouvez rejoindre notre équipe technique en envoyant un courriel
à l’adresse suivante: supp...@twistimage.com.
Cordialement,
Saad Tazi
- - - - - - - - - - - - -
Thank you for
We we be able to view it online, I am in East Africa, and wish to view the
tutorial live
On Wed, Sep 29, 2010 at 6:21 AM, f1gm3nt f1gm...@gmail.com wrote:
I just want to spark up a discussion on what I hope to be very
informative for the symfony community. I will be giving a live symfony
1.4
Hi,
I know it's crazy, but you got to define the transport class in order
to get rid of this behavior.
dev:
mailer:
param:
delivery_strategy: none
transport:
class: Swift_NullTransport
regards,
Paulo
On Oct 12, 2:25 am, bzarzuela bzarzu...@gmail.com wrote:
A simple
As Christopher Schnell said, you have to use flash messages.
Guillaume B.
On 12 oct, 05:49, farhana farhana@gmail.com wrote:
I am doing my project using symfony frame work . I want to show a
message saved successfully after the successfull submition of my
form .how can I show it. I am
Hi,
I have a form ('Gallery') that embeds a related form using mergeRelation.
[code]
class GalleryForm extends BaseGalleryForm
{
public function configure() {
$this-mergeRelation(Image);
}
}
[/code]
Now leaving the generator.yml in admin with its defaults and just
changing
Anyone ever have a DQL query that returns plenty of rows using NO-HYDRATE, but
only 1 or two in normal hydration mode?
This query uses joins. If I use all my joins that I need, I then only get a few
rows period, array mode(non hydrate) or not.
In SQL, it works great, just as planned.
Dennis
Hi,
anyway to generate backend lists using div instead of table ?
Without modifying too much the symfony generator...
Javi
--
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
hi,
i have a backend module generated by propel:generate-admin. I need two
different edit views. One view with all possible form fields and one
view with one form field only.
i created an new executeEdit2() action in generated actions.class.php
and added to my generator.yml:
form: ~
Might just be a typo, but you're calling getInstance while the
method you show is called createInstance..
Daniel
On Oct 11, 1:43 pm, wickass wick...@gmail.com wrote:
Im trying to pass a single instance of a helper object to the view by
making use of template.filter_parameters event. However
Hi Daniel
Yes this is a typo in my post code should look like the following
public function setup()
{
// ...
$this-dispatcher-connect('template.filter_parameters', array(
$this, 'templateFilterParameters'
));
}
public function templateFilterParameters(sfEvent $event, $parameters)
{
ok, i found a solution:
in my xxxGeneratorConfiguration.class.php i added getFormFields method
with unset unwanted fields:
public function getFormFields(sfForm $form, $context) {
$fields = parent::getFormFields($form, $context);
if(!$form-getOption('withInfo')):
Hi,
I get following error when trying to access the mongo document service in
Symfony 2PR3:
There is no extension able to load the configuration for
doctrine_odm.mongodb (in D:\wamp\www\symfony2\app/config\config.yml).'
My config.yml contains following line:
I have now done a test with the Jobeet example, Symfony 1.4, again with
.htaccess. See details below.
The test URL associated with htdocs:
http://127.0.0.1:8081
Now, when I visit that URL, then I see the Jobeet index page. The URL
does not change. That's perfect!
However, all the links on
Did you include the DoctrineMongo bundle in your kernel?
t
On Wed, Oct 13, 2010 at 04:58, Daniel Kucharski dan...@inspiran.be wrote:
Hi,
I get following error when trying to access the mongo document service in
Symfony 2PR3:
*There is no extension able to load the configuration for
I am experiencing an intermittent issue where sometimes it takes an
inordinate amount of time for the page to load.
Most of the time, the page loads fine and everything looks great (~1s)
page load; however I occasionally see this super long load time (2
mins plus).
Inspecting the timers, the
Not sure if this is the right place to ask this, let me know if not.
From what I remember about sfUser, permissions were in the confiig file and
applied to routes.
Does sfGuardUser keep permissions in the database and allow applying
permissions to database records/entities directly?
Dennis
20 matches
Mail list logo