[symfony-users] sfUJS

2007-08-31 Thread Adriaan van N.
Symfony users, I downloaded the sfUJS plugin and everything works except showing the result to the user. Here is my example: link_to(, array('id' => 'child_'.$child->id); UJS_ajaxify_link('#child_'.$child->id, array( 'update' => 'child_'.$child->id.'_d', 'url' => 'user/itemEdi

[symfony-users] HTML Purifier

2007-07-14 Thread Adriaan van N.
I don't have WIKI access but maybe this would be a nice plugin proposal? http://htmlpurifier.org/ "HTML Purifier is a standards-compliant HTML filter library written in PHP. HTML Purifier will not only remove all malicious code (better known as XSS) with a thoroughly audited, secure yet p

[symfony-users] object_select_tag isn't working

2007-07-13 Thread Adriaan van N.
Symfony, When I use: getProfile(), 'getCityId'); ?> I get: [sfException] Call to undefined method BaseCity::__toString Why BaseCity?! The user is logedin, and the normal getProfile()- >getCity()->getId(); ?> works. I think i'm misunderstanding the function. May somebody help me? Thanks! Adri

[symfony-users] Re: debug panel and ajax

2007-07-13 Thread Adriaan van N.
You may use the FireBug Lite plugin. (You may search for it on the wiki) On Jul 13, 1:37 pm, Lukas Kahwe Smith <[EMAIL PROTECTED]> wrote: > Hi, > > I am wondering if anyone has explored adding debug panel support for > AJAX requests? Essentially this should be possible by extending the AJAX > hel

[symfony-users] Re: image gallery assignment

2007-07-08 Thread Adriaan van N.
You may use AJAX drag-n-drop? http://www.symfony-project.com/demo/cart.html On Jul 6, 6:47 am, Ant Cunningham <[EMAIL PROTECTED]> wrote: > im dealing with a many to many relationship like so: > > gallery: > id: > name: > > media: > id: > file_path: > > gallery_media: > id: > gallery_i

[symfony-users] Re: config cross app

2007-06-23 Thread Adriaan van N.
You may create a link between the files: $ cd symfony_base/apps/new_app $ ln ../../original_app/config_file.yml config_file.yml On Jun 23, 7:00 pm, Nicolas CHARLOT <[EMAIL PROTECTED]> wrote: > Hi, > For an I18n project, I would define a param "languages_available". This param > impact on Front a

[symfony-users] Re: empty request parameters

2007-06-23 Thread Adriaan van N.
You can set a default parameter in routing.yml. Maybe thats the solution? On Jun 20, 1:45 pm, Matthias Nothhaft <[EMAIL PROTECTED]> wrote: > Stefan Koopmanschap wrote: > > Guys, > > > How do you handle empty request parameters? I have a problem where a > > URL may or may not contain values for ce

[symfony-users] Re: getting id of last INSERT

2007-06-22 Thread Adriaan van N.
$item = new Item; $item->setName('foo'); $item->setContent('bar'); $item->save(); $item->getId(); On Jun 22, 9:20 pm, slinky66 <[EMAIL PROTECTED]> wrote: > Hello, > > I want to get the ID (auto increment) of my last INSERT using > something similar to > the php function mysql_insert_id() > > $l

[symfony-users] Re: ajax security

2007-06-09 Thread Adriaan van N.
You can also use a (selfmade) validator for this. On Jun 9, 1:54 am, Kiril Angov <[EMAIL PROTECTED]> wrote: > I would suggest doing the following: > > 1. Make a separate module for remote functions, like 'ajax' or something. > 2. Create a preExecute() methon in that module, where you are going to

[symfony-users] Re: $this->redirect "as-is"

2007-06-09 Thread Adriaan van N.
Why would you? Symfony passes the variables by default with mod_rewrite. On Jun 9, 3:43 am, Greg Freeman <[EMAIL PROTECTED]> wrote: > Is there a way to make the redirect method inside an executeXxx action > method use the url parameter as is? (i.e leave the query string in > tact). > > For exampl

[symfony-users] Re: [mail] tag on error pages

2007-04-01 Thread Adriaan van N.
ril Angov* < [EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]>> wrote: > > > /pear/data/symfony/web/errors/error500.php > > > This is the default SF page for error 500. You can configure that to > > some of your module/action but I do not know on top of my

[symfony-users] Re: alternative names for frontend and backend

2007-03-31 Thread Adriaan van N.
pages & admin? On 31 mrt, 18:44, Matthias Nothhaft <[EMAIL PROTECTED]> wrote: > Hi, > > I don't like the terms "frontend" and "backend" for applications. I > wonder how you name applications of your projects!? > > Do you have any suggestions for other names? > > Thanks and regards, > Matthias -

[symfony-users] [mail] tag on error pages

2007-03-31 Thread Adriaan van N.
Symfony users, I can't find the answer on this question with Google. Maybe you can help? On every error page there is shown: "Email us at [email]". Where can [email] be changed? Thanks, Adriaan --~--~-~--~~~---~--~~ You received this message because you are su