Easy

Permalink 1 user found helpful
Thanks. Nice tutorial. Great spirit about the whole thing. Appreciate it.

For those still groping with the system, another read that is near to this issue:http://www.concrete5.org/documentation/general-topics/page-properti...

(Once you get it, you'll never go back.)

Ricalsin
 
joelhansen replied on at Permalink Reply
joelhansen
I agree! Very concise yet clear.
I simply duplicated default, renamed it, added it under Themes and Pages, and started adjusting the CSS.

A minor question, as I got my desired effect but possibly by cheating, could you look at my php?

I made an "Upcoming Events" style page, with 2 separate editable columns in place of the one in my design's default.php. I duplicated...
<div id="content-events">
   <? $a = new Area('Main'); $a->display($c); ?>
</div>

and renamed one a new variable. It works, but I don't totally get what the $c variable is, let alone why I shouldn't change it...
Newly duplicated is:
<div id="content-events">
   <? $a = new Area('Right Event'); $a->display($c); ?>
</div>
<div id="content-events">
   <? $b = new Area('Left Event'); $b->display($c); ?>
</div>


Thanks for the advice and again for the process overview.

Joel
Mnkras replied on at Permalink Reply
Mnkras
$c is the collection object, you don't need to change it :)

but you should either change one of the id's names or make them both classes, cause that is not valid html

Mike
joelhansen replied on at Permalink Reply
joelhansen
Hahaha! Yeah - caught that right after I posted here... :P
Thanks!

Joel