I decided to look at modifying Simplex.
I had no problems swapping things around until I decided to add extra content blocks.
For example: {content block="rightside" label="Rightside content"} results in the block appearing in Edit content but not on the page. I had simply removed the news module and placed the content block in it.
The div was there I gave it a different background colour to test this, but not the content.
For the main content a tag seems to be used, defined in the page logic. If I change this for {content}I get a double content error even when it seems to be the only one on the template. I did this to see if the main content block was missing and causing the problem.
Code: Select all
{*$main_content nocache} *}{* content entered in page editor area, variable is assigned on top in template logic, using nocache as variables are cached with Smarty cache on *}
{content block="main" label="main content"}
I solved this by{*{content assign='main_content'}*} in the page logic. I can now use {content label=”main content”} and this block works as it should until I edit the content then it will not save when I click Apply?
Clicking Submit in the content edit page brings up a serever error message?
I tried clearing the cache after making changes.
This is a test and learn installation so it is constantly changing. http://plasmaspot.de/index.php
Simply put, how do I add multiple content blocks to the Simplex template please?
Would be greatfull for some help please.
Dave