Hello Oscar,
yes, that fix my problem
thanks
On 6 avr, 01:35, oscar balladares liebegr...@gmail.com wrote:
This is not especific to PR10,
if you do {{ form_field(form) }} it will output everything needed (errors,
hiddens, labels, and fields)
But if you access each filed like:
{{
I just wanted to give everyone a heads up about a Symfony2 site that is
in production, http://athletepath.com You can see some of the features
of the site at http://athletepath.com/obra
The has actually been live since December, but we just launched a few
new features and it moved into
Your idea is sound except for the behavior of the
PermissionGrantingStrategy. If you take a closer look, you'll see that the
first applicable ACE will make the ultimate decision for the permission
bitmask. Only if you check for more than one mask, the loop will continue.
Also see the documentation
Hi,
I'm trying to make na app integrated to Facebook not using any existing
plugin, only with the facebook php sdk, since I made several FB apps without
symfony. The authentication window opens, work allright, but, when sending
the form back to my app, the facebook cookies (fbs_appid) is never
How can I update some field in DB (i.e. Last time of login) ?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this group, send
Dear all
I want to use ajax functionality but getting error that JavascriptHelper.php
not found.
Following is template code and error.
please write me getting following error.
*
?php* use_helper('Javascript') *?
*
div id=*item_list*/div
*
?php* *echo *form_remote_tag(*array*(
'update' =
Hi all,
I found some errors in the Creating pages in Symfony 2 chapter of
the documentation (http://symfony.com/doc/2.0/book/
page_creation.html). The ticket I created hasn't seemed to have
gotten any attention, so someone on the forum suggested I post to the
users mailing list.
Ok, I've found the solution. The difference between Jobeet example and
my code was the primary key name. In Jobeet it's id, in my project
it's tablename_id. Doctrine understands, that id is a primary key and
thus numeric, but it doesn't recognize tablename_id as a key. So, my
url was matched with
Hello!
Clearing the cache didn't worked, unfortunately.
Removing your Bundle from the references, didn't too.
I'm using Symfony2 2.0.0PR9, which I have downloaded from official
site on the day I've opened this thread.
If anyone wants to take a look, I have saved a copy of all directory
Which version of symfony do you use ? This javascripts helpers are old
symfony stuf, from 1.0, they are not in 1.4
2011/4/6 Jehan jeeha...@gmail.com
Dear all
I want to use ajax functionality but getting error that
JavascriptHelper.php not found.
Following is template code and error.
After checking the repo, the javascripts ajax helpers was removed in 1.2
(because of their prototype dependencies)
2011/4/6 Yohan GIARELLI yo...@giarelli.org
Which version of symfony do you use ? This javascripts helpers are old
symfony stuf, from 1.0, they are not in 1.4
2011/4/6 Jehan
Le 06/04/2011 01:26, Antonio Antunes a écrit :
Hello!
Clearing the cache didn't worked, unfortunately.
Removing your Bundle from the references, didn't too.
I'm using Symfony2 2.0.0PR9, which I have downloaded from official
site on the day I've opened this thread.
If anyone wants to take a
Hi,
I've just started to code with sf PR10 and I have this problem when i
try to create the stub methods for my entities
Bundle {name of bundle} does not contain any mapped entities.
I've been following the documentation very closely. However, I'm still
unable to find out where is the problem?
Hello,
I have a nested set structure, which I am loading from fixture (I'm
using Doctrine). The problem is, root level siblings get assigned the
same lft value which makes sorting the whole nested set to correctly
display it impossible.
My schema:
NestedSet:
actAs: [NestedSet]
tableName:
Le 06/04/2011 15:01, Joni a écrit :
Hi,
I've just started to code with sf PR10 and I have this problem when i
try to create the stub methods for my entities
Bundle {name of bundle} does not contain any mapped entities.
I've been following the documentation very closely. However, I'm still
Here is my config.yml file
orm:
auto_generate_proxy_classes: %kernel.debug%
default_entity_manager: default
entity_managers:
default:
mappings:
{name of bundle}: ~
is there something wrong with the mapping?
On Apr 6,
Le 06/04/2011 15:20, Joni a écrit :
Here is my config.yml file
orm:
auto_generate_proxy_classes: %kernel.debug%
default_entity_manager: default
entity_managers:
default:
mappings:
{name of bundle}: ~
is there
Which entities are you referring to?
I'm kinda confused.
is it the .dcm.yml files?
Or the mapping insidie the Entity.php class file ?
On Apr 6, 9:24 pm, Christophe COEVOET s...@notk.org wrote:
Le 06/04/2011 15:20, Joni a �crit : Here is my config.yml file
orm:
Le 06/04/2011 15:26, Joni a écrit :
Which entities are you referring to?
I'm kinda confused.
is it the .dcm.yml files?
Or the mapping insidie the Entity.php class file ?
An entity is a PHP class which is meant to be persisted by Doctrine.
And the mapping of the entity can be in different
Thanks for the quick reply and explaining it to me!
I used the YAML format and according to the documentation, I generated
the yaml format to the src/{namespace}/{name of bundle}/Resources/
config/doctrine/metadata/orm
my 'User.dcm.yml look like this
User:
type: entity
table: user
fields:
Le 06/04/2011 15:34, Joni a écrit :
Thanks for the quick reply and explaining it to me!
I used the YAML format and according to the documentation, I generated
the yaml format to the src/{namespace}/{name of bundle}/Resources/
config/doctrine/metadata/orm
my 'User.dcm.yml look like this
The
Actually, I tried doing that as well. But doing that mapping will give
me another error.
[Doctrine\ORM\Mapping\MappingException]
Class is not a valid entity or mapped super class.
What should I do for this error?
On Apr 6, 9:48 pm, Christophe COEVOET s...@notk.org wrote:
Le 06/04/2011 15:34,
Le 06/04/2011 15:50, Joni a écrit :
Actually, I tried doing that as well. But doing that mapping will give
me another error.
[Doctrine\ORM\Mapping\MappingException]
Class is not a valid entity or mapped super class.
What should I do for this error?
This means that Doctrine found your mapping
Ah, Very Cool... Thank you very much for the help!
Everything is solved now!
Thank you very much!!!
On Apr 6, 9:54 pm, Christophe COEVOET s...@notk.org wrote:
Le 06/04/2011 15:50, Joni a crit : Actually, I tried doing that as well. But
doing that mapping will give
me another error.
Could you give more details, please?
On Apr 6, 1:33 pm, Azat a3at.m...@gmail.com wrote:
How can I update some field in DB (i.e. Last time of login) ?
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because
I have a simple form for editing users and, amongst other things,
assigning them roles.
It works well for authentication when i manually add the right lines
to the database, and authentication works flawlessly.
However, the following code breaks down:
$form-add(new
From the trace, the error is occurring when trying to hydrate your
User document and it would seem that the problem is with your mapping.
Do you by any chance have String instead of string for your field
type?
From the documentation:
/** @Field(type=string) */
Hope this helps.
On Apr 6, 12:03
Hi. May be they won't pay attention to the ticket as documentation
is always changing.
Posting it here is the best way.
Regards!
2011/4/5 Mike Angstadt mike.angst...@gmail.com
Hi all,
I found some errors in the Creating pages in Symfony 2 chapter of
the documentation
Have you really got a root-namespaced class called String, or are
you trying to type-hint on a string type?
According to the PHP manual:
Type Hints can only be of the object and array (since PHP 5.1) type.
Traditional type hinting with int and string isn't supported.
On Apr 6, 12:54 pm, Conrad
Sorry what I wanted to say is that the user token doesn't exist while
_security_profile does.
GlobalVariables.php:
public function getUser()
{
if (!$security = $this-getSecurity()) {
return;
}
if (!$token = $security-getToken()) {
return;
Dear All
I am using symfony 1.4.
I want to show data in table format, with each record show a hyperlink.
when click on link then that specific record edited using ajax.
How to do it.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
Additional info:
Without main firewall I don't get a token at all.If I add the main
firewall I get anon. as user but not the username of the real user
from the login page. What I want is a main page that is freely
available but with a login/logout button for further services. When
the user is
This appears to still be broken in PR10. I can't override FOSUserBundle
templates.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To
33 matches
Mail list logo