Hello,
by the way, if anyone uses Nginx, there's nearly the same with
X-Accel-redirect headers
http://wiki.nginx.org/XSendfile
Romain
On Thu, May 26, 2011 at 7:08 PM, Bart van Wissen wrote:
> On 11 mei, 11:24, David Buchmann wrote:
> > hi,
> >
> > i have bin
Hello,
On Sun, May 29, 2011 at 11:30 AM, mrok wrote:
> Hi
>
> Is there any way to render twig template inside template?
> I keep twig template code in DB (I need show something for customer
> fast so it is a baypass) and now have a problem how render template
> passed to template as variable (I
Why exactly are you using Symfony 1.1 considering it's no longer maintained?
2010/8/24 tek123 :
> Hi,
>
> I have just started symfony 1.1 but I have ran into this complete
> blockade. I seem to be stuck on the create an application part on
> here:
>
> http://www.symfony-project.org/tutorial/1_1/en
?>
Problem is,I want :
- my user to HAVE to write his old password so I can check if it's valid before
updating
- my new_password and confirmation fields not to be required, so the user does
not have to change his password every single time (this work w/ required =
false)
- my sfValidato
adapted from this about asynchronous http post :
http://petewarden.typepad.com/searchbrowser/2008/06/how-to-post-an.html
&$val) {
if (is_array($val)) $val = implode(',', $val);
$post_params[] = $key.'='.urlencode($val);
}
if($post_params) $post_string = implode('&',
You need to add the form filter in your template :
then modify your action:
public function executeIndex(sfWebRequest $request)
{
$this->formFilter = new myModelFilter();
if($request->isMethod('post')) {
$this->formFilter->bind($request->getParameter($this->formFi
Hi All,
I'd like to render a custom date widget, I don't need the day, I just want a
month and a year, so here is what I do :
$this->widgetSchema['date'] = new sfWidgetFormI18nDate(array(
'culture' => 'fr',
'format' => '%month%/%year%'
));
I works fine, but to validate it, h
r 17, 3:05 am, Daniel Lohse wrote:
>> Take a look at the
>> csSettingsPlugin:http://www.symfony-project.org/plugins/csSettingsPlugin
>>
>> Regards, Daniel
>>
>> On 17.03.2010, at 09:58, Romain Pouclet wrote:
>>
>>> Hi all,
>>
>&g
;parameters" database, but I'd like to be sure
it's the right way to do this :)
Thanks !
Romain
--
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
2010 à 16:59, Marc Weistroff a écrit :
> It's because objects and variable are escaped before being passed to the view.
>
> Are you echoing your content inside a slot (or partial?) that might be
> automatically or manually escaped after that?
>
>
>
> On Thu, Mar 11, 20
_07_output_escaping
>
> Giorgio Mandolini
>
> 2010/3/11 Romain Pouclet
> >
> > Hi all,
> > I have a "Page" model with a "content" property. This content contains HTML
> > coming from the tinymce WYSIWYG editor, but when I do :
> >
Le 11 mars 2010 à 15:30, Raphael Schumacher a écrit :
> Have you verified (e.g. using your debugger) that the object's
> classnames are in reality what you should expect in theory?
http://up.r12t.fr/8c2b8c76.png Yep, It's "NOEPage" as it's supposed to be
> - the escaping strategy for your appli
Le 11 mars 2010 à 15:05, Raphael Schumacher a écrit :
> Hi Romain, how about
>$page->getContent(ESC_RAW);
> or also:
>$page->getRawValue()->getContent();
> ?
>
> With $page you are actually talking to a
> sfOutputEscaperObjectDecorator object, which hol
tum leo vitae odio rhoncus ac commodo orci sagittis. Ut
pharetra neque id mauris tincidunt eu sodales felis sollicitudin. Mauris eu
gravida nibh. Pellentesque eros risus, facilisis et interdum nec, fringilla a
nisi. Fusce matti'... (length=1089)
Is there anybody to explain it to me ?
Than
hi,
Have you tried to defined the relation with
type: many
I don't know if it could change anything for you but it should be
test ?
On 3 mar, 20:56, axel at wrote:
> I have a list of persons, and an m:n relation that relates one person
> with several other persons:
>
> Person:
> columns:
>
Hi all,
I have an "admin" application which is secured (is_secure: true). I'd like to
override its login action so I can set a specific layout and manually render
the login form.
Can you tell my how to do that? I started with something like this :
http://groups.google.com/group/symfony-users?hl=
The video is private, is it normal? :x
Le 22 févr. 2010 à 08:54, Ben Haines a écrit :
> Sorry for the delay in getting this up. HD (720p) uploads to Vimeo.com
> kept failing. So here is a lower resolution version.
>
> Enjoy and of course thanks to all Symfony devs and sflive2010
> organisers!
>
You could add a getStatus() method (or something like that) in your model class
:
public function getStatus()
{
return $this->isActive() ? 'Active' : 'Inactive';
}
Le 19 févr. 2010 à 18:27, Samuel Morhaim a écrit :
> If I have a field isActive and of course it returns 1 or 0 .. how can
> I
Thanks for your help, it works :)
For those who are interested, here it is : http://gist.github.com/292543
Cheers !
Le 1 févr. 2010 à 16:57, Bernhard Schussek a écrit :
> You could, for instance, write a recursive render helper:
>
> function render_nested_set(Doctrine_Collection $collection)
>
Hi all,
I'm using nested set doctrine behavior, and as I my previous issue I'm using a
helper to render my tree, so here is how I use it :
getLabel() ?>
getNode()->hasChildren()) : ?>
getNode()->getChildren()),
sfOutputEscaper::unescape($path)
) ?>
But today, I had a ver
Problème is, I want my rendering to follow a path, as you can see in my
"example".
Anyway, a recursive render helper is a good start I guess!
Maybe I should add a 'path' parameter helper to make something like :
function render_nested_set(Doctrine_Collection $collection, array $path)
{
// ...
}
a how I can simply do that? I tried to do something but it
ended w/ multiple imbricated foreach and while...
Thanks !
Romain
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroup
igration implies to drop an entire table?
And finally, I heard about the "doctrine:generate-migrations-diff" task, this
task will generate all the classes w/ the up/down methods?
Thanks in advance for your answers, I'm kinda lost here oO
Romain
--
You received this message be
build-sql works fine
insert-sql throws me an error :
-bash-3.2$ php ./symfony doctrine:insert-sql
>> doctrine created tables successfully
According to some tests, I don't have "/tmp" folder on this server, but this is
where php is supposed to create tmp files, do you think this could come from
there? The fact that php doesn't find this yml file ?
Le 28 janv. 2010 à 18:21, Augusto Flavio a écrit :
> I had a similar problem too wit
Hi,
Sorry I'm using Symfony 1.4...
My database access are correct because I can connect to my db server when I try
a "mysql -u"
Le 28 janv. 2010 à 17:57, Augusto Flavio a écrit :
> Hi Romain,
>
>
> Which version of symfony you are using.
>
> Is
"No yml schema
found in /doctrine_schema_87228.yml"
But I don't know what or where this file is...
Anybody knows how to fix this?
Thanks !
Romain
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post
NoeQuizParticipationAnswerForm...
Is there anyway for me to reach my related NoeQuizParticipationAnswerForm form
so I can use getObject()->getQuestion->getLabel() to display my question's
label ?
Thanks !
Romain
--
You received this message because you are subscribed to the Goo
0.9.6 should work fine with symfony 1.4
If not, please opena ticket on trackeet.net
Thanks
On 18 déc 2009, 19:42, "Fred Grott(shareme)"
wrote:
> Hello everyone,
>
> Excuse the briefness of this note..
>
> For those of us using Sf 1.4.1 and the sfDrynamicsPlugin it appears
> that changes were ma
they should already be loaded when you call your AJAX
>> action.
>>
>> --
>>
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "symfony users" group.
> To post to this group, send email to symfony-us...@g
Hi,
can you open a ticket on sfDynamics bug tracker please ? I'm not
really decided if this is a bug or if this is the intended behavior,
but there should definately a way to do this.
http://trackeet.net/projects/sf-dynamics-plugin/issues/new
Romain
On 2 déc, 21:30, artmajeur wrote:
Comments is a good idea!
Oh and do you know http://www.gotapi.com ? The symfony section allows you to
browse the API quickly.
On Fri, Sep 25, 2009 at 8:50 AM, Gareth McCumskey wrote:
> I think taking a note from the php.net site (the PHP manual) is a good
> idea. The search feature in the php.net
s and can browse easily, switch language and version.
Regards,
Romain
On Fri, Sep 25, 2009 at 8:38 AM, Fabien Potencier <
fabien.potenc...@symfony-project.com> wrote:
>
> zeev,
>
> I can understand that we need to re-organize the documentation, so that
> it is easier to find th
There seems to be a config problem.
But your phpmyadmin works you said... so that could be in Symfony's
Project Config.
Rom
Le 23 sept. 2009 à 15:42, andrea cecchetto a écrit :
>
> i rechecked my phpinfo()...
> and i found this:
> Directive Local Value Master Value
> pdo_mysql.cache_
same field "client_name" in the "form:
display:" section underneath, I get a :
500 | Internal Server Error | InvalidArgumentException
Widget "auteur_name" does not exist.
Can anyone explain this to me?
Thanks in advance,
Romain
--~--~-~--~~~--
references2
>
> Directive Local Value Master Value
> pdo_mysql.cache_size 20002000
> pdo_mysql.default_socket no valueno value
>
>
> 2009/9/23 Romain de Wolff :
>>
>> Try a phpinfo(), see if the PDO link with MySQL is enabled.
&g
Try a phpinfo(), see if the PDO link with MySQL is enabled.
Le 23 sept. 2009 à 11:14, andrea cecchetto a écrit :
>
> Yes :) I enabled mysql.. phpmyadmin works well!! :)
>
> 2009/9/23 Romain de Wolff :
>>
>> Did you enable mysql?
>>
>> Le 23 sept. 20
check that your MySQL is running and that the user and password works.
Le 23 sept. 2009 à 11:06, andrea cecchetto a écrit :
>
> I'm sorry, but i think yesterday with "old" php my webapp works..
> today with the new php doesn't.
> .. I use doctrine as ORM on mysql Server version: 5.1.38.
> this d
Did you enable mysql?
Le 23 sept. 2009 à 10:41, andrea cecchetto a écrit :
>
> Hi guys,
> Today on my archlinux, i upgraded php to the latest php 5.3, from php
> 5.2.10. I went to my application and i get this error
>
> PDO Connection Error: SQLSTATE[HY000] [2002] Connection refused
>
> i didn't
end/
modules/clients/actions/actions.class.php), and watch out for the
proper getResponse()->setContentType('application/json'). use
Doctrine, and keep it MVC (put the query in the model). Check that you
return using renderText and json_encode.
And that's it!
I'd be glad to help
Hello,
I'm currently facing the same problem.
Does anyone have a solution, an idea or even better, a solution to
propose?
Thanks,
Romain
On 11 sep, 00:38, Abraham wrote:
> Hello folks, i'm trying to add an autocomplete field in a form, to do
> that i've followed
step for trac, but a big step for the community.
--
Romain Dorgueil
Symfony Developper
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email t
I think that if you specify the format in the routing parameter :
csv_export:
url: /toto.csv
param: { module: foo, action: bar, sf_format: csv }
Symfony will automatically remove the layout and the web debug.
On Dec 15, 7:33 am, juro wrote:
> Thank you to the both of you - works fine.
>
When a form is binded to some values, if the validation fail, all
cleaned values are lost.
Example :
MyForm extends sfForm
{
public function setup()
{
$this->widgetSchema = new sfWidgetFormSchema(array(
'contract'=> sfWidgetFormSelect(array('choices' => new
sfCallable($this, 'g
I'm working with the new form system, and I add some javascript to
make it a little dynamic. (populating a select with ajax for example).
I use jquery, so I have to know the id of each generated widget to add
some extra params (listening on events, updating select boxes, ...).
The problem is tha
the designing work for you, just allows to
write clean code, isolating the database model layer.
And if a page is making 200 queries per request, without caching or even
better, supercaching (see sfSuperCachePlugin)... Well then it won't
scale to million users...
--
-=( Romain Dorguei
http://www.steercms-project.org/trac/steercms/
http://www.steercms-project.org/trac/steercms/wiki/License
Yes !!
Thanks a lot for sharing your CMS.
On 11 jan, 14:17, "Francois Zaninotto" <[EMAIL PROTECTED]
project.com> wrote:
> Hi Piers,
>
> This looks very promising. Congratulations for you
maybe you could try "throw sfStopException" ?
On Jan 4, 10:09 pm, Balaji Srinivasan <[EMAIL PROTECTED]> wrote:
> That is possible. But I would have to do this check in all the
> actions, which defeats the purpose of having a preExecute
> Balaji
>
> On Jan 4, 2008, at 12:56 PM, Haris Zukanovic' wr
Hi all,
I was planning to create a new generator like the admin generator, but
for generating a frontend like a CMS.
For example, a news system, an agenda, a blog, etc ...
The backend administration of these ojects is generated perfectly by
the admin generator.
But in the frontend, we always need
Hi,
Maybe you can configure the redirect404 page on an action that send
the mail ?
On Aug 22, 6:55 pm, Nicolas CHARLOT <[EMAIL PROTECTED]> wrote:
> Hi,
> Sorry If it's already a posted question, but I haven't found something about
> that.
> I'm looking for a way to send email alert when an erro
50 matches
Mail list logo