Hi,
I am looking around for a solution to load seed data into my project.
Until now, I have been using fixtures to load the data, but of course
this gets very dangerous when you have live, non static data on your
production server!
In the rails world, there is Seed Fu
Hi I'm wondering about the feasibility of dropping the username and
using the email address as the username instead in FOSUserBundle. Is
this supported by the bundle? Has anyone done this themselves?
Thanks,
Ned
--
If you want to report a vulnerability issue on symfony, please send it to
By the way: I submitted a patch to allow logout path and logout target
path to be localized as well:
https://github.com/symfony/symfony/pull/1277#issuecomment-1345322
On Jun 10, 2:33 pm, theinterned ned...@gmail.com wrote:
Ah great! Thanks so much.
This looks like the commit
here:https
Awesome ... updating now! thanks!
On Jun 10, 6:22 am, Christophe COEVOET s...@notk.org wrote:
Le 09/06/2011 23:38, theinterned a crit :
Hi,
I am trying to provided login at localized urls: /en/login, /fr/login
etc.
The locale seems to work okay for the login form
Hi,
I am wondering how you all are managing permissions on your symfony 2
projects.
I seem to be constantly wrestling with permissions as I generate files
in app/cache form the command line (as my user) and from the apache
web server (as the apache user). Both of these users are generating
files
the check path to be
handled by the firewall using form_login in your security firewall
configuration. error.
Here is my app/config/routing FOS section: https://gist.github.com/1019237
And here is my app/config/security.yml: https://gist.github.com/1019235
Any ideas?
On Jun 10, 9:58 am, theinterned
Ah great! Thanks so much.
This looks like the commit here:
https://github.com/symfony/symfony/commit/882a8e3f09c602a6f0ed3b5bd20e8d4688331500
I'm going to merge that into my project.
On Jun 10, 1:28 pm, Christophe COEVOET s...@notk.org wrote:
Le 10/06/2011 18:46, theinterned a crit
Hi,
I am trying to provided login at localized urls: /en/login, /fr/login
etc.
The locale seems to work okay for the login form, but the firewall
seems to have issues.
I am getting the following error:
You must configure the check path to be handled by the firewall using
form_login in your
Hi,
I just upgraded a project from Symfony 2 pr 12 to beta 3.
I had previously defined an annotated route with a parameter in the
prefix:
phones_l10n:
resource: @HBKCatalogueBundle/Controller/PhonesController.php
type: annotation
prefix: /{_locale}/products
And then
I solved this.
I found the $router-match() method, which I am using against a
cleaned up version of the $request-server-get('HTTP_REFERER'). This
gives me the route parameters I need to generate my redirect route.
Here is the completed action:
public function switchLangAction($_locale)
, instead of having
the client send a request and then redirecting.
as a side note, instead of the string replacement, you could use the php
method parse_url to get the elements from an url.
cheers,
david
Am 10.05.2011 17:56, schrieb theinterned:
I solved this.
I found the $router
, 11:56 am, theinterned ned...@gmail.com wrote:
I solved this.
I found the $router-match() method, which I am using against a
cleaned up version of the $request-server-get('HTTP_REFERER'). This
gives me the route parameters I need to generate my redirect route.
Here is the completed action
Hi,
I am trying with no luck to find a referrer object for use in my
controller. I expected there would be an object similar to the request
object with parameters specifying the _controller, _route and
arguments.
What I am trying to do is a language switcher action that redirects
the user to the
.
Any help would be greatly appreciated.
On May 9, 11:47 am, Christophe COEVOET s...@notk.org wrote:
Le 09/05/2011 17:44, theinterned a crit :
Hi,
I am trying with no luck to find a referrer object for use in my
controller. I expected there would be an object similar to the request
Hi thanks,
I'm using sf 2 actually. Sorry I should have specified.
On May 5, 5:01 pm, Gábor Fási maerl...@gmail.com wrote:
I assume you're using sf1. Use `sfConfig::get(sf_web_dir)` to get
the webroot directory.
On Thu, May 5, 2011 at 20:43, theinterned ned...@gmail.com wrote:
Hi,
I
Hi,
I am trying to read the contents of a public directory from my Model.
Currently I am doing this:
public function getFiles()
{
$dir = dir(__DIR__ . '/../../../../web/assets/');
( ... )
return $files;
}
... but that's pretty ugly.
There myst be a better way to do this - for
16 matches
Mail list logo