static html to concrete theme with editing capabilities

Permalink
okay so i have managed to get to step 11 but am stuck on step 12.

here is the link that i have been using
https://documentation.concrete5.org/developers/designing-for-concret...

i cant seem to find where the header and footer links are to be placed within my code.
i already have a header within my static html and dont want to lose that on my live page, but would like the administrative header options that concrete offers

please help

View Replies:
Steevb replied on at Permalink Reply
Steevb
Header.php could be:
<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<!DOCTYPE html>
<html lang="<?php echo Localization::activeLanguage()?>">
<head>
<meta name="viewport" content="width=device-width,initial-scale=1, maximum-scale=1"> <!--Needed for mobile-->
<?php echo $html->css($view->getStylesheet(’style.less'))?>
<!--Anything else you might need in the head, but not title or meta tags C5 adds them-->
<?php  View::element('header_required'); ?> <!--Needed for C5 stuff-->
</head>
<body>
<div class="<?php echo $c->getPageWrapperClass()?>">
<!--Page template  stuff-->



Footer.php could be:
<?php  defined('C5_EXECUTE') or die("Access Denied."); ?>
<footer>
<--Your footer template  stuff-->
</footer>
</div> <!--Closes PageWrapperClass-->
<?php View::element('footer_required'); ?> <!--Needed for C5 stuff-->
</body>
</html>


Note: We use ‘View::element’ now, not ‘Loader’

Hope that makes sense.
leilajade replied on at Permalink Reply
:( still lost
am i able to upload my code and get directions
rge replied on at Permalink Reply
Put your code in a post like Steevb did.
stewblack23 replied on at Permalink Reply
stewblack23
Upload your code using the [code] tag and we should be able to get you in the right track.