Converting HTML to Concrete5

Permalink
I am a total newbie, and found a great video tutorial online about how to convert an HTML theme to C5. However, the series just seemed to get lost and I can't find where I left off. Can someone point me in the right direction, so I can watch this series from start to finish? It's really hard missing a step and trying to catch up when I can't find a big chunk of the tutorial. I really need to be able to watch them in order!

Hope my question makes sense.

Thank you!

ssailer
 
Gondwana replied on at Permalink Reply
Gondwana
I actually thought that that clip was self-contained, but my memory could be failing.

I think all the official c5 videos are in the official c5 youtube collection:https://www.youtube.com/user/concrete5cms/videos...
tallacman replied on at Permalink Reply
tallacman
leave all the html in place.
replace all content with:
<?php 
  $a = new Area('Main');
  $a->display($c);
?>


change the area name shown above as Main to a unique word. Spaces ok.
tallacman replied on at Permalink Reply
tallacman
in your footer, before the </body> tag put this:

<?php View::element('footer_required') ?>
tallacman replied on at Permalink Reply
tallacman
just after your <head> tag put this

<?php        View::element('header_required'); ?>


name your html file "default.php"

and you are done.
tallacman replied on at Permalink Best Answer Reply
tallacman
There are other things you can do but that's really all you NEED.
ssailer replied on at Permalink Reply
ssailer
I'm up to Episode 5 of the training videos, and guess what ... My admin area is gone! I opened up the site in a browser today to continue where I left off yesterday, and there's no option for the dashboard, editing, or anything else on my local site! How do I get it back? Help!?!
jasteele12 replied on at Permalink Reply
jasteele12
You can always get to your Dashboard: http://yoursite.com/index.php/dashboard/...

That's assuming you're logged in: http://yoursite.com/index.php/login/...

Sounds like you missed the header_required above (which adds room for the Edit Toolbar at the top.

Or your theme could possibly be overriding that, absolutely positioned, etc.

Normally it's best if you can post a URL to your site - @tallacman is a wiz at theming.
ssailer replied on at Permalink Reply
ssailer
Yes ... that did it. :) Newbie questions ... I will have a lot of them, I'm sure. :)
jasteele12 replied on at Permalink Reply
jasteele12
Except for the major PITA = autonav ;)
ssailer replied on at Permalink Reply
ssailer
I had the header and footer ... I just didn't know where to go to log in! :)