Jabbergabber Posted September 21, 2017 Share Posted September 21, 2017 Sorry about this insanely abstract question but I am new to all of this.. So If I wanted to re-use a module in 1.7 in the same site how do I go about it? - for example - from the demo theme another banner on the home page or another block of custom text somewhere else Surely each module is not a one time thing per site ? Kind Regards Newbie Link to comment Share on other sites More sharing options...
joseantgv Posted September 22, 2017 Share Posted September 22, 2017 Sorry about this insanely abstract question but I am new to all of this.. So If I wanted to re-use a module in 1.7 in the same site how do I go about it? - for example - from the demo theme another banner on the home page or another block of custom text somewhere else Surely each module is not a one time thing per site ? Kind Regards Newbie Hi! It's not that simple.One way is duplicate the module.There are some tutorials in the internet that could help you. Link to comment Share on other sites More sharing options...
Jabbergabber Posted September 22, 2017 Author Share Posted September 22, 2017 Hi, Modules use hooks, meaning areas they can be visible. If the module you want to use in a certain area has a hook to that spesific area it will be visble. Thanks for replying ndiaga. I understand the hooks concept - its the fact that modules are a one time use per site that has thrown me - but thanks Link to comment Share on other sites More sharing options...
Jabbergabber Posted September 22, 2017 Author Share Posted September 22, 2017 Hi! It's not that simple.One way is duplicate the module.There are some tutorials in the internet that could help you. Hi joseantgv Thanks for taking the time to respond. I am happy with duplicating modules with code - I just wanted to make sure I wasn't missing something in the admin panel that would let me have more than one instance of a module. Does seem odd that you can't but hey - looks good apart from that ! Thanks again Link to comment Share on other sites More sharing options...
joseantgv Posted September 22, 2017 Share Posted September 22, 2017 Hi joseantgv Thanks for taking the time to respond. I am happy with duplicating modules with code - I just wanted to make sure I wasn't missing something in the admin panel that would let me have more than one instance of a module. Does seem odd that you can't but hey - looks good apart from that ! Thanks again It should be developed by the module itself. It could have the possibility to configure 2 banners in the same hook. Jose. 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