Add fixed area
Permalink 1 user found helpful
Hi,
Actually, i add "new Area();" in my templates to define area whixh can be editable...
I would like to know how i can add a defined area ?
Example : i need to add Area which will be the same all the time (image) at the same position...
Can i use a code like for example "new Image();" ?
Thanks
Actually, i add "new Area();" in my templates to define area whixh can be editable...
I would like to know how i can add a defined area ?
Example : i need to add Area which will be the same all the time (image) at the same position...
Can i use a code like for example "new Image();" ?
Thanks
Ok. thanks
But what are the codes for static blocks ?
But what are the codes for static blocks ?
look at how we dealt with the site name in the plain yogurt theme in 5.3.3.1
Did you solve your problem?
Yes :-)
any chance you could elaborate please :)
how did you solve it
how did you solve it
I have used scrapbook image block and add this in my template :
$b = Block::getByName('my_block_name');
$b->display();
$b = Block::getByName('my_block_name');
$b->display();
I'm totally confused?!
About ?
I'd like to do something like this (see the attached files)
I tried adding this code but no result, can you help me it's urgently
I tried adding this code but no result, can you help me it's urgently
here
I tried but ;(
By adding this code you have make an editable area :
<?php
$a = new Area('Header');
$a->display($c);
?>
<?php
$a = new Area('Header');
$a->display($c);
?>
http://www.concrete5.org/marketplace/addons/randomizer/...