luismartin Posted November 21, 2013 Share Posted November 21, 2013 I've been following the tutorial on how to create a Prestashop module, described here: http://doc.prestashop.com/display/PS14/Creating+a+PrestaShop+module The first part, the custom frontend module and its translation has been a breeze. The example couldn't be simpler though. The problem has come in the second part: the creation of a module tab in the Admin. Prestashop people: isn't that a terrible tutorial? Nothing explained about the code in this part. You don't even clearly explain what to do and where. It doesn't seem to be related to the previous example module. An 'employee' tab, where? The one in Administration section? Nothing there after adding the new code. And the code.... worst coding practices at their best: echoing a lot of HTML inside PHP. That's awful! That's one of the things that gave PHP a bad reputation. Please, I'd recommend you to try to separate HTML from PHP in every part of the application, and not teach bad PHP practices to the developers. Now, even though I've overtalked a little, will someone explain me or point me to a better explanation of this "module tab" creation part? I would really appreciated it. Link to comment Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now