The Focus Fusion Society › Forums › Netcentric Website and Tech Support › Home Page Essentials › Reply To: Fantastic news.
Just so you realize how simple it is with expression engine, here is the code for the ffs-12-09 page attached previous post. All I do for each “bit” is have a separate include for it, and that would have the tags on it for sticking it into the page :
{assign_variable:my_weblog="catblog|news|faqs|books|quotes"}
{assign_variable:my_template_group="site"}
{assign_variable:gallery_name="gallery"}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset={charset}" />
<title>{exp:weblog:category_heading }{category_name}{/exp:weblog:category_heading}</title>
<meta name="description" content={exp:weblog:category_heading}"{meta}"{/exp:weblog:category_heading} />
{embed=bits/icon}
<link rel='stylesheet' type='text/css' media='all' href='{stylesheet=styles/ffs}' />
<style type='text/css' media='screen'>@import "{stylesheet=styles/ffs}";</style>
[removed][removed]
<link rel="alternate" type="application/rss+xml" title="RSS" href="{path={my_template_group}/rss_2.0}" />
<link rel="alternate" type="application/atom+xml" title="Atom" href="{path={my_template_group}/atom}" />
</head>
<body>
<div class="container">
<!--HEADER-->
{embed=bits/mast}
{embed=bits/nav}
<!-- END HEADER -->
<!--MAIN CONTENT-->
<div id="main">
<div class="colFifth">
{embed=bits/books}
</div> <!--end colFifth -->
<div class="colThreeFifth" >
<div class="content">
<!-- For content, there would be a series of conditional statements like so -->
{if segment_3=="lpp_experiment"} {embed=cat/lpp_experiment}{/if}
{if segment_3=="aneutronic"} {embed=cat/aneutronic}{/if}
{if segment_3=="environment"} {embed=cat/environment}{/if}
{if segment_3=="fusion_race"} {embed=cat/fusion_race}{/if}
<!-- you get the idea -->
</div> <!--end content -->
</div> <!-- end colThreeFifth -->
<div class="colFifthMin">
{embed=bits/fund}
{embed=bits/twitter}
{embed=bits/register}
</div> <!-- end colFifthMin -->
</div> <!-- end of main div -->
<br class="clearBoth"/> <!--because of floating columns -->
<!--END OF MAIN CONTENT-->
{embed=bits/footer}
</div><!--end containter-->
<!-- deleted ten lines of google analytics script here -->
</body>
</html>
So…by all means, give it to me as css and html. The css would go into, say “styles/footer” and the html into “bits/footer”, and they’d be called in with the embeds.