Hi,
I'm running into a really strange bug here. I've got an action that
finishes with a redirect() method:
public function executeRegister(sfWebRequest $request)
{
// go to next step
$this-redirect(submit/index);
}
However, I have been getting intermittent reports that
One other way to do it is when the user logs in, store his username as a
session variable:
$this-getUser()-setAttribute('username', $username);
Then when the user is redirected to the action that produces the login
page when his session times out, check to see if that session variable
Hi,
I'm somewhat new to Symfony and am trying to understand the framework
better. I'm using SF1.4. Is there a way to enable different logging levels
on a per-class basis? In my prod environment, I'd like to enable debug
logging for a particular action only. I've looked at the logging.yml
and the
filter immediately responds with json string instead. So instead of
delegating the work of responding with an ajax string to another action, the
filter does it itself.
On Tue, Jan 25, 2011 at 6:10 PM, Eric B.
ebe...@hotmail.com wrote:
Now I'm curious; what was the bug/ what was the fix
I remember back in the early days of Chrome I used to have problems with JS
and Ajax as well. But the newer versions seemed to have resolve the
problems that I was encountering.
Have you checked if the problem is Chrome to executing the JS properly, or
if it is a server side issue in which
Gareth McCumskey gmccums...@gmail.com
wrote in message
news:AANLkTimTg8ZtSwHjN6x2xeW=xsmpRx=cctmnwzhzy...@mail.gmail.com...
It works on Firefox therefore it is not server side.
Regardless we fixed the problem.
On Mon, Jan 24, 2011 at 5:33 PM, Eric B.
ebe...@hotmail.com wrote:
I
Hi,
This is probably a basic question, and yet I can't seem to figure out the
best way to do this.
I have a registration form that has several fields, including 2 dependent
ones:
- Country
- State.
If Country == Canada, then I want the state field to have a drop down of all
provinces
If Country
Hi,
I have a simply component, in which I've tried to indicate the use of a
slot. However, it seems to be ignored, and the html content that I place
within the slot never appears in my final page.
My component's template is:
?php use_helper( Partial ) ?
?php slot( head )?
!-- content for slot
You do not need to do an include or require. Symfony autoloads config
files into its sfConfig object. All you need to do is place it in root/lib
if you want it availabel through the project or in root/apps/frontend/lib
if you want only in that application or lastly in
Hi,
This isn't exactly a Symfony question as such, but I figure that someone
else must have encountered the same issue in the past.
I'm looking to make a counter table in my database to track entries of a
particular document type. The goal is to be able to have a simply query
(ex: select
with my
code?
Thx,
Eric
On Tue, Jan 11, 2011 at 11:32 AM, Gareth McCumskey gmccums...@gmail.comwrote:
Stick that form into either root/lib or into root/apps/frontend/lib
On Mon, Jan 10, 2011 at 10:01 PM, Eric B ebenza...@gmail.com wrote:
Hi,
I've run into a problem with a component
Hi,
I've run into a problem with a component instantiating an existing form, so
it has prompted me to look into the autoloader to figure out why it isn't
seeing the class. I've come to the conclusion that I can't seem to figure
either out. So I guess this becomes a 2 part question; one is just
Hi,
Given that Symfony is built around templates, I am trying to figure out how
I can leverage the power of the templates for other things, such as emails.
For example, I would like to write up my email in a template form, then
simply pass it the necessary variables to populate it. Finally, if I
of it in a variable:
$email-setBody( $this-getPartial('myEmailPartial',
array('partial_variable'=$partial_variable );
On Sun, Jan 9, 2011 at 11:23 PM, Eric B ebenza...@gmail.com wrote:
Hi,
Given that Symfony is built around templates, I am trying to figure out
how I can leverage the power
the autoloader?
Thanks!
Eric
On Fri, Jan 7, 2011 at 4:38 AM, Gábor Fási maerl...@gmail.com wrote:
This is what components are for.
Here's an example from jobeet:
http://www.symfony-project.org/jobeet/1_4/Doctrine/en/19#chapter_19_language_switching
On Fri, Jan 7, 2011 at 07:33, Eric B ebenza
On Thu, Jan 6, 2011 at 11:27 AM, Stéphane stephane.er...@gmail.com wrote:
Hello,
I've been made this for one+ year now.
On Windows and Ubuntu boxes. (I'm actually on a ubuntu 10.10 box, and
installing xdebug is easy as sudo pecl install xdebug ... then configuring
is as easy as copy/past
Hi,
This may sound like a newbie question, but I just can't figure out the
right way of doing this.
I'm looking to put a simple login form in my layout template to appear in
all pages. Since I don't have an action associated with the template
itself, I'm not sure how to instantiate my
Hi,
I'm wondering if anyone has had any success in getting a symfony app to
debug (step-by-step) using Eclipse PDT. I've downloaded both the XDebug and
the ZendDebug dlls and am having difficulties with both. The closest I've
managed to get working is to try to create a launch config from
On Sun, Jan 2, 2011 at 9:08 AM, Svetoslav Shterev bgsa...@gmail.com wrote:
On Sat, 2011-01-01 at 23:36 -0800, benze wrote:
Hi,
I'm trying to figure out the best way to reuse an action, and am
having difficulty figuring that out. Specifically because my action
seems to be tied to the
On Mon, Jan 3, 2011 at 12:45 AM, Richtermeister nex...@gmail.com wrote:
You can do that. Just Pass an extra Redirect Parameter to the route
and Pick it up in the Action.
Sure; that's what I ended up doing. But that assumes a lot of things:
1) that the action will be a success
2) that the
Sure - Eclipse shows icons on files with errors, but when you have a large
tree (like you do with symfony), it is tough to see the individual errors
all the time. Furthermore, it is a lot easier to see in the console that
you have errors when it is clean and not cluttered with 1000+ errors and
21 matches
Mail list logo