Hi all,
quick question. I know I've come accross this before, but I can't find
it right now..
Where is the list of live websites that are built with Symfony?
We just released a new site (www.activemotif.com), and I'd like to
submit it.
Thanks all,
have a great night.
Daniel
By default the validators only validate on POST requests.. I suspect
you also validate on GET (check your validation yaml file).
I would stick with the POST validation, and check within the action
whether it was accessed with POST before you take action.
GET shows form, POST (only reached with
I would probably write a custom validator similar to the compare
validator used for passwords..
This way, you can pass the state and the city to the validator and run
whatever validation you need on both..
Daniel
On May 9, 4:37 pm, James [EMAIL PROTECTED] wrote:
You could store the state in a
http://www.symfony-project.org/book/1_0/10-Forms#Standard%20Symfony%20Validators
Daniel
On May 9, 10:49 pm, Reynier Perez Mira [EMAIL PROTECTED] wrote:
Hi every:
I need to use some Symfony validators but I can't find a place to see doc
about they. Can any help me with a site or URL or book
Hi All,
I'm using the SSL plugin on a project, and it's working great.
My question is, why does it only work with GET request?
Is that sufficient? Say I have a form that posts a credit card number
to another action..
The action that displays the form would be secure, but the receiving
action
From what I know, Required validation and field validation are
treated separately.
That means if a field is not required and it is empty, the validator
will not be executed,
and I don't think there's a way to force it.
Daniel
On May 7, 4:11 am, Rytis Daugirdas [EMAIL PROTECTED] wrote:
Sorry,
Very nice! Best wishes for success or just plain fun :)
Daniel
On May 1, 5:55 am, benchik [EMAIL PROTECTED] wrote:
Great site, i really liked it.
On Apr 18, 3:13 pm, Ilia [EMAIL PROTECTED] wrote:
Hi, Some friends and I are really interested in writing so we tried to
find a site where we
Hi all,
I have some actions that I forward to, but I don't want my users to
browse to them (albeit very unlikely since name is unknown..).
I know I can make entire modules internal only,
but can I do the same with individual actions?
Making the action function private just blows it up...
Hi all,
My HTML guys brought up the question what is really gained by using
the image_tag function instead of just using an img tag, especially
since the former adds processing time (albeit near zero)...
I've been comfortable using the tag function, but now I'm double
guessing myself..
Any
::getInstance()-getLogger()-info($message);
On 28 Apr 2008, at 06:15, Richtermeister wrote:
Hi all,
I'm looking to log some events in my ecommerce application, mainly to
have some data on the data that goes into the order placement (3rd
party responses etc..), so technically
with a grep -v {customEvent} to get
your messages
2. create a specific logger which extends the sfFileLogger, register
the logger to sfLogger class. then overwrite the log method to only
log messages which start with your {customEvent}
Thomas
On Mon, Apr 28, 2008 at 12:29 PM, Richtermeister
Hi all,
I'm looking to log some events in my ecommerce application, mainly to
have some data on the data that goes into the order placement (3rd
party responses etc..), so technically this information doesn't
qualify as errors, and to me it seems that the logging is pretty
strictly for
Hi all,
I noticed that when I turn on output escaping, some variables that
used to be booleans are turned into arrays in my templates.
For example, if I populate a template as such:
//action code
$this - users = UserPeer::getAll();
in the template I used to be able to do this:
//template
if(
Not sure if I understand this right, but wouldn't it be better to
change the credentials the user has, instead of changing the
requirements of the application? After all, for every button you can
create a specific credential, and add this to the user on a DB level..
hope this helps, sorry if I
Hey Artur,
it doesn't expect a class name. It expects the name for the form
variable that the select sends.
As a second parameter you can pass in the options, and that's where
you have an object helper again (objects_for_select).
Daniel
On Apr 20, 12:52 pm, Thomas Rabaix [EMAIL PROTECTED]
Hey Sid,
one thing I spot (which broke things for me before) is the missing
colon after the .actions line und the first all.
Try putting that in, and your settings should get picked up.
Daniel
On Apr 5, 11:18 pm, Sid Bachtiar [EMAIL PROTECTED] wrote:
Hi all,
I spent all afternoon without
Hi all,
reading this I just wanted to add that I found it better to pass
objects via the response object, because unlike the request object, it
is stored in caching. So if your component relies on the passed
object, and you pass it in the request, and you activate caching, it
may not ever get
Hi there,
I tend to store my cross-multiple-request data in the session (user).
Just today I worked on an ecommerce checkout process,
and shipping / billing / cc all go into the session, and I clear them
after checkout..
When you re-display a form, you can just draw on session data and
provide
Hi all,
I'm trying to tie a shipping live-lookup API into my application via
XML, and I was wondering how I'd best go about generating that XML to
be sent out via curl..
Ideally I'd like to use the template system for this, so that I can
have a different XML template for each service provider
Hi Ian,
thanks for the prompt response..
I don't insist on my approach, I just don't know any better :)
I haven't come accross XSLT templates, but now I'm intrigued.. where
can I find more about that?
Thanks,
Daniel
On Apr 2, 9:59 am, Ian P. Christian [EMAIL PROTECTED] wrote:
Richtermeister
Hi Ian,
I see. Good point. I took a little peek, and h :) That looks
exciting!
I'll get on it, thanks for the xml-eye-opener.
Have a great day,
Daniel
On Apr 2, 12:21 pm, Ian P. Christian [EMAIL PROTECTED] wrote:
Richtermeister wrote:
Hi Ian,
thanks for the prompt response..
I
allows you to have several root like
you want to do.
On Mar 26, 12:49 pm, Richtermeister [EMAIL PROTECTED] wrote:
Hi all,
I'm trying the propel nested set behavior for the first time, and I
was wondering if there always has to be one single root node, or if
multiple nodes (in the same
Hi all,
I'm trying the propel nested set behavior for the first time, and I
was wondering if there always has to be one single root node, or if
multiple nodes (in the same scope) can be at the root.
For example, I'm trying to use a category table such as this:
- makeup
-- -- anti-aging
-- --
Richtermeister schrieb:
Hi all,
as of late I've been implementing a page module that allows me to
create random static pages via wysiwyg editor. Since they are supposed
to look like root-level pages, the page module (unfortunately) becomes
king in my routing file.
For example
Hi all,
to Peter's thought of automating the output-type decision of an
action
based on what type of request is coming in (unless I also missed
it ;) , I think that is actually a valid point that Mike let's not
perpetuate the crazy-guy name is bringing up. In his Agavi framework,
they treat
Hi all,
I haven't worked with the many2many class,
but somehow I'm comfortable with the thought of link-objects.
For books and authors you would have a book_author table,
and a corresponding BookToAuthor class (my naming preference).
So the author class has a getBookToAuthorsJoinBooks method
Of Richtermeister
I have a question to what was said earlier: How do you switch
validation files within the action? I would love to use a pure
address .yml file to validate the address part of forms, and then a
custom file for the rest of the fields. Is that possible
nightmare, so I wouldn't even attempt
it.
Maybe try AJAX validation instead?
-Original Message-
From: symfony-users@googlegroups.com [mailto:[EMAIL PROTECTED]
On Behalf Of Richtermeister
Sent: 05 March 2008 19:54
To: symfony users
Subject: [symfony-users] Re: Putting forms in session
I've had that problem as well, albeit not in a batch script..
For some reason it worked when I added another level to the
configuration, such as:
all:
settings:
my_key: something
That is accessible as sfConfig::get(mod_settings_my_key);
Bothers me a little, so if anybody knows why that
Hi all,
that would be something that I would be very interested as well..
Anything to watch out for with upgrading propel? I read they switched
from creole to ..dbo-something.. forgot.
Thanks for any help,
Daniel
On Feb 23, 4:47 am, Pierre [EMAIL PROTECTED] wrote:
Hi Fabian,
If you want
301 - 330 of 330 matches
Mail list logo