Quick and Easy NamingĪs we mentioned earlier, you can name and rename positions on the fly, making it easy to migrate existing modules without having to individually reassign them to specific positions. This enables you to have one or two positions where you need them, without the need to have positions in places you don’t want them. You could have 0, 1, 5, 10, or even 20 individual module positions in the Header section if you wanted to. Gantry5 enables you to create a virtually unlimited number of individual positions in each row, with as few or as many rows per section as you need. In Gantry4, we were able to add up to six modules in each row. If you want your main Showcase modules to appear under the features modules, you can move them without having to edit a single file. Moving positions around the layout is also just a matter of dragging and dropping them where you want them to go. The position will still show in the frontend but it won't be rendered, so if you would like to re-enable it later on, you can do so. If you want to disable a position temporarily (which hides its assigned modules), you can do so by clicking the settings cogwheel on the right-hand side of the position in Layout Manager and toggling the green activation switch in the upper-right area of the Particle settings tab. If you change your mind, just click the Back arrow in the History tool to bring it back. Just drag-and-drop the position to the top of the Layout Manager to a section that appears with the label Drop Here to Delete. That way, you can keep your existing modules without having to reassign them one-by-one.ĭeleting a position is just as easy as creating one. If you are migrating from an existing template, and you have modules that have already been assigned to positions that use the naming convention of the previous template, you can simply rekey your positions to match. At this point, you need but to rename the position Key which is the text reference you would assign modules to in order to have them appear in the position. If you want to add a new module position to a page, you simply need to drag-and-drop the Module Position Particle and move it where you would like the new position to appear. In Gantry5, we have dramatically improved the way positions are created, removed, and arranged. In this article, we’ll take a brief look at how Gantry5 makes it easier to migrate your site between templates. In addition, you can easily create vastly different positions setups between Configurations, enabling you to have an entirely different positions set and layout from one page to the next. This is also easier than going through the modules and reassigning them to the new positions scheme one-by-one.
Now, instead of breaking out your text editor to rename and/or create module positions, you can do so with a few clicks of the mouse.
In these cases, you would typically have to add the positions manually, in the templateDetails.xml and index.php files.Įnter Gantry5, our coming version of the powerful Gantry Framework, and a completely reimagined positions system. This can be a real chore, especially since your new template likely doesn’t have pre-existing support for the positions you need. One of the most difficult and time-consuming tasks associated with migrating your Joomla site from one template to another is having to reassign all of your modules from one position naming scheme to another.