Block code

Permalink
I'm a newbie coming from joomla, so please don't hit me when i ask something stupid ;-) .

when you define a editable area you start with:
$a = new Area

in other templates is see

$as = new Area or
$ab = new Area or
$b = new Area
and other combination.

What's the logic within this piece off code. Am i allowed to use any character i wish or is there a list with combo's to use and not to use.

Couldn't find the explanation anywhere and hope to find it here.

dennisbril
 
Steevb replied on at Permalink Best Answer Reply
Steevb
Hi,

It shouldn't matter what you put as it is only a reference to an array, I think.

I only use $a = New Area, I think certain designers like to put their own twist on things.

Some might $as = SideBar or $ah = Header, etc.

Welcome to wonderful world of C5.

Hope that helped
dennisbril replied on at Permalink Reply
dennisbril
Thnx for the quick and clear answer!
Steevb replied on at Permalink Reply
Steevb
Hi,

Could you mark my answer as useful, other people might need it.

Good luck with your projects using C5, you made a smart move.