Prestashop 1.7.7.1: override controller - overriding

In the past I made an override of AdminOrdersController to extract some orders from database of a given provider. I created this override into override/controllers/admin/AdminOrdersController.php. That was in Prestashop 1.6. Now the customer has updated the Prestashop version to 1.7.7.1 the override has stopped working. The controller AdminOrdersController in the new version no longer exists. Where I have to create this override to restart working?

In Prestashop 1.7 you would have to do like described here, Prestashop devdocs
Note that overrides are not recommended, like you recently discovered, the preferred ways are extending or decorating.

Related

Prestashop backoffice css error

While migrating a multistore prestashop to a new domain.The prestashop front-office is working fine but back-office is getting css error. I attached my image link.
Link: https://s21.postimg.org/88hjk9m07/prestashop_1_5_back_office.png
Try to empty your browser cache completly or change browser.
You should empty Prestashop cache too at menu Preferences -> Performance.
Good luck.
It might be the issue of a wrong domain name in PrestaShop database. Ensure that in ps_shop_url database table, physical_URI value has a trailing slash.

Overriding teplates in FOSUserBundle

I need to override default profile show templaets. I copy directory from FOS bundle to my UserBundle, but i didnt see any results? What i am doing wrong?
That's now how template overriding works. You need to copy them into your app/Resources/ directory. This means to override templates from FOSUserBundle you'd copy them to app/Resources/FOSUserBundle/view/[template].html.twig and then customize as needed

Django Admin searching for strange CSS

I'm running django 1.5.1 with python 2.7. When I try to open the admin page, it cannot load the css because it's searching for files with names like 'base.c8269a10a4bc.css' (the css I'd normally expect with admin is accessible). Apart from this, the admin seems to be ok.
I'm also using pipeline and memcached if that helps.

No body class in Wordpress on specific server

I have the strangest problem, I get no body classes on different Wordpress sites on a specific server. When I'm developing the site (http://parka-jassen.nl) local on my Xampp installation, all is well. But when I upload it to my web server i get no body class (just have ).
The same problem also occurs with other Wordpress sites on the same server, so I figure this must be a server problem. I'm using CentOS 6.5 with Plesk 11.5.30, Apache 2.2.15, nginx 1.5.0, PHP 5.3.3 and MySQL 5.1.71.
WordPress adds body classes with the body_class function. But also when I manual enter a body class (for example I set in the code) then I still get an empty class displayed in the code.
To be certain I tried different themes and deactivated all my plugins, but nothing offered a solution. Is there anyone with an idea what this could be?
Thank you very much in advance!
Jeroen

Joomla 3.2 not working with template

I have a joomla 3.2 site. Templates like eclipse,business,smartone are not working with my joomla site. Only 'home' shown, other menus are not shown in my page but default template works nice but i need to work with good template. Please help me!!
Templates are managed by Joomla! in the same way as any other extension. But sometimes you may occasionally run into a situation where you cannot install a template in your Joomla 2.5 site with Upload Package File in the Extension Manager. And again and again you see this same message that the system could not find xml setup file (“JInstaller: :Install: Cannot find XML setup file“). You have to use alternative template installation methods, for example, installation via FTP.
you can use use the following link to install it again manually:
https://www.gavick.com/documentation/general-questions/how-to-install-joomla-template-manually/

Resources