Commit Graph

317 Commits

Author SHA1 Message Date
Raphaël Valéry 5146b87fa2 Take user groups into account when rendering menu
When a category access is restricted by user group, the category is still displayed in the menu, even if the user is not a member of one of those group. It is described here : https://github.com/PrestaShop/PrestaShop/issues/9924
There has been 2 different corrections that have been proposed on this thread, but none of them has been merged in the module (there is some commits for at least one proposition in the dev branch, but not in master branch).
I think my changes are a bit simpler. I use the "user_groups" property that was already defined in the Ps_MainMenu class, but never initialized.
2019-09-27 01:07:48 +02:00
Thomas Nabord dc5c939063 Uninstall module used on PS 1.6 before using this one 2019-06-14 15:46:58 +02:00
GoT e46a66d28e Merge pull request #20 from PrestaShop/boom-3633
Fix boom-3633
2019-03-29 15:29:30 +01:00
Marion François c9c9826e96 Fix issue when editing category 2019-03-29 15:04:34 +01:00
Marion François 338ead1d79 clear all the cache 2019-03-28 16:52:40 +01:00
Thomas Nabord 8b37cd1574 Improve code readability 2019-03-12 10:40:14 +00:00
Pablo Borowicz f609303dcf Merge pull request #22 from PrestaShop/fix-many-categories
Only compute once file list from the category image directory
2018-12-20 14:02:26 +01:00
jocelyn fournier 48e6f99fa1 only compute once file list from the category image directory 2018-11-18 19:58:41 +01:00
Marion François e1eb367610 Fix boom-3633 2018-10-18 11:25:46 +02:00
Pablo Borowicz 6bc5ddd52c // Update version to v2.1.1 2018-06-05 14:09:19 +02:00
Thomas N 8841ad6985 Merge pull request #15 from MatthieuMota/patch-1
Remove separator const from getCacheDirectory
2018-04-30 09:07:34 +01:00
Matthieu Mota 4827b10482 Remove separator const from getCacheDirectory 2018-04-29 08:36:11 +02:00
Aurélien Pelletier 4a16eeb69d Update version to 2.1.0 2018-02-05 22:56:20 +01:00
Aurélien Pelletier 8d71c43215 Update licence identifier to be compatible with packagist 2018-02-05 22:56:17 +01:00
Aurélien Pelletier 6798338993 Merge pull request #13 from emmanuelf75009/dev
update new menu
2018-02-05 22:55:33 +01:00
Aurélien Pelletier cd4d9a214b Merge pull request #12 from kokspflanze/patch-1
Ps_MenuTopLinks::update number of params mistake
2018-02-05 22:52:07 +01:00
unknown 4ae64db2da update new menu 2018-02-05 15:05:06 +01:00
KoKsPfLaNzE ed4fa36b43 fix Ps_MenuTopLinks::update call, 6 parameter given, but signature has 5 params 2017-10-17 00:36:45 +02:00
Maxime Biloé f652785fa0 // Version updated to v2.0.2 2017-02-14 09:11:36 +01:00
Maxime Biloé 9a69115b97 Merge pull request #9 from AntoineMille/BOOM-290
Fix url insert on the top menu
2017-02-10 09:35:07 +01:00
Antoine Mille 3a0499a46f BO: Add placeholder on the link input 2017-02-03 11:15:33 +01:00
Antoine Mille 0ce21ed09e MO: change www to http 2017-02-03 11:13:48 +01:00
Antoine Mille 9d67b88d47 MO: Fix url insert 2017-02-03 11:13:48 +01:00
Alex Sampaio 5a1fb3fb8c // Version updated to v2.0.1 2017-02-01 17:40:15 +01:00
Alex Sampaio 728efa670d BO: Domain wording 2017-02-01 17:20:25 +01:00
Maxime Biloé eacadcde40 // Version updated to v2.0.0 2017-02-01 14:24:07 +01:00
Alex Sampaio 19734b4619 Merge pull request #8 from antoin-m/fix/domain-name
Add translation domain
2017-01-30 18:19:36 +01:00
Michel ANTOINE 889d0f692a 🎉 add translation domain 2017-01-30 17:49:22 +01:00
Maxime Biloé 0aef3b90dd // Version updated to v1.0.6 2017-01-06 15:03:15 +01:00
Maxime Biloé affe566c15 CO: Do not load hoverIntent, it's not used anymore 2017-01-06 14:58:27 +01:00
Maxime Biloé 8d9cd84cca // Version updated to v1.0.5 2016-12-21 14:46:37 +01:00
Maxime Biloé f93af2e145 Merge pull request #7 from antoin-m/master
Fix ids of custom links
2016-12-13 17:24:46 +01:00
Michel ANTOINE 29c2ad2626 FO: Fix ids of custom links 2016-11-15 10:54:19 +01:00
Maxime Biloé 383b51ef89 // Version updated to v1.0.4 2016-11-04 10:17:33 +01:00
Alex Sampaio 28dbdf3e4f CO: delete upgrade folder 2016-11-03 14:44:26 +01:00
Maxime Biloé e2fec6d682 // Version updated to v1.0.3 2016-10-19 14:16:56 +02:00
Maxime Biloé 840dfc69ae Merge pull request #6 from jocel1/hotfix-rename_menutoplinks
Rename menutoplinks class to avoid conflict with older version of the module
2016-10-19 14:15:04 +02:00
joce 72581b162b rename menutoplinks class to avoid conflict with older version of the module 2016-10-19 14:08:51 +02:00
Maxime Biloé 09b1a0235a // Version updated to v1.0.2 2016-09-30 14:31:33 +02:00
Maxime Biloé d5a3e3d1df CO: Logo update 2016-09-29 13:56:48 +02:00
Maxime Biloé dd0c686a3e Merge pull request #5 from PrestaShop/fix/better-template-call
Call templates with nice fetch method
2016-09-29 09:39:01 +02:00
Julien Bourdeau 95a735c1f9 FO: Call template with nice fetch method 2016-09-26 18:49:55 +02:00
Maxime Biloé fa648ec9ed // Version updated to v1.0.1 2016-09-08 15:44:14 +02:00
Maxime Biloé 571b0eec96 CO: Update min compliancy 2016-09-08 14:39:03 +02:00
Mickaël Andrieu 7ad22f7bf0 Merge pull request #3 from maximebiloe/register-hook
Register hook on install
2016-09-02 10:42:58 +02:00
Maxime Biloé c65c920078 CO: Register hook on install 2016-09-01 14:28:33 +02:00
Mickaël Andrieu 2c0bff85c4 Merge pull request #1 from PrestaShop/fix/double-escape-for-urls
Do not escape link since tpl is escaped
2016-08-04 15:55:56 +02:00
Julien Bourdeau 41ad5bf998 Do not escape link since tpl is escaped 2016-08-02 12:04:05 +02:00
Julien Bourdeau d8fc4b2486 [+] 🎉 Introducing Main menu v1.0.0 2016-03-07 12:20:49 +01:00
Julien Bourdeau f95668cabf // Remove 'Business' from namespace 2016-01-18 14:56:19 +01:00