I have in schema:
Items:
actAs:
Timestampable: ~
I18n:
fields: [name]
actAs:
Searchable:
fields: [name]
columns:
name:
type: string(250)
notnull: true
And when I save new item with cyrylic words Doctrine don't save them
as keywords in
Thanks for thoughts.
Looking to ditch templating engines completely in favour of just
symfony templates but am wondering whether you can run smarty side by
side with symfony templates so we don't have to port everything all in
one go. We can then continue the porting of code but still deliver
On 07/29/2010 12:19 AM, Gustavo Adrian wrote:
Did you set the signin redirect url in file app.yml?
|all:
sf_guard_plugin:
success_signin_url: @my_route?param=value # the plugin use the
referer as default
success_signout_url: module/action # the plugin use the
Hi all,
I just found some functions have problems in my Chrome browser. It
took me some time to find out the problem is caused by the setFlash
method in sfUser. It seems it can't work properly in Chrome.
Here is how I test the function:
I created two actions:
The first one can be visisted by
Hi,
We have a new system to build. We will start with merging different
applications we did before and put it in to one symfony project. Right
now we have 3 things to merge, the User management, the Report, and
the XYX which consist of the Admin System. I suggested the we organise
our project in
yes
On Jul 21, 4:41 am, Gustavo Adrian comfortablynum...@gmail.com
wrote:
Are you using include_javascripts(); and include_stylesheets() functions
on the head tag of the layout?
On Tue, Jul 20, 2010 at 7:15 AM, comb sa...@gmx.net wrote:
Symfony 1.4 + Doctrine 1.2
Any ideas? :-)
On 20
Hi, im new to symfony and am running into a problem. i have just
built a schema and tried using the propel-build-model command, but
its not creating anything. Any suggestions?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You
On 17 Lug, 20:15, comb sa...@gmx.net wrote:
I found much on the web regarding the topic, but no solution! :(
Normally one would include the css and js in the head. But if I call
?php use_javascript('xyz.js');
php use_stylesheet('xyz.css') ?
from an partial, they are not included,
Yes. The cookie is set. And as you can see, the setAttribute and getAttribute
method work
cookies enabled?
On Jul 29, 9:08 am, travis lyf...@gmail.com wrote:
Hi all,
I just found some functions have problems in my Chrome browser. It
took me some time to find out the problem is caused
Hi all,
Let me explain:
I have a field isPublished in my table, and another publicationDate.
When isPublished is updated from 0 to 1, I'd like to update
publicationDate with the current date time.
Is there a way to specify this in the schema.yml file?
Thanks a lot
Jérémie
--
If you want to
In my app i am using sfGuardPlugin. In the frontend it's not possible
the change the user name of an existing user, that's OK of course.
But today I am working on the backend and I have seen there it's
possible to change the user name.
My first thought was to define the username as disabled in
What's the output of the task? Also, use propel:build-model instead.
On Thu, Jul 29, 2010 at 15:00, Siameseguy abdalra...@gmail.com wrote:
Hi, im new to symfony and am running into a problem. i have just
built a schema and tried using the propel-build-model command, but
its not creating
hello
i try tu use sfWebBrowserPlugin to make unit test on an upload form.
But first i have to pass a login form. When i try to setField and
click on submit, i 've got a csrf protection problem.
my question is how can i disable the csrf protection in my unit test
and pass the login with
Why would it be always false?
In the validator I'm unsetting the comment reference if body field has
no value...
?php
class ExpenseCommentValidatorSchema extends sfValidatorSchema
{
/**
* Validate comment field
*
* @param array $values
* @return array $values
*/
protected
I'm using the sfDoctrineMasterSlavePlugin (BTW it's pretty BA Kris ;p)
and I was curious to know if the plugin checks to make sure it can
connect to one of the slaves, if it can't connect it will choose
another until it finds one. I added 5 slaves and 1 master to the
databases.yml file. Works like
Yeah, i think we're on a lead :
i have sfGuardUserProfile declaration in my project like in the
documentation :
sfGuardUserProfile:
inheritance:
type: simple
extends: sfGuardUserProfileBasis
columns:
user_id: { type: integer, notnull: true }
birthday: { type: date,
Ok, it seems that i have two declaration of sfGuardUserProfile,
so i deleted mine, and kept the one from the plugin (merging my
attributes)
SQLSTATE[HY000]: General error: 1005 Can't create table
'mywebsite.#sql-7d_7b' (errno: 150).
Failing Query: ALTER TABLE sf_guard_user_profile ADD
I have found a solution to prevent changes of some values with usage
of admin generator:
1. In the generator.yml the used form class is defined. By default is
is sfGuardUserForm.
Build your own class which is extending the default class and
change the generator.yml
...
form:
Sorry, my mistake. I thought the getValue method returned false instead of
null. What I don't see is the validator set on the Expense form. Set it as
the PostValidator
On Thu, Jul 29, 2010 at 3:03 PM, J_Wesker j_chave...@hotmail.com wrote:
Why would it be always false?
In the validator I'm
No, but you can do it on the model, on the preSave method (on your model
inheriting Doctrine_Record class)
On Thu, Jul 29, 2010 at 10:50 AM, Jérémie jeremie.symf...@gmail.com wrote:
Hi all,
Let me explain:
I have a field isPublished in my table, and another publicationDate.
When
After making some changes on my code and debugging using die's and
var_dump() all day,
I haven't found the cause of all this. But I have make sure of some
facts:
1. If I embed directly the comment form, and set the body field as
required, then both objects get saved smoothly,
unfortunately the
21 matches
Mail list logo