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

orange73
 
ijessup replied on at Permalink Reply
ijessup
You can statically code a block into a template file, or buy the Randomizer package.

http://www.concrete5.org/marketplace/addons/randomizer/...
orange73 replied on at Permalink Reply
orange73
Ok. thanks

But what are the codes for static blocks ?
frz replied on at Permalink Reply
frz
look at how we dealt with the site name in the plain yogurt theme in 5.3.3.1
da4kinov replied on at Permalink Reply
Did you solve your problem?
orange73 replied on at Permalink Reply
orange73
Yes :-)
TheRealSean replied on at Permalink Reply
TheRealSean
any chance you could elaborate please :)

how did you solve it
orange73 replied on at Permalink Reply
orange73
I have used scrapbook image block and add this in my template :

$b = Block::getByName('my_block_name');
$b->display();
da4kinov replied on at Permalink Reply
I'm totally confused?!
orange73 replied on at Permalink Reply
orange73
About ?
da4kinov replied on at Permalink Reply 3 Attachments
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
12345j replied on at Permalink Reply 1 Attachment
12345j
here
da4kinov replied on at Permalink Reply 1 Attachment
I tried but ;(
orange73 replied on at Permalink Reply
orange73
By adding this code you have make an editable area :

<?php
$a = new Area('Header');
$a->display($c);
?>