[symfony-users] Re: sf_data->get, only with key ??

2009-09-26 Thread Sid Bachtiar
You should not declare variable inside the template, unless the variable is for template stuffs (color, style, etc). If it is data, you should declare it at least in your action. On Sun, Sep 27, 2009 at 9:32 AM, greg wrote: > > Hello i need to do > > get('post', ESC_XSSSAFE) ?> >  (i have downl

[symfony-users] sf_data->get, only with key ??

2009-09-26 Thread greg
Hello i need to do get('post', ESC_XSSSAFE) ?> (i have download the plugin xssSafe etc...) But my problem is that : post is a key and it works only if the key is created in the action like $this->post = $val; But me i need to create my variable in the template. templatesucess.php $post = 'la

[symfony-users] Re: Multiple objects' forms on one page

2009-09-26 Thread Dennis
I'm almost there. The Symfony 1.2 book is OK, but the website on forms seems a lot better. (Almost there means ready to ask more questions :-) The learning curve is VERY steep on this thing. Not as bad as reading through 'Oracle Speak' documentation, but at least 40% as involved. If nothing else,

[symfony-users] Re: Deployment problem in production

2009-09-26 Thread Jeremy Thomerson
What server are you deploying to? Apache, IIS, etc On Sat, Sep 26, 2009 at 8:52 AM, Steve Sanyal wrote: > > Hi, > > I'm soon to deploy my application to production. However, I am having > some issues because of the directory structure. On my staging > machine, I would create public_html as

[symfony-users] Re: running code on each request for a given app

2009-09-26 Thread Chris Renfrow
Richtermeister, I totally agree with you under "normal" websites, but our current site runs on multiple domains and has a central checkout point, I want to know where my carts are coming from so we can calculate what PPC is working for Bing. I use Google on all my sites that are on a single domai

[symfony-users] JobeetTestFunctional class not included

2009-09-26 Thread ereallstaff
Hi to everybody. About day 9 of propel jobeet tutorial, lime don't recognize JobeetTestFunctional class. I have written it correctly in lib/test directory and used in /home/sfproject/jobeet/test/functional/frontend/ jobActionsTest.php $browser = new JobeetTestFunctional(new sfBrowser()); $brows

[symfony-users] Re: Call For Information Re-organization [opinions needed]

2009-09-26 Thread Lee Bolding
Neat idea :) Will try it out over the weekend On 26 Sep 2009, at 09:16, noel guilbert wrote: > Hello, > > I just released a plugin to get an API help throught the cli. It's a > proof-of-concept, so it's very in a pre-alpha state, needs testing > and cleanup, but I'm looking for feedback to i

[symfony-users] Re: running code on each request for a given app

2009-09-26 Thread Chris Renfrow
Thanks very much for the help guys. I feel so stupid, I was even looking at the filters and for some dump reason I thought they where per-module. This should work great for me, thanks for the help. On Sep 26, 1:50 am, Ian wrote: > It sounds to me like what you want to use is a filter. > > http:/

[symfony-users] Re: running code on each request for a given app

2009-09-26 Thread Richtermeister
Hey Chris, that all being said the kind of tracking you're looking to do is really best handled by Google Analytics / Omniture, etc.. Gives you much more insights into your visitor behavior, supports goals & funnels.. Daniel On Sep 26, 6:54 am, Chris Renfrow wrote: > Thanks very much for the

[symfony-users] Need help with symfony redirection problem/bug

2009-09-26 Thread Steve Sanyal
I'm encountering a strange bug, where, for some reason symfony seems to think the current action name is signin, whereas it should be something else. As a result, what seems to happen is that I eventually get directed to the signin page, even though the URL still reads the same as the original pa

[symfony-users] Deployment problem in production

2009-09-26 Thread Steve Sanyal
Hi, I'm soon to deploy my application to production. However, I am having some issues because of the directory structure. On my staging machine, I would create public_html as a soft link to my symfony web root. However, on production, my public_html is a real directory with additional subdomai

[symfony-users] Re: running code on each request for a given app

2009-09-26 Thread david
heh - Ian beat me to it :) On Sat, 26 Sep 2009 10:50:10 +0200, Ian wrote: > > It sounds to me like what you want to use is a filter. > > http://www.symfony-project.org/book/1_0/06-Inside-the-Controller-Layer#chapter_06_filters > > If that section of the documentation isn't enough to help you th

[symfony-users] Re: Call For Information Re-organization [opinions needed]

2009-09-26 Thread noel guilbert
Hello, I just released a plugin to get an API help throught the cli. It's a proof-of-concept, so it's very in a pre-alpha state, needs testing and cleanup, but I'm looking for feedback to improve it. With this plugin, you have to type what you are looking for to get its API doc: $> symfony api

[symfony-users] Re: running code on each request for a given app

2009-09-26 Thread Ian
It sounds to me like what you want to use is a filter. http://www.symfony-project.org/book/1_0/06-Inside-the-Controller-Layer#chapter_06_filters If that section of the documentation isn't enough to help you then post again and I'm sure somebody (myself included) could show you exactly how to do

[symfony-users] Re: running code on each request for a given app

2009-09-26 Thread david
Take a look at http://www.symfony-project.org/book/1_0/06-Inside-the-Controller-Layer#chapter_06_filters which will introduce you to filters. You can kludge it in the project config (look at: http://www.symfony-project.org/cookbook/1_2/en/iphone) but it's not an ideal way to go - kludges

[symfony-users] Re: sfDoctrineGuardPlugin installation with symfony 1.3

2009-09-26 Thread cirpo
On Sep 26, 2:13 am, Jonathan Wage wrote: > Yes. You can get it from svn though. Once 1.3 is released we'll package it > up so you can install via PEAR. thanks, cirpo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[symfony-users] Propel Forms

2009-09-26 Thread Radu Dragomir
hello, I'm having trouble with propel forms. I want to make a form with a choice input that takes the values from a model dependin on an other field of that form. For example: I have this form, but i don't know how to add the criteria for it: class PollAnswersForm extends BasePollAnswersForm {

[symfony-users] Re: Call For Information Re-organization [opinions needed]

2009-09-26 Thread Dennis
You know, it'd be better to leave off the category, i.e. ../action/.. On Sep 26, 9:27 am, Dennis wrote: > I have to admit, the organization on php.net, including the function > lookup off the URL, is one of the main reasons that I chose PHP years > and years ago. I think that all of the mainstre

[symfony-users] Re: Call For Information Re-organization [opinions needed]

2009-09-26 Thread Dennis
I have to admit, the organization on php.net, including the function lookup off the URL, is one of the main reasons that I chose PHP years and years ago. I think that all of the mainstream LAMP/LAPP sites should follow PHP's example. The only thing that is wrong with the PHP site that I can tell,