Hi there !
I use this exact sample of code :
5, 'size' => 6 )) ?>
'orders/productRebate?id=' . $product_idname,
'loading' =>
"Element.show('loading_div');",
'before' => "al
Hi there !
I have a problem with my symfony application, and I haven't found any
solution on snippets or any other documentation.
I have a whole secured app ("is_secure: on" on app's scope
security.yml), except for login and logout actions.
I widely use Ajax requests to display forms on "pop-up"
The sfWebRequest uses the method
/**
* Returns the array that contains all request information ($_SERVER
or $_ENV).
*
* This information is stored in the [sf_path_info_array] constant.
*
* @return array Path information
*/
protected function getPathInfoArray()
{
if (!
nobody using sfGuard for complex projects? Common :)
I dont see a problem i using the profile_id to link it with site
content, but it would need 2 joins then to get the username.
eg:
$article->getMemberProfile()->getsfGuardUser()->getUsername()
That would result in more complex queries, which m
Make the user_profile->sfGuardUser a 1:1 relationship, then you don't
need to do a join - the profile ID will always be the same as the user
id.
Realistically, are users ever going to have more than 1 profile?
On 19 May 2008, at 10:34, kayoone wrote:
>
> nobody using sfGuard for complex pr
Is anybody using XML schema with sfAlternativeSchemaPlugin?
Or is it planned to support XML schema's soon?
I can't use Propel validators at the same time as
sfAlternativeSchemaPlugin at the moment...
Ofcourse, adding Propel validators to the YML syntax would also solve
this problem :)
--~-
How about Motilee, it also uses bread crumbs, via a slot.
I can't seem to find any files in the Motilee download resembling the
above, I was wondering if anyone knows off the top of their head how
Motile implements their breadcrumbs? (Before I dig too much
further...)
Thank you
--~--~-
Ah, I got it. The Motile breadcrumb is implemented via a helper in
sfSimpleForumHelper.php
M
On May 19, 10:23 pm, markchicobaby <[EMAIL PROTECTED]> wrote:
> How about Motilee, it also uses bread crumbs, via a slot.
>
> I can't seem to find any files in the Motilee download resembling the
> abo
but propel objects need their own a primary key, otherwise they wont
work.
But i will try if that works, still the profile_id will be different
from the user_id
On 19 Mai, 12:21, Lee Bolding <[EMAIL PROTECTED]> wrote:
> Make the user_profile->sfGuardUser a 1:1 relationship, then you don't
> need
Hi,
i've got an Typo3 Applications with a lot of Users, and some Usergroups.
Now i will create an symfony application using the users and groups
from the Typo3 application for authentification.
Has anybody some hints for me how to authentificate users in the
symfony app with entrys of an fore
Yes, but with a 1:1 relationship they'll both be the same number. They
should never be different unless you've manually altered your database.
But you can use constraints to further enforce this :)
On 19 May 2008, at 13:31, kayoone wrote:
>
> but propel objects need their own a primary key, o
mmh...the thing is, i dont want to have the sfGuard schema in my main
schema because of the problems described above, and
the relation betweet sfguarduser and the profile table is just set via
the config, there is no real relationship i guess.
The getProfile() method of the sfGuardPlugin is lookin
There's a MUCH simpler way - leave out the id column in
sf_guard_user_profile, and use a user_id column (foreign key to
sf_guard_user).
Works for me :)
I end up doing most of my stuff by working with user profiles, because
that contains the data I need most often - firstname, lastname etc.
I think you have some bug in the sfValidatorChoice. The validation don't
passes, when the values and text of options are different.
The function doClean of sfValidatorChoice should be:
protected function doClean($value)
{
$choices = $this->getOption('choices');
if ($choices instanceof
Hi list,
i have a DB with LATIN1(iso-8859-1) in production with other
applications, so i can't change it to utf-8.
I'm using symfony 1.1 to develop another app using same DB, i've
configured these changes to charset:
frontend/config/settings.yml
all:
.settings:
charset:is
Hi list,
i have a DB with LATIN1(iso-8859-1) in production with other
applications, so i can't change it to utf-8.
I'm using symfony 1.1 to develop another app using same DB, i've
configured these changes to charset:
frontend/config/settings.yml
all:
.settings:
charset:iso-
I may be wrong, but what I call "breadcrumb" is a list of the recently
visited page by the visitor (like in wikis, or in sugarCRM).
And what you call "breadcrumb" seems to be the full path where the
user is currently in, what I call "rootline".
What are the "official" terms ?
On 19 mai, 14:30,
Hi,
I'm trying to valídate the data inserted in a form. For that reason I created a
file called AdicionarLicencias.yml inside the /validate folder in my module.
This is the content of the file:
/valídate/AdicionarLicencias.yml
fillin:
enabled: true
fields:
nombre:
required:
msg:
i think i tried that already and that didnt really work because as far
as i know propel objects need their own primary key to work correct.
But ill try that again... I also dont need the user table often, but
when i need a nickname, i need a user table.
Problem is i cant make a relationship betwee
Usually breadcrumbs refer to the full path and NOT the recent history
Balaji
On May 19, 2008, at 10:31 AM, [EMAIL PROTECTED] wrote:
>
> I may be wrong, but what I call "breadcrumb" is a list of the recently
> visited page by the visitor (like in wikis, or in sugarCRM).
> And what you call "bread
Yes, that is my impression as well. Never heard of "rootline".
On May 19, 10:18 pm, Balaji Srinivasan <[EMAIL PROTECTED]> wrote:
> Usually breadcrumbs refer to the full path and NOT the recent history
> Balaji
>
> On May 19, 2008, at 10:31 AM, [EMAIL PROTECTED] wrote:
>
>
>
> > I may be wrong, bu
I'm curious if there is a standard library or practice for form validation
using JS just as there is for PHP. It is sort of baffling to me as to why
symfony would omit something as useful as this.
Seems silly that if symfony knows a form field is required, what kind of
form element it is, what
In my modules\user\validate\register.yml file I have:
usernameSizeValidator:
class: sfStringValidator
param:
min:4
min_error: Username must be 4 or more characters
max:15
max_error: Username must be 15 or less characters
How can I acce
Anyone has any idea?
would I have to maintain the value myself in session? :|
On May 19, 11:51 am, Sumedh <[EMAIL PROTECTED]> wrote:
> Yeah...I am not talking about putting it in browser...
>
> I am following a link...and getting it correctly sometimes...and null
> sometimes...in the same browse
Can we set fillin as true through code, if I don't want to use YAML
file for validation?
YAML file is creating a strange problem...when I use it, my
form_remote_tag on the success page (after validation and form
submission) doesn't work!!! the template just goes blank!!!
Don't know what is the co
25 matches
Mail list logo