One editable area
Permalink
Hi tehere. Im new in Concrete, and i think this is simple question, but i cant fint solution on forum or webste.
First of all sorry for my EN.
I have my webpage coded in pure html and css.
All what i want is just two editable areas (different on each sub-page). Can i somehow do this just by adding:
<?php
$a = new Area('Main Content ');
$a->display($c);
?>
WITHOUT makng whole page as template? (every sub-page is little different)
First of all sorry for my EN.
I have my webpage coded in pure html and css.
All what i want is just two editable areas (different on each sub-page). Can i somehow do this just by adding:
<?php
$a = new Area('Main Content ');
$a->display($c);
?>
WITHOUT makng whole page as template? (every sub-page is little different)
![adajad](/files/avatars/37694.jpg)
You should really read this excellent how-to to understand the workings with themes and templates: http://www.concrete5.org/documentation/how-tos/designers/making-a-t...
Thanks. Its helpfull :)
Anyway i see its more complicated that i think it is.
Tell me if I'm wrong. I understand there is no way to use just single $a = newArea('Someblock')? (like onhttp://www.nuggetz.co.uk/ for example, but i dont want to use nuggetz).
Also i dont want to change my css file like it is wrote on Yours link, and dont want to change navigation AND i dont want to allow change <p> and <h1> style via WYSWIG (<- i saw there is topic about this and i thought this will not be a problem, but after reading Your link im not so sure :))
Anyway i see its more complicated that i think it is.
Tell me if I'm wrong. I understand there is no way to use just single $a = newArea('Someblock')? (like onhttp://www.nuggetz.co.uk/ for example, but i dont want to use nuggetz).
Also i dont want to change my css file like it is wrote on Yours link, and dont want to change navigation AND i dont want to allow change <p> and <h1> style via WYSWIG (<- i saw there is topic about this and i thought this will not be a problem, but after reading Your link im not so sure :))