Created
August 10, 2012 11:56
-
-
Save electricputty/3313789 to your computer and use it in GitHub Desktop.
Basic editorial template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{sp_header} | |
{exp:channel:entries channel="editorial" disable="categories|category_fields|member_data|pagination" limit="1"} | |
<div id="bodyContent"> | |
<h1>{title}</h1> | |
{cf_editorial_body} | |
{sp_page_actions} | |
</div> | |
{sp_subnav} | |
{related_entries id="cf_editorial_fbox"} | |
<div id="additionalContent"> | |
<h2><span><a href="{cf_fbox_url}">{title}</a></span></h2> | |
<a href="{cf_fbox_url}">{exp:ce_img:single src="{cf_fbox_img}" width="160" height="90" crop="yes" alt="{title}"}</a> | |
<p>{if cf_fbox_type == 'quote'}<img class="quoteleft" src="{site_url}assets/site_images/quote-left.png" alt="left quotation mark" />{/if}{cf_fbox_body}</p> | |
<p><a href="{cf_fbox_url}">{cf_fbox_url_label}</a></p> | |
</div> | |
{/related_entries} | |
{/exp:channel:entries} | |
{sp_footer} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment