Hi,
is there any Documentation how to use the Assetic Bundle correctly within a
Symfony 2 Project?
I activated the Bundle in my Kernel and added some Configuration to my
config.yml
In the Twig template i used the assets tag and provide a Folder where my
Assets are stored.
So far so good.
I Ena
Hi,
I'm having issues working with Doctrine2 boolean type(I'm using Mysql db).
My mapping is basic:
/**
* @orm:Column(type="boolean", nullable=false, name="is_deleted")
*/
protected $isDeleted;
When I'm trying to flush the object with $isDeleted=false (or true), the
entity is not being added
Should I be able to have separate schema.yml files for separate
applications within a Symfony project?
That is:
apps/frontend/config/doctrine/schema.yml
So far it doesn't appear to work, at least not properly, but I want to
make sure it's not me before abandoning this useful concept (:
Thanks!
Heya,
Please report an issue for this with as much details as you can on the
doctrine2 jira http://www.doctrine-project.org/jira/browse/DDC
Cheers
On Feb 27, 4:27 pm, Nikita Korotaev wrote:
> Hi,
>
> I'm having issues working with Doctrine2 boolean type(I'm using Mysql db).
> My mapping is basi
Hello,
I want to display a template in two modes : the "normal" mode, embedded
in the main layout, and an ajax mode; without duplicate my template of
course.
1. In my controller, how can I check if the requested url is an ajax
request (without adding any parameter) ?
2. In the Twig file, I
Le 27/02/2011 20:48, Christophe Beyer a écrit :
Hello,
I want to display a template in two modes : the "normal" mode,
embedded in the main layout, and an ajax mode; without duplicate my
template of course.
1. In my controller, how can I check if the requested url is an ajax
request (without
I too found form labels counter intuitive. It would seem it should be
easy to override the default label by passing in the option 'label'.
Perhaps I'll fork symfony2 implement the changes and do a pull request.
--
If you want to report a vulnerability issue on symfony, please send it to
security
Le 27/02/2011 21:03, Justin Fortier a écrit :
I too found form labels counter intuitive. It would seem it should be
easy to override the default label by passing in the option 'label'.
Perhaps I'll fork symfony2 implement the changes and do a pull request.
There is currently a proposal to rewrite
Hey.
I am trying to create a custom Translations loader.
According to http://docs.symfony-reloaded.org/guides/translation.html
i have created my class and configured it, but how do i tell
translator to use my custom loader???
And how does it decide what loader to use by default?? YML or PHP ??
--
Thank you, Christophe. The idea is rather clear. Unfortunately, when I write
framework:
exception_controller: MyController\Controller\ExceptionController
I get the InvalidArgumentException with message “The "framework" tag is not
valid”. It seems that I should define this Controller somehow else
I'm having the same issue. I'm using the sandbox and have been
following the
http://docs.symfony-reloaded.org/guides/doctrine/dbal/overview.html
tutorial, but am getting the
"doctrine.dbal.default_connection" must be defined.
error message
On Feb 21, 2:06 pm, Daniel Londero wrote:
> On 21 Feb
merci mais la pb n'est pas au niveau d'un accolade
car si on a ajout cette ligne le message dernier s'affiche et si je supprime
cette ligne il n'affiche pas les donner qui ce trouve dans la base de donner
(il n'afiche rien):
getActiveJobs(sfConfig::get('app_max_jobs_on_homepage')) as $i
=> $job): ?
Hello,
I have used the console command "php app\console doctrine:schema:create"
for automatically creating my database schema out of my annotated class
"Wish" in Mysql.
The command creates a correct table with the name "wish", it uses
lower-case letters at the beginning. On my local dev mach
Hi,
Symfony2 offers you a method in the request object called:
"isXmlHttpRequest()".
See Symfony\Component\HttpFoundation\Request.php
/**
* Returns true if the request is a XMLHttpRequest.
*
* It works if your JavaScript library set an X-Requested-With
HTTP header.
* It is
$this->container->get('request')->isXmlHttpRequest()
can also be shortened to $this->get('request')->isXmlHttpRequest()
On Feb 27, 1:58 pm, Christophe COEVOET wrote:
> Le 27/02/2011 20:48, Christophe Beyer a crit :> Hello,
>
> > I want to display a template in two modes : the "normal" mode,
>
Hello,
I have used the console command "php app\console doctrine:schema:create"
for automatically creating my database schema out of my annotated class
"Wish" in Mysql.
The command creates a correct table with the name "wish", it uses
lower-case letters at the beginning. On my local dev mach
Le 26/02/2011 11:26, MrEnirO a écrit :
Hey.
I am trying to create a custom Translations loader.
According to http://docs.symfony-reloaded.org/guides/translation.html
i have created my class and configured it, but how do i tell
translator to use my custom loader???
And how does it decide what load
Le 27/02/2011 01:01, igniteflow a écrit :
I'm having the same issue. I'm using the sandbox and have been
following the
http://docs.symfony-reloaded.org/guides/doctrine/dbal/overview.html
tutorial, but am getting the
"doctrine.dbal.default_connection" must be defined.
Which version of the sandb
Ok, thanks !
It works fine in the controller, but the line "{% extends ajax ? "" :
"MyBundle::layout.twig.html" %}" in the Twig file, bugs :
Template name "" is not valid (format is
"bundle:section:template.engine.format").
Christophe
Le 27/02/2011 20:58, Christophe COEVOET a écrit :
Le 27/02/2011 21:56, Christophe Beyer a écrit :
Ok, thanks !
It works fine in the controller, but the line "{% extends ajax ? "" :
"MyBundle::layout.twig.html" %}" in the Twig file, bugs :
Template name "" is not valid (format is
"bundle:section:template.engine.format").
Christophe
This
The current way is fine for me. I think Labels should go on the View, and be
references through the corresponding field's name. Setting the label inside
the Form component is what I hated about Symfony 1.x.
Lets say the layout desinger tell us that a label like a "UserName" (binded
to a field name
Hi everybody.
As everyone knows, PHP 5.3 is not supported by all web hosting providers.
I would be happy to hear about your experience and I would like you to
recommend to me a good web hosting provider.
There are lots cheaps WHP but I know that you get what you paid for.
any suggestion??
--
I
22 matches
Mail list logo