Jump to content

Recommended Posts

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 }}



{% endblock %}

{% block javascripts %}

{{ parent() }}

{% endblock %}





Share this post

Link to post
Share on other sites
  • 2 weeks later...
  • 4 months later...
  • 5 months later...



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)



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)

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More