brys Posted December 9, 2019 Share Posted December 9, 2019 I have new kontroler FrameworkBundleAdminController in prestashop 1.7 I display in them, for example, a form generated by HelperForm, but the bootstrap styles are missing to make the form look similar to those of prestashop. What am I missing? class CustomizeController extends FrameworkBundleAdminController { public function __construct() { $this->bootstrap = true; $this->display = 'view';} public function addAction($productId) { return $this->render('@Modules/rolety/views/templates/admin/customize_form.html.twig', [ 'customize_form' => $this->renderForm(false,$productId) ]); } } Theme customize_form.html.twig {% extends '@PrestaShop/Admin/layout.html.twig' %} {% trans_default_domain "Admin.Design.Feature" %} {% block content %} <div class="row block"> <div class="col block_content"> {{ customize_form | raw }} </div> </div> {% endblock %} {% block javascripts %} {{ parent() }} {% endblock %} Link to comment Share on other sites More sharing options...
brys Posted December 18, 2019 Author Share Posted December 18, 2019 My form looks like this How do you make it look similar to the built-in forms in Prestashop? Link to comment Share on other sites More sharing options...
Prekas Posted April 30, 2020 Share Posted April 30, 2020 I am interested in the answer to that as well! Link to comment Share on other sites More sharing options...
RCTSH Posted October 13, 2020 Share Posted October 13, 2020 Ingles by testing my site with https://webpagetest.org I have seen that the warehouse theme uses several old libraries such as Vulnerable library Vulnerable version detected bootstrap 4.2.1 jquery 2.2.4 can i update for example bootstrap ( version 4.5.2 ) manually ? If so, how? (I have already downloaded the zip file with the new version) castellano haciendo un test de a mi pagina con https://webpagetest.org he visto que el tema warehouse usa varias librerias antiguas como Vulnerable library Vulnerable version detected bootstrap 4.2.1 jquery 2.2.4 puedo actualizar por ejemplo bootstrap ( version 4.5.2) de forma manual? si es asi como? (el zip con la nueva version ya lo he bajado) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now