alizeeee Posted March 6, 2019 Share Posted March 6, 2019 I bought a Blog module in order to write blog posts directly in Prestashop : https://addons.prestashop.com/fr/blog-forum-actualites/25908-blog.html But I found out that this module forces me to have 3 components in my blog posts URLs like this: blog/post/post-title In the module settings I can choose other words for the first two components (e.g. content/article/post-title) but I can't delete one of the components. I'd like to get rid of one of the components in order to get this scheme: blog/post-title How can I do this without breaking too much the code of the module? Link to comment Share on other sites More sharing options...
Kogkalidis Posted March 7, 2019 Share Posted March 7, 2019 You have to modify hook moduleRoutes in your module main class Link to comment Share on other sites More sharing options...
Prestachio Posted July 5, 2022 Share Posted July 5, 2022 On 3/7/2019 at 3:39 AM, alizeeee said: I bought a Blog module in order to write blog posts directly in Prestashop : https://addons.prestashop.com/fr/blog-forum-actualites/25908-blog.html But I found out that this module forces me to have 3 components in my blog posts URLs like this: blog/post/post-title In the module settings I can choose other words for the first two components (e.g. content/article/post-title) but I can't delete one of the components. I'd like to get rid of one of the components in order to get this scheme: blog/post-title How can I do this without breaking too much the code of the module? Hi, did you got it working and could kindly share your solution? Thx! 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