coeos.pro 615 Posted September 13, 2015 Posted September 13, 2015 You don't know what module come a piece on your shop? This module will tell you, and give you a number of information modules: - name of the hook - name of the module - name of the tpl file and the file that calls it -JS and CSS files with a link for each file path Hover over "H-M" to have information on the hook and the modules that are grafted, you must click on "Modules..." to display the list of modules, without this modules would be always displayed and formatting would not be usable. Your shop is in prod and you obviously do not want to display this information to all your customers? No worries, the information will be displayed only for the concerned IP addresses. DOWNLOAD the last version : https://www.coeos.pro/en/modules-prestashop/116-what-is-this-module-what-is-this-hook.html Version 1.2.7 : Version 1.0.0: v.1.0.0.whatisthismodule.zip Version 1.1.0: v.1.1.0.whatisthismodule.zip Displays information about the TPL (template and file) to find files even faster Version 1.1.1 : v.1.1.1.whatisthismodule.zip add * for select all address IP Version 1.2.2 : v.1.2.2.whatisthismodule.zip Display CSS and JS files for each module with a link to these files (in a new tab) Version 1.2.3. : v.1.2.3.whatisthismodule.zip you can choose to open the block H-M click or hover Version 1.2.5 : v.1.2.5.whatisthismodule.zip displaying the full url of templates Version 1.2.6 : v.1.2.6.whatisthismodule.zip modification of CSS for display "+", this "+" will not be displayed with the themes that have not bootstrap) Version 1.2.7 : v.1.2.7.whatisthismodule.zip possibility to disable the module for the back office, it avoids making navigation impossible in the back office, option to open all blocks: enables faster searching of a module in particular. Version 1.3.0 : v.1.3.0.whatisthismodule.zip - Tested on 1.5, 1.6 and 1.7 - Option to show and hide all the information by pressing the key ², this new option allows you to surf on its site without being disturb by colored blocks info changing the positions of the blocks. Version 1.3.1 : v.1.3.1.whatisthismodule.zip - the key ² was not recognized on firefox, problem corrected Version 1.4.1 for prestashop 1.7 : v.1.4.1.whatisthismodule.zip 10 1 Share this post Link to post Share on other sites
razaro 579 Posted September 13, 2015 Posted September 13, 2015 This is great module, it should be of big help to lot of people that are starting with PrestaShop but also to those who install new themes with lot of modules. Think this should be default module :-) Thanks for sharing, and great idea. Bravo. 2 Share this post Link to post Share on other sites
Paulito 610 Posted September 13, 2015 Posted September 13, 2015 Helllo What a really good idea, will save a lot of time Thank you Paul 1 Share this post Link to post Share on other sites
coeos.pro 615 Posted October 1, 2015 Posted October 1, 2015 small update (v1.2.1) module, you can display url of CSS and JS file and you must click "Module..." to display the list of modules with their CSS and JS file (see video) Share this post Link to post Share on other sites
coeos.pro 615 Posted October 5, 2015 Posted October 5, 2015 Update 1.2.3 : you can choose to open the block H-M by click or hover Share this post Link to post Share on other sites
Denkud 2 Posted November 14, 2015 Posted November 14, 2015 The module is helpful to me l love this thanks 1 Share this post Link to post Share on other sites
dosbiner 121 Posted November 14, 2015 Posted November 14, 2015 Wow great module, thank you, this is life saver (y) 1 Share this post Link to post Share on other sites
coeos.pro 615 Posted December 11, 2015 Posted December 11, 2015 Update 1.2.5: URLs templates are displayed in full: Share this post Link to post Share on other sites
Daviant 21 Posted December 24, 2015 Posted December 24, 2015 Cheers;Thank you very much for this module. I'm trying and I think it can help a lot.I installed it on Prestashop 1.6.0.6, and it works something other than what you see in the demo video.In my case the CSS route is not open, only the path of php tpl files and templates.It will be a configuration problem installing prestashop module or incompatibility?(Google translator) Share this post Link to post Share on other sites
coeos.pro 615 Posted December 26, 2015 Posted December 26, 2015 Hi, have you check the 2 options in the configuration of the module ? Share this post Link to post Share on other sites
Daviant 21 Posted December 26, 2015 Posted December 26, 2015 Cheers;The settings are as you indicate, but not the information I get css.Google translator Share this post Link to post Share on other sites
coeos.pro 615 Posted December 30, 2015 Posted December 30, 2015 Update 1.2.6 for display "+" for themes without bootstrap (prestashop 1.5) Share this post Link to post Share on other sites
coeos.pro 615 Posted February 1, 2016 Posted February 1, 2016 update 1.2.7 : possibility to disable the module for the back office, it avoids making navigation impossible in the back office; option to open all blocks: enables faster searching of a module in particular. Share this post Link to post Share on other sites
coeos.pro 615 Posted July 8, 2016 Posted July 8, 2016 Update 1.3.0 : - Tested on 1.5, 1.6 and 1.7 - Option to show and hide all the information by pressing the key ², this allows to navigate a site without hinder by information blocks Share this post Link to post Share on other sites
coeos.pro 615 Posted July 9, 2016 Posted July 9, 2016 update 1.3.1 : - the key ² was not recognized on firefox, problem corrected Share this post Link to post Share on other sites
Rhobur 139 Posted July 9, 2016 Posted July 9, 2016 Very useful module. Thank you for sharing! 1 Share this post Link to post Share on other sites
askinjew 122 Posted July 9, 2016 Posted July 9, 2016 Perfect nice modül and nice work. Thanks alot for this modül. Have nice work and days. 1 Share this post Link to post Share on other sites
coeos.pro 615 Posted July 11, 2016 Posted July 11, 2016 Thank you If you have ideas for the next updates, do not hesitate! Share this post Link to post Share on other sites
qroft 3 Posted May 26, 2017 Posted May 26, 2017 The module sounded too good to be true for my system I downloaded the zip and installed it via the 1.7 backend. Now my whole site - backend and frontend - does not work anymore and i get a hook error. ContextErrorException in Hook.php line 0: Warning: Declaration of Hook::exec($hook_name, $hook_args = Array, $id_module = NULL, $array_return = false, $check_exceptions = true, $use_push = false, $id_shop = NULL) should be compatible with HookCore::exec($hook_name, $hook_args = Array, $id_module = NULL, $array_return = false, $check_exceptions = true, $use_push = false, $id_shop = NULL, $chain = false) Can anyone confirm if this module works for 1.7 ? Though, thanks for the module, i think it is a very nice feature for noobs like me who just started to work with prestashop! 1 Share this post Link to post Share on other sites
coeos.pro 615 Posted May 26, 2017 Posted May 26, 2017 On the first version of 1.7 it worked, can you uninstall, remove the mdodule and test this version 1.4.0? v.1.4.0.whatisthismodule.zip 1 Share this post Link to post Share on other sites
qroft 3 Posted May 26, 2017 Posted May 26, 2017 (edited) Thanks a lot for your support! I will test out 1.4.0 in a second, but before i would like to enter in here my solution on how to remove the modul manually, just in case someone else encounters the same problem. What i did: 1. I installed module whatisthismodule in version 1.3.1 on Prestashop 1.7.1. (!) by uploading the ZIP 2. After the upload, frontend AND the backend did not work anymore showing the above error. My shop did not work anymore, neither was i able to enter my admin backend to deactivate or remove the module My solution workflow: 1. Delete the whatisthismodule module folder via FTP 2. Check your database with phpmyadmin or similiar 3. Find your table psXXX_module (XXX is your own definied table prefix) 4. Find the whatisthismodule modul and write down the ID of the module 5. Go through ALL module tables and find the rows with the ID mentioned in point 4 CAUTION WITH THE NEXT STEP! 6. In your FTP go into root -> override -> classes and delete the Hook.php file I am absolutely new to Prestashop and so i do not know if i am doing this correctly. Do it at your own risk! I also do not know where the Hook.php comes from, i suggest it is installed by the module but i am not sure. All i can say is that after this, the page front and backend did work again. Please bare with me if any step is incorrect, but at least this is what worked for me. [uPDATE] To install the 1.4.0 version of whatisthismodule you also have to remove the entry psXXX_authorization_role connected to the module, otherwise you will get this error: Duplicate entry 'ROLE_MOD_MODULE_WHATISTHISMODULE_CREATE' for key 'slug' Edited May 26, 2017 by qroft (see edit history) Share this post Link to post Share on other sites
qroft 3 Posted May 26, 2017 Posted May 26, 2017 I want to confirm that installation with 1.4.x works perfect under Prestashop 1.7.1. Now i only have to find out how to find out to activate this The problem is that i started a template based on the starter-theme in 1.7. and it could be that i have delete something like a hook or a class that the whatisthismodule needs to be shown on the frontend. So far, thanks a lot for your support and wish you a great weekend! Share this post Link to post Share on other sites
qroft 3 Posted May 26, 2017 Posted May 26, 2017 Bad News (module v.1.4.0. and Prestashop 1.7.1) The reason why i have not seen the position was, that the module was not enabled But unfortunately as soon as i enable the module, these errors appears: At the backend: MethodNotAllowedHttpException in classes.php line 2110: No route found for "GET /module/manage/action/enable/whatisthismodule": Method Not Allowed (Allow: POST) At the frontend: ContextErrorException in FrontController.php line 913: Warning: Cannot modify header information - headers already sent by (output started at prestashop/override/classes/Hook.php:0) I again tried to simply deactivate the module via phpmyadmin in the modules table by changing from '1' to '0' but the errors stay. So once again i make the steps from my prior post. Thanks and greetings! Share this post Link to post Share on other sites
coeos.pro 615 Posted May 26, 2017 Posted May 26, 2017 Sorry for the inconvenience, actually on the old version 1.7 (like 1.7.0.6) the hook function was: public static function exec($hook_name, $hook_args = array(), $id_module = null, $array_return = false, $check_exceptions = true, $use_push = false, $id_shop = null) While the most recent versions are: public static function exec($hook_name, $hook_args = array(), $id_module = null, $array_return = false, $check_exceptions = true, $use_push = false, $id_shop = null, $chain = false) I test this version on 1.7.1.0 with the option "with the touch ²" and it's ok for me : v.1.4.1.whatisthismodule.zip 1 Share this post Link to post Share on other sites
rnervi 2 Posted February 19, 2019 Posted February 19, 2019 under 1.7.4.2 not working.... any update ? Share this post Link to post Share on other sites
Amorino 1 Posted December 11, 2019 Posted December 11, 2019 Hello Does it work with 1.7.6 ? Thanks Share this post Link to post Share on other sites
grze11 0 Posted December 17, 2020 Posted December 17, 2020 I tested it, it doesn't work, it crashes the entire website prestashop 1.7.7.0 and 1.7.5.1 Share this post Link to post Share on other sites
coeos.pro 615 Posted December 17, 2020 Posted December 17, 2020 test the last version : https://www.coeos.pro/fr/modules-prestashop/116-quel-est-ce-module-quel-est-ce-hook.html Share this post Link to post Share on other sites
RogerOG 1 Posted March 18 Posted March 18 Good morning everyone It worked perfect in Prestashop 1.7.7.2, thank you very much !! 1 Share this post Link to post Share on other sites
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