Hi,
Here is my problem with redirects.
user/profile?id=1name=robert
after redirects
user/profile/id/1/name/robert
Can it be just
user/profile?id=1name=robert
Hope you can help me
Thanks
--
If you want to report a vulnerability issue on symfony, please send it to
security at
Hi, at last founded find by token().
Thanks
On 10 abr, 21:52, kassel alvaro.tou...@gmail.com wrote:
Hi
How i get the user data storaged into session, i've sow all user is in
session but how can get id for example??
i've saw i can get it by :
$session-get(_security_main)
but it's serialized
Sorry guys for the missleading terminology here, I wrote Entity but
really meant Model.
After a while of digging I ended up with a bunch of servie classes
(like ericclemmons said), a few custom validation constraints and a
custom repository.
Thanks guys for helping me out!
On Apr 5, 5:48 pm,
Thanks for the clarification.
Regards,
David
On Apr 9, 4:51 pm, Christophe COEVOET s...@notk.org wrote:
Le 09/04/2011 00:42, dukeofgaming a crit : Hi,
I've seenhttp://symfony2bundles.org/, but apparently there is no way
to register there. I also saw that the website itself is an open
Hi Justen,
Thanks for your response. Actually, I don’t really have the choice.
Three years ago, I really got interested into Ruby On Rails because as an
Web entrepreneur, I tend to select the more effective and innovative tools
for my company. The problem is that if you don’t program a
Sometimes redeveloping from scratch is a good idea, we have done it a few
times. However when selecting which language or framework to use you need to
bear in mind things like available skills (i.e. people around that can code
in that language or framework). RoR, unfortunately, does not have as
Yep it’s exactly what I am saying in my email and as I don’t get what I want
from other people, then, I have decided to learn php5 and symfony
myself…Cause I am really fed up with people who just want to take my
money….and for the community, you will get one girl more! :-) (I have
already started
My problem is not caused by the authentication but it is caused by
redirection.
In the log you can see the sql queries , the first query has a
parameter null and the second one is the username that I passed. I
don`t understand because the first paramenter is null.
And then when the user is
Hi,
I only wants to modify tthe orm .xml generated from Doctrine to make
one-to-one relation ship, between to tables, i read that tuto but i
can't resolve at all how it works.
http://www.doctrine-project.org/docs/orm/2.0/en/tutorials/working-with-indexed-associations.html
Any help
Thanks
--
If
Bump please ! I can't believe nobody found this bug and it's really
annoying :(
On 24 mar, 11:09, Growiel girardol...@gmail.com wrote:
Hi.
In every symfony 1.4 form I have, I have a problem when I use
sfWidgetFormDoctrineChoice.
If i enable the add_empty option, I do have an empty choice at
The arguments signature has changed. You must add null as first argument.
The white page is not normal, if you are in dev mode you should see an error
stack
On 11 avr. 2011, at 11:34, seven seven wrote:
On my side the problem is that I don't receive any error. I am getting an
empty admin
You mean like this :
arguments: [null, TockTockFlatPagesBundle:GroupPageEngineAdmin]
?
I am in dev mode, ah I was referring that no fields are present, the Admin
template is there on the page, like there is no entity attached
On Mon, Apr 11, 2011 at 12:51 PM, Thomas Rabaix
The tag name is not valid.
And it is how you should declare the arguments :
arguments: [null, Tock\TockFlatPagesBundle\Entity\GroupPageEngine,
TockTockFlatPagesBundle:GroupPageEngineAdmin]
On 11 avr. 2011, at 11:56, seven seven wrote:
You mean like this :
arguments: [null,
this is also a little workaround that works well if you use a service quite
often, here the doctrine odm document manager
/**
* @return Doctrine\ODM\MongoDB\DocumentManager
*/
private function getDM()
{
return $this-get('doctrine.odm.mongodb.document_manager');
}
If you use it in
I mostly like the part that we will get one more girl in the community :)
Anyway, I personally think that if you have 3 year experience with RoR and
your team does it also, compared to 1 year of PHP or so. It would be better
to go with what you now best.
But if you still sure you want to learn
Hi,
How do I get my function available in all views just like url_for()?
Regards,
Kostia
--
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.
Its on the symfony website:
http://www.symfony-project.org/book/1_2/07-Inside-the-View-Layer#chapter_07_sub_helpers
On Mon, Apr 11, 2011 at 11:38 AM, coviex cov...@gmail.com wrote:
Hi,
How do I get my function available in all views just like url_for()?
Regards,
Kostia
--
If you want
Thanks !
That push me into a different area. I get an exception :
RuntimeException: Please define a default `baseRouteName` value for the
admin class `Tock\TockFlatPagesBundle\Admin\GroupPageEngineAdmin
and also an error :
FileLoaderImportException: Cannot import resource
Right, I had a tab at this line. Thanks !
Ok for the DQL functions, I don't want to upgrade my PR6, so I'll wait the
first RC :)
--
Christophe Beyer
cbe...@cap-tic.fr
Le 8 avr. 2011 à 18:21, Christophe COEVOET a écrit :
Le 08/04/2011 18:03, Christophe Beyer a écrit :
Ok thanks, but
hi
Symfony2 bundles Resources dir is
SomeBundle
Resources
config
config.yml
views
layout.html.twig
but i want set second dir
For example
home
user
SomeBundle
i agree that investigating the available tools before you embark on your
development is crucial, but as Gareth mentioned having the available
expertise if your team jump ship (and they will) is also important, seeing
as your application is already up and running - it is going to take alot
more
hi, My user is always autenticated as anonymous, so the redirection
does not work.
security:
encoders:
Openxesta\UserBundle\Entity\Usuario:
algorithm: md5
encode-as-base64: false
iterations: 10
role_hierarchy:
ROLE_ADMIN:
Le 11/04/2011 14:27, smontes a écrit :
hi, My user is always autenticated as anonymous, so the redirection
does not work.
security:
encoders:
Openxesta\UserBundle\Entity\Usuario:
algorithm: md5
encode-as-base64: false
iterations: 10
Hey there-
I'd say that both are fine. If you simply want to add comments to your
articles, I'd just start with having them inside the same bundle. The
advantage of having them in two bundles is more separation/
organization (and if your Blog bundle isn't too big, that's not a huge
concern) and
1º - I remove the anonymous entry and put this :
firewalls:
login:
pattern: /demo/login
security: false
secured_area:
pattern: /demo/.*
form_login:
check_path: /demo/login_check
login_path:
Le 11/04/2011 15:00, smontes a écrit :
1º - I remove the anonymous entry and put this :
The good fix would have been to remove the login friewall, not the
anonymous entry.
firewalls:
login:
pattern: /demo/login
The pattern should be ^/demo/login$ if you want to
I just wanted to tell you guys, in case anyone is in the same
situation, that I've implemented this approach. It's not that much work as I
thought, and it works like a charm. I'm using now two ACEs for each object
and SID, and two ACEs for each field of the object and SID. One ACE for
ALLOW
I'm sorry, I had read the whole message but I did not understand you,
my English is not good. I think now I understand everything. Thanks
for everything and sorry again.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received
Ok I'm stuck :(
I didn't figure out why it does not find my entity .
It only have my Entity classes manually written including my getters and
setters , without running the doctrine:generate:entities command. I am
asking if is there absolutely necessary of having XML or YML mapping of my
entities
Hey All,
I've recently added user photo to the sf_guard_user table and am able
to upload and display the photo when i select the user for
modification. What i would like to know is how to display the photo in
the user list tablei've added it to the generator.yml file but it
only displays the
I have installed UserBundle, but when I try open app_dev.php there i
see
Fatal error: Interface 'Symfony\Component\Config\Definition
\ConfigurationInterface' not found in C:\dotabash.ru\symfony\vendor
\bundles\FOS\UserBundle\DependencyInjection\Configuration.php on line
18
create a PageService for fetching/saving your domain models and leave
Doctrine for the persistence of data.
agreed.
--
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
Hey weaverryan,
thanks for you answer! Your description of organizing the source code
opens my mind for the bundle system. The idea of decoupling the comments
from the article and use them for other projects is really great. But as
you mentioned my Blog project wouldn't be to big because it's
I have this doubt too.
Is there a way to organize controllers in sub folders?
Example:
/src
/Blog
/BlogBundle
/Controllers
/Front
ExampleController.php
/Back
AdminController.php
On Apr 11, 9:52 am, weaverryan
Hi Steveon,
I assume you are using the admin generator for your backend application.
You should create a partial, prefixing your field name with an underscore;
now you will be able write custom code (in your case a call to image_tag
with the image path).
Read
Le 11/04/2011 21:19, Dark a écrit :
I have installed UserBundle, but when I try open app_dev.php there i
see
Fatal error: Interface 'Symfony\Component\Config\Definition
\ConfigurationInterface' not found in C:\dotabash.ru\symfony\vendor
Le 11/04/2011 20:03, Hernan Slavich a écrit :
I have this doubt too.
Is there a way to organize controllers in sub folders?
Example:
/src
/Blog
/BlogBundle
/Controllers
/Front
ExampleController.php
/Back
Could this be related to the php setting magic quotes?
Daniel
On Apr 10, 11:47 am, Simon Cast simon.c...@gmail.com wrote:
I recently upgraded to 1.4.12 and this has produced the odd error
where form input is escaping quotes on entry to the system. By this I
mean I echoed the clean bound form
I was trying to up load image hear is the code which i wrote
in lib/form class
$this-validatorSchema['picture'] = new sfValidatorFile(array(
'required' = true,
'path' = sfConfig::get('sf_upload_dir').'/images'));
in action file
$files = $request-getFiles('user');
$req =
39 matches
Mail list logo