-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap + filters #16
Comments
No utiliza el base. Tiene su propia vista layou
|
Todas las plantillas tienen: {% extends '::base.html.twig' %} no? Es decir, deberia verlo como en la captura de pantalla del readme de este mismo bundle? No se si el problema viene porque estoy cargando bootstrap v.2.3.1 |
no... tienen {{ "{% extends 'MWSimpleCrudGeneratorBundle::layout.html.twig' %}" }} 2013/5/24 Marc Morales Valldepérez [email protected]
Gonzalo Alonso |
Vaia, pues algo tengo mal, los views que me ha generado el comando app/console jordillonch:generate:crud, todos esos views extenden de base. He cambiado por el extends {{ "{% extends 'MWSimpleCrudGeneratorBundle::layout.html.twig' %}" }} y me dice que el template no existe.... |
Oh disculpa me equivoque de bundle :/ igual miro el codigo y deberia generarte de esta manera: |
I've been having the same problem as mrcmorales, it could be related to recent updates on Synfomy but for now I'm clueless, I'll do what I can to help tho. It's not only about the extends, it's about all the templates, this bundle is pulling Sensio templates instead of it's own, that's the bug. Will comment any finding about this. |
Han habido problemas ya que el bundle de Sensio ha cambiado bastante, tenemos pensada hacer una versión que no extienda de él y evite estos problemas pero de momento no hemos podido. Sé que no es una gran solución pero para un proyecto que estoy haciendo con Symfony 2.2 me ha valido con este composer:
Intentaremos tener lista la nueva versión sin dependencias lo antes posible, pero mientras tanto, decid si esto os vale Saludos y disculpas! |
Gracias ricardclau I already analysed the commits way back to that, it's interesting that such commit is working which I noticed was yours. Particularly interesting is one of the latest commits which is code similar to the one in the Sensio I'm still figuring what went wrong. |
In the previous versions of Sensio bundle all crud actions where POST / GET. Now they added PUT / DELETE methods and also changed the base template they are extending from so the skeleton is completely different. I think that commits after my hash tried to make it work with the new stuff but obviously something was wrong :) Anyway, if it works for you, let's keep this commit as the "safe" one and I'll do my best to fix it all at once in the following days! |
Para ver los estilos: php app/console assets:install Para que se copien del bundle a la web y puedas ver-lo con estilos. |
Hola!
|
Hola,
Estoy provando el bundle, he cargado el css de bootstrap en base.html.twig, pero en el list view no lo veo con el estilo bootstrap ni me salen los filtros? es normal?
Gracias
Saludos
The text was updated successfully, but these errors were encountered: