New Pro + Launch: pick a template and our developers set up your site in 2 business days.
See how it works
Answered Templates

T4: add a new module position above the footer

I need a full-width strip with a newsletter module just above the footer on every page. There is no position there. Do I have to edit templateDetails.xml?
Product
PX University 1.0.0
Joomla
6.x
0
Votes
Undo
Manhta ThePixel team 3 days ago · #113
You do it in the layout, not in templateDetails.xml: 1. Template style → Layout tab → open the layout the page uses (usually "default"). 2. Add a row above the footer section, and in it a column of type Positions. Give it a new name, e.g. pre-footer. 3. Save. T4 writes the layout to templates//local/etc/layout/default.json – so it survives updates like custom.css. 4. In the module, type pre-footer into the Position field (it accepts a name that isn't in the list) and assign the menu items. If the strip should only show on some pages, copy the layout, make a second template style that uses the copy, and assign that style to those menu items.
No replies yet. Our developers answer questions here, Monday to Friday.

Log in to reply or follow this question

Free accounts ask in Community. Pro members ask our developers in Templates and Extensions.

Log in Sign up free
Cron Job Starts