Different versions of global module
Aug 23, 2018 10:20 AM
Hi, I have a global module for the navigation bar. Now I want to have 2 different versions of it. It stays basically the same, but Navbar B should have a different Logo and different Links than A. But since besides the content they are identical, I don't want to just copy paste the module. Also a local module is no option, since then the editors need to fill all navbar content every time they create a new page. I only want 2 version of the navbar be available for them.
However, for a global module there can only be 1 version - the same content is used for all templates that use this global module.
How can I do this? I was thinking of making the navbar a local module, and then creating 2 global modules (1 for A, 1 for B), and then just input different content for both global modules. However, if I try to load the local module in the global one, I get this error:
Error:"module" is disabled in this context