Hi everyone,
Recently I've decided to change routes from Yaml declaration to annotations
using FrameworkExtraBundle, which is now shipped with Symfony2.
Previously I was able to link several routes to one action:
management__users:
pattern: /management/users
defaults: { _controller:
If you plan to distribute your bundle, does not use the FrameworkExtraBundle
and use the xml routing definition.
On 14 mars 2011, at 09:40, Nikita Korotaev wrote:
Hi everyone,
Recently I've decided to change routes from Yaml declaration to annotations
using FrameworkExtraBundle, which is
My bundle with annotation routing is for personal application.
Why it encourages to use xml in routings for shared bundles?
--
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
Le 14/03/2011 10:03, Nikita Korotaev a écrit :
My bundle with annotation routing is for personal application.
Why it encourages to use xml in routings for shared bundles?
XML is validated throuch XSD.
And the annotations for the routing are not a core feature. You need a
third-party bundle
you cannot overwrite information defined in annotation ...
On 14 mars 2011, at 10:03, Nikita Korotaev wrote:
My bundle with annotation routing is for personal application.
Why it encourages to use xml in routings for shared bundles?
--
If you want to report a vulnerability issue on
Nobody ? The only other case I found on google was spanish and I
didn't understand a word of it :)
Don't tell me I'm the only one to have the PR7 not working once
downloaded and extracted ? :-/
Any help from one of the developers would be appreciated so I can
continue my coding.
Thanks in
Hi Guys,
When using the render or ESI tags, must the request parameters be
selectively passed through or can a sub-request access the master-
request parameters? e.g. a request parameter x1,x2,x3... exists in
scope to the master request, but is there a way to make it
automatically present to the
Hi Guys,
Playing around with ESI/Caching and Symfony2.
Is there a way to strip cookies (or have some not affecting your
caching strategy)?
I have some cookies that show up from other applications or uses (such
as phpmyadmin or Google Analytics tracking cookie) that I need to
clear back so that
Ok, that's clear.
However FrameworkExtraBundle was included in the Symfony PR7 and Fabien on
Symfony Live in Paris was talking about annotations over Yaml(not mentioning
xml). I'm little bit concerned about performance when using annotations: it
seems to me that all my controllers in the
Hi,
I have this file apps/backend/config/view.yml.
default:
http_metas:
content-type: text/html
metas:
#title:symfony project
#description: symfony project
#keywords: symfony, project
#language: en
#robots: index, follow
stylesheets:
Do you have include_stylesheets in your layout? Any of your view.ymls
contain a [-background] directive?
On Mon, Mar 14, 2011 at 12:03, Javier Garcia tirengar...@gmail.com wrote:
Hi,
I have this file apps/backend/config/view.yml.
default:
http_metas:
content-type: text/html
metas:
Yes, i have included ?php include_stylesheets() ? in the layout.
What is a [-background] directive?
Just if I include backend.css in the view.yml of the module it is
loaded.
Javier
On Mar 14, 1:26 pm, Gábor Fási maerl...@gmail.com wrote:
Do you have include_stylesheets in your layout? Any of
Hi
I wrote a class called MyUser which extends the sfUser class in order
to add some functionality. I then added the following in the
factories.yml file in order for Symfony to use MyUser instead of
sfUser.
user:
class: MyUser
This is what I could pick up from the web. However, when I try
Hello,
First, please use the _dev.php controllers to get beautifull exception stack
traces ;)
Second, clear-cache ?
Third, check you have put the MyUser.class.php in the lib/ directory of your
project.
Fourth, you can rename your userIsAuthentic() to -isAuthentic as you're
talking to a $sf_user
Hi all,
I am trying to setup Assetic within S2 sandbox using the
instructions found in the S2 conference slides
http://www.slideshare.net/kriswallsmith/introducing-assetic-asset-management-for-php-53
Anyway I am getting two errors:
1) Unrecognized options document_root under assetic', triggered
Hello, I found the class sfWidgetFormJQueryI18nDate (at
http://trac.symfony-project.org/attachment/ticket/8625/sfWidgetFormJQueryI18nDate.class.php
)
This class is very useful but I found a bug. When I select the 8 or 9,
no days were selected. This bug is due to parseInt which interpret the
string
http://symfony.com/doc/2.0/quick_tour/the_big_picture.html
where can I download the sandbox. the page does not exist anymore.
--
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
Is your production deployment on the root of the domain? If not, then
mod_rewrite needs to know the base name using the RewriteBase
directive in your .htaccess.
For example, if your base address for your site is
http://www.example.com/mysite,
then the .htaccess would need a line 'RewriteBase
How can we change the sfConfig variables dynamically in a functional
test in symfony 1.4.9?
Seems that what I have doesn't work
Thanks
Example:
My action uses a variable in the app.yml to gate the access to the
site.
I'd like to set the date dynamically to test the different sections.
ooh. I forgot to mention, once you edit the job_show_user route to use the
_slug actions the http://localhost/frontend_dev.php which is the index
action of the job module breaks, however the originally intended
/job/:company_slug/:location_slug/:id/:position_slug route does work, so if
I directly
Hi,
yes the production deployment is on the root of the domain.
If I write: http://www.mysite.com/app.php/hello/Fede the page is blank, but if
I write http://www.mysite.com/app_dev.php/hello/Fede all works correctly.
Thanks in advance.
federico
Il giorno 14/mar/2011, alle ore 13.05, Michael Van
You're missing
$manager-flush();
after the last persist, so that the changes are persisted to the database.
--
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
I had tried that already, but it wasn't working. Just tried it again
and still no luck. I looked at a lot of the fixture examples in other
bundles and none of them called flush() so I figured that doctrine
called this for you after the load() method. Any other ideas?
Thanks,
Dustin
On Mar 14,
Le 14/03/2011 15:17, Faltu Email a écrit :
http://symfony.com/doc/2.0/quick_tour/the_big_picture.html
where can I download the sandbox. the page does not exist anymore.
The sandbox has been replaced by the standard edition which is available
on the symfony.com website.
--
Christophe | Stof
24 matches
Mail list logo