I have been solving a few days of page layout modification by adding another block with positions.
I found two tutorial videos for T3 Framework editing, but they only helped partially.
I created another NEW-SPOTLIGHT in which I have 4 positions. If I direct the custom modules to the NEW-SPOTLIGHT itself, the custom modules will be displayed.
But this is not clean and I need to adjust the size as well, so when I direct the custom modules to the individual positions, nothing is displayed.
Would it be possible to post an example here of how to solve this, including the codes and paths where to place them? The tutorial videos are already outdated and in some things are not identical to current practices or it's template differences.
I'm sure this could help others as well.
I have edited the following files:
templates/ja_teline_v/templateDetails.xml
- here I added <position>new-spotlight</position> - the assigned custom module was displayed on the site
- I also tried to add new positions n-position-1, n-position-2, n-position-3, n-position-4,....when I then assigned modules to them in the template layout, nothing appeared. I also tried to put position-9, position-10, position-11, position-12 and nothing.
templates/ja_teline_v/tpls/default.php
<?php $this->loadBlock('new-spotlight') ?>
- placed between mainav and spotlight-1
templates/ja_teline_v/tpls/blocks/new-spotlight.php
- I copied spotlight-1 and changed its name to 'new-spotlight'
- I tried the positions first with a custom name and then with the positions 'position-9, position-10, position-11, position-12'
- neither of them resulted in the assigned custom module being displayed on the web
templates/ja_teline_v/tpls/blocks/mainbody-full.php
- added code for NEW-SPOTLIGHT BLOCK
templates/ja_teline_v/etc/layout/default.ini
- here are the blocks [block1@new-spotlight] etc.