On Fri, Jan 29, 2010 at 2:20 PM, Eno wrote:
> On Fri, 29 Jan 2010, alessandro cinelli wrote:
>
> > I'm doing a huge refactor of an existing big site and i would like to
> port
> > it to symfony.
> > The problem is that i can't wait to full migrate the site to symfony
> > framework before going l
Hi,
I'm trying to get my head around the form framework in Symfony 1.4.
I've read the incredibly detailed section in the 'More with symfony'
book, but I'm still a but unsure how to implement a simple 'Change
password' functionality.
The requirements are pretty basic,
1. There'll be two fields,
The way that I addressed this was to:
* Create a custom form for the signin process
* In that form, replace the validator (change app_sf_guard_plugin_signin_form)
* In the new validator, replace the code that throws an error if the
user is not found in the database with code that authenticates a
ou es ce que je peut trouver la directive de configuration ServerName
pour lui ajouter les parametre du serveur virtuels .
et avant j'ai ouvert le fichier HTTP.CONF et y avai ça
#
# MySQL server administration.
#
Alias /phpMyAdmin /var/www/myadmin
DirectoryIndex index.php
Options Indexes Include
Both ways of authentication would be fine, but my main goal is to
allow users to login without requiring them to exist in the
sfGuardUserTable. I'm building a site for a client that has an api
that they want me to use to authenticate users against. I don't want
to have to insert into sf_user_guar
Hi Eno,
THanks for the reply. See inline.
-T
On Fri, Jan 29, 2010 at 5:10 AM, Eno wrote:
> On Thu, 28 Jan 2010, Tennis Smith wrote:
>
> > I'm trying to set my default db based on an environment variable. The
> > definition looks like this in my databases.yml file:
> >
> > test:
> > foo:
>
Hi there,
I've been having some 'issues' with the admin generator (Propel
version). The HTML generation behavior between the list view and the
form view is very different, and I'd like to know why, as the form
view works better (and as expected) compared to the list view.
I have the following YAM
Hi,
Same version here, sf1.4 and doctrine 1.2.
I've got the same result as you. The base class inheritance schema is
correct. The problems appears if you add the I18n behavior to you
schema.
Read the ticket I wrote to fully understand the problem, I'v joined an
example schema.yml.
For the recor
I think you have to possibilities:
1) send it via URL
2) send it via session
I would preffer to use option 1)
On 28 led, 21:01, Diego Bello wrote:
> Hi guys,
>
> I have a site (frontend) with a list of deploys. Now, each deploy can
> have several activities. When I click on new activity, I have
On Fri, 29 Jan 2010, alessandro cinelli wrote:
> I'm doing a huge refactor of an existing big site and i would like to port
> it to symfony.
> The problem is that i can't wait to full migrate the site to symfony
> framework before going live, but I have to do it step by step, small
> integrations
On Thu, 28 Jan 2010, Tennis Smith wrote:
> I'm trying to set my default db based on an environment variable. The
> definition looks like this in my databases.yml file:
>
> test:
> foo:
> class: sfPropelDatabase
> param:
> dsn: 'mysql://root:@localhost/test_foo'
My solution - when I'm not using sfGuard
1. during user login create an unique id (can be session id) and store
it to the session[session_id] and to the database to this user row
e.g. column login_session
2. every page load you are testing if user is logged - probably
testing if some session e.g.
Which class and attribute? If its a symfony class there is probably a
getter/setter method for it and then that would be the best way.
Simple reason why getter/setter methods are better than direct access
is that you can then alter the way that variable is returned later
(maybe you add additional
Of cource you can overwrite the sfGuardAuth module if you don't want
to use it... I thought that you want to use both ways of
autentification.
On 28 led, 18:38, ashton honnecke wrote:
> Thanks!
>
> So if I am understanding you, you are telling me that there is no way
> to do this with the curren
$values = $request->getParameter($this->form->getName()) gets an array
with all values of form.
And $values['name_of_your_checkbox'] will get the value if checkbox is
checked...
On 29 Jan., 03:30, mandyllanes wrote:
> Hi,
>
> I have a field checkbox in my form. In de sfAction class I want know
>
Using getter/setter is the better coding style.. but if the attributes
are public you can access them directly, too.
On 29 Jan., 11:16, ruigoncalves wrote:
> Hi there!
>
> How can I access the attributes of a class? By the name of the
> attribute or I have to use the appropriate getter/setter?
>
As it stands right now symfony has W more documentation than
any comparable framework out there. I think you are suffering from a
case of being spoilt too much by what symfony provides so that
anything "removed" is a big deal.
I started this discussion not as a complaint but as a query/sug
On 01/29/2010 03:36 AM, MartinB wrote:
is there a better place so that I
can upgrade the plugin and then not have to make this change again?
Yes, you should write it at
lib/form/doctrine/sfDoctrineGuardPlugin/sfGuardGroupForm.class.php and
/sfGuardGroupPermissionForm.
Javi
--
You recei
Thanks, I think, that I found my mistake. I have to use table alias in
LEFT JOIN, like LEFT JOIN ar.Busstops, but I forgot, because it was at
2 AM and was really tired...
On Jan 29, 10:51 am, wissl wrote:
> Try to use the table names instead of the class names in the subquery.
>
> On 29 Jan., 00:
Hi,
I'm using sf1.4, doctrine1.2.
I have a class and an extending class.
Got generated doctrine models and forms, and the extending class's form is
inheriting from its super class' form.
vsPage inherits vsBasicpage and I get this in the base form class of the
vsPage :
"abstract class BasevsPage
Created the ticket. You can see it here :
http://trac.symfony-project.org/ticket/8199
Regards.
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group
On 1/29/10 10:19 AM, Skyblaze wrote:
I don't want to spam or to offende anyone i just want to see the
reality. Ok it is an open source project and bla blablabut the
real fact is that this defenitive guide little update (with also two
important chapters left out from the update) and imho a no
On 1/29/10 10:19 AM, Skyblaze wrote:
I don't want to spam or to offende anyone i just want to see the
reality. Ok it is an open source project and bla blablabut the
real fact is that this defenitive guide little update (with also two
important chapters left out from the update) and imho a not
Hi there!
How can I access the attributes of a class? By the name of the
attribute or I have to use the appropriate getter/setter?
Thanks in advance,
Best regards!
--
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send em
I don't want to spam or to offende anyone i just want to see the
reality. Ok it is an open source project and bla blablabut the
real fact is that this defenitive guide little update (with also two
important chapters left out from the update) and imho a not decent api
documentation won't do anyt
Hi,
I'm doing a huge refactor of an existing big site and i would like to port
it to symfony.
The problem is that i can't wait to full migrate the site to symfony
framework before going live, but I have to do it step by step, small
integrations and refactors like dailymotion case history.
What i
Try to use the table names instead of the class names in the subquery.
On 29 Jan., 00:54, MaEcTPo wrote:
> I wrote a raw SQL, like this:
>
> SELECT b2.title, r.title
> FROM route r
> LEFT JOIN busstop_route b ON (r.id = b.route_id)
> LEFT JOIN busstop b2 ON b2.id = b.busstop_id
> WHERE b2.id <> 3
27 matches
Mail list logo