Customise C5 package to include white labeling…
Permalink
Hi all,
Apologies if this has already been discussed elsewhere, I'm not too sure of the terminology for what I want to do so wasn't sure what to search for.
Basically, I would like to set up a Concrete5 install package with my white label options and addons that I use on every site so that when I make a new site I don't have to go and do the same white label config and install a bunch of addons that I use everytime.
Is there a way to do that?
Thanks in advance! Al
Apologies if this has already been discussed elsewhere, I'm not too sure of the terminology for what I want to do so wasn't sure what to search for.
Basically, I would like to set up a Concrete5 install package with my white label options and addons that I use on every site so that when I make a new site I don't have to go and do the same white label config and install a bunch of addons that I use everytime.
Is there a way to do that?
Thanks in advance! Al
Thanks nebuleu that looks to be exactly what I need to do! I'll give it a try asap!
AFAIK, the Starting Point package from the core team is broken and there's a lot of cutting and hacking of the XML to make it all work. The link I posted below is a re-worked core package that automatically removes redundant stuff and builds the controller for you.
Great to see at least one more developer interested in startingpoints, which I think is one of the most powerful aspects of C5!
@mhawke I think you're referring to Sample Point Generator. We could debate if that is broken or just lacking features... AFAIK it does exactly what it was designed to do. It's not as convenient as we might like because it exports "all objects in XML" rather than "all objects that are not already installed by C5 base installer". And that's the only real change I made when building Starting Point Generator, is to trim out the objects already installed by C5 base installer.
For our friend here just getting started on this... I don't want them to worry that if they make a valid starting point, C5's core installer starting points package won't work for them. AFAIK it works 100% of the time. If it didn't, you wouldn't be able to install C5 at all.
For anyone reading this in the future... when you make a StartingPoint for C5 you basically have 2 choices. You can build-up or trim-down. The trim-down method is to build a C5 site the way you want it to be, and then export it's content and objects in XML format. Then trim or edit that exported XML to form your content.xml that goes into your custom starting point.
The other option that I'll call the build-up method, is write the XML yourself. This approach probably doesn't make sense most of the time, when the goal is to basically launch a site with content pages. But in some cases, this might be a better approach. If your goal is to have a fairly light starting point, you might copy over "blank" core StartingPoint and just start adding pieces onto it. The blank core StartingPoint has an XML file that only does 2 things, it installs 1 Page Type, then assigns that 1 Page Type to the homepage of the new C5 site. Simple! If you goal is to add just one more pagetype, or make a few pages... export XML from a site, look at how those things are structure in XML nodes, and then build your own XML from it. That's the "build-up" approach... again if you were adding a 50 page site that way it would take forever. But if you want a clean install similar to "blank" and just adding a few other things, then writing those things yourself in XML is not too difficult.
@mhawke I think you're referring to Sample Point Generator. We could debate if that is broken or just lacking features... AFAIK it does exactly what it was designed to do. It's not as convenient as we might like because it exports "all objects in XML" rather than "all objects that are not already installed by C5 base installer". And that's the only real change I made when building Starting Point Generator, is to trim out the objects already installed by C5 base installer.
For our friend here just getting started on this... I don't want them to worry that if they make a valid starting point, C5's core installer starting points package won't work for them. AFAIK it works 100% of the time. If it didn't, you wouldn't be able to install C5 at all.
For anyone reading this in the future... when you make a StartingPoint for C5 you basically have 2 choices. You can build-up or trim-down. The trim-down method is to build a C5 site the way you want it to be, and then export it's content and objects in XML format. Then trim or edit that exported XML to form your content.xml that goes into your custom starting point.
The other option that I'll call the build-up method, is write the XML yourself. This approach probably doesn't make sense most of the time, when the goal is to basically launch a site with content pages. But in some cases, this might be a better approach. If your goal is to have a fairly light starting point, you might copy over "blank" core StartingPoint and just start adding pieces onto it. The blank core StartingPoint has an XML file that only does 2 things, it installs 1 Page Type, then assigns that 1 Page Type to the homepage of the new C5 site. Simple! If you goal is to add just one more pagetype, or make a few pages... export XML from a site, look at how those things are structure in XML nodes, and then build your own XML from it. That's the "build-up" approach... again if you were adding a 50 page site that way it would take forever. But if you want a clean install similar to "blank" and just adding a few other things, then writing those things yourself in XML is not too difficult.
What I meant by 'broken' is exactly what you are referring to. The output from the core's 'Sample Content Generator' cannot immediately be used as an input for the next site which is kinda the point of the exercise. Your package fixes that.
One thing about this process that I think needs to be said for those new to this whole concept is that what we are talking about here is just the export/import of website content. The corresponding packages and add-ons that will eventually use this content must be in the file set that if used to create the new site. This may sound obvious to some but for me I keep having to get my head around the fact that the Starting Point process does not 'clone' an existing website which I think is the actual thing people want to do with this.
@goldhat, for the sake of those who have never done this, can you give a step-by-step process for creating a website 'clone'. You must have done it several times by now.
One thing about this process that I think needs to be said for those new to this whole concept is that what we are talking about here is just the export/import of website content. The corresponding packages and add-ons that will eventually use this content must be in the file set that if used to create the new site. This may sound obvious to some but for me I keep having to get my head around the fact that the Starting Point process does not 'clone' an existing website which I think is the actual thing people want to do with this.
@goldhat, for the sake of those who have never done this, can you give a step-by-step process for creating a website 'clone'. You must have done it several times by now.
That all work 99.9% perfectly! I just seem to be having one thing not working. The page title format doesn't get set for some reason. Would you mind taking a look and seeing if you can spot what's stopping it? My code block is here:
[code]
<?xml version="1.0"?>
<concrete5-cif version="1.0">
<blocktypes>
<blocktype handle="date_archive" package=""/>
</blocktypes>
<attributekeys>
<attributekey handle="tags" name="Tags" package="" searchable="1" indexed="1" type="select" category="collection">
<type allow-multiple-values="1" display-order="display_asc" allow-other-values="1">
<options>
<option value="composer" is-end-user-added="1"/>
<option value="hello" is-end-user-added="1"/>
<option value="world" is-end-user-added="1"/>
<option value="first post" is-end-user-added="1"/>
</options>
</type>
</attributekey>
</attributekeys>
<pagetypes>
<pagetype handle="blog_entry" name="Blog Entry" internal="0" icon="template1.png" package="">
<composer method="PARENT" pagetype="" parent="{ccm:export:page:/blog}">
<items>
<block type="image" name="Header Image" composer-template="header.php"/>
<block type="image" name="Thumbnail Image" composer-template="thumbnail.php"/>
<block type="content" name="Blog Content"/>
<attributekey handle="tags"/>
</items>
</composer>
<page name="" path="" filename="" pagetype="blog_entry" description="" package="">
<attributes>
<attributekey handle="tags"/>
</attributes>
<area name="Blog Post Header"/>
<area name="Main">
<block type="content" name="Blog Content" mc-block-id="0yueptBw">
<data table="btContentLocal">
<record>
<content><![CDATA[<p>This is my first blog post.</p>]]></content>
</record>
</data>
</block>
</area>
<area name="Blog Post More"/>
<area name="Blog Post Footer"/>
<area name="FeaturedImage"/>
<area name="Sidebar">
<block type="tags" name="" mc-block-id="wG4zxttW">
<data table="btTags">
<record>
<title><![CDATA[Tags]]></title>
<targetCID>{ccm:export:page:/blog/blog-archives}</targetCID>
<displayMode><![CDATA[page]]></displayMode>
<cloudCount><![CDATA[0]]></cloudCount>
</record>
</data>
</block>
</area>
<area name="ThumbnailImage"/>
<area name="HeaderImage"/>
<area name="Thumbnail Image">
<block type="image" name="Thumbnail Image" composer-template="thumbnail.php" mc-block-id="QCpfJ7BF">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:sh_thumbnail.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[0]]></maxWidth>
<maxHeight><![CDATA[0]]></maxHeight>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[]]></altText>
</record>
</data>
</block>
</area>
<area name="Header Image">
<block type="image" name="Header Image" composer-template="header.php" mc-block-id="wLzzOzzD">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:europe_england_stonehenge.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[960]]></maxWidth>
<maxHeight><![CDATA[212]]></maxHeight>
<forceImageToMatchDimensions>1</forceImageToMatchDimensions>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[My concrete5 Blog]]></altText>
</record>
</data>
</block>
</area>
</page>
</pagetype>
<pagetype handle="full" name="Full" internal="0" icon="main.png" package="">
<page name="" path="" filename="" pagetype="full" description="" package="">
<area name="HeaderImage"/>
<area name="Main"/>
<area name="Header Image">
<block type="image" name="" mc-block-id="pn1zRqLs">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:northern_az_lake_powell_house_boats.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[960]]></maxWidth>
<maxHeight><![CDATA[212]]></maxHeight>
<forceImageToMatchDimensions>1</forceImageToMatchDimensions>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[]]></altText>
</record>
</data>
</block>
</area>
</page>
</pagetype>
<pagetype handle="left_sidebar" name="Left Sidebar" internal="0" icon="template1.png" package="">
<page name="" path="" filename="" pagetype="left_sidebar" description="" package="">
<area name="HeaderImage"/>
<area name="Sidebar"/>
<area name="Main"/>
<area name="Header Image">
<block type="image" name="" mc-block-id="EjT8GZha">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:europe_valencia_hemispheric.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[960]]></maxWidth>
<maxHeight><![CDATA[212]]></maxHeight>
<forceImageToMatchDimensions>1</forceImageToMatchDimensions>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[]]></altText>
</record>
</data>
</block>
</area>
</page>
</pagetype>
<pagetype handle="right_sidebar" name="Right Sidebar" internal="0" icon="right_sidebar.png" package="">
<page name="" path="" filename="" pagetype="right_sidebar" description="" package="">
<area name="Header Image">
<block type="image" name="" mc-block-id="v0zvw8ct">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:europe_rotterdam_port.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[960]]></maxWidth>
<maxHeight><![CDATA[212]]></maxHeight>
<forceImageToMatchDimensions>1</forceImageToMatchDimensions>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[]]></altText>
</record>
</data>
</block>
</area>
<area name="Main"/>
<area name="Sidebar"/>
</page>
</pagetype>
</pagetypes>
<stacks>
<stack name="Header Nav" type="global_area">
<area name="Main">
<block type="autonav" name="">
<data table="btNavigation">
<record>
<orderBy><![CDATA[display_asc]]></orderBy>
<displayPages><![CDATA[top]]></displayPages>
<displayPagesCID/>
<displayPagesIncludeSelf><![CDATA[0]]></displayPagesIncludeSelf>
<displaySubPages><![CDATA[none]]></displaySubPages>
<displaySubPageLevels><![CDATA[enough]]></displaySubPageLevels>
<displaySubPageLevelsNum><![CDATA[0]]></displaySubPageLevelsNum>
<displayUnavailablePages><![CDATA[0]]></displayUnavailablePages>
</record>
</data>
</block>
</area>
</stack>
<stack name="Side Nav">
<area name="Main">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h3>Links:</h3>]]></content>
</record>
</data>
</block>
<block type="autonav" name="">
<data table="btNavigation">
<record>
<orderBy><![CDATA[display_asc]]></orderBy>
<displayPages><![CDATA[second_level]]></displayPages>
<displayPagesCID/>
<displayPagesIncludeSelf><![CDATA[0]]></displayPagesIncludeSelf>
<displaySubPages><![CDATA[all]]></displaySubPages>
<displaySubPageLevels><![CDATA[all]]></displaySubPageLevels>
<displaySubPageLevelsNum><![CDATA[0]]></displaySubPageLevelsNum>
<displayUnavailablePages><![CDATA[0]]></displayUnavailablePages>
</record>
</data>
</block>
</area>
</stack>
<stack name="Site Name" type="global_area">
<area name="Main">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h1><a title="Home"
href="{ccm:export:page:}"
>{ccm:export:define:SITE}</a></h1>]]></content>
</record>
</data>
</block>
</area>
</stack>
</stacks>
<pages>
<page name="Home" path="" filename="" pagetype="right_sidebar" description="" package="">
<area name="Sidebar">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h3>Sidebar</h3>]]></content>
</record>
</data>
</block>
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<p>Everything about concrete5 is completely customizable through the CMS. This is a separate area from the main content on the homepage. You can <a title="Move blocks in concrete5" href="http://www.concrete5.org/documentation/general-topics/blocks-and-areas" target="_blank">drag and drop blocks</a> like this around your layout.</p>]]></content>
</record>
</data>
</block>
</area>
<area name="Main">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h2>Welcome to concrete5!</h2>
<p>Content Management is easy with concrete5's in-context editing. Just <a href="{ccm:export:page:/login}">login</a> and you can change things as you browse your site.</p>
<p>You can watch videos and learn how to:</p>
<ul>
<li><a title="In-context editing CMS" href="http://www.concrete5.org/documentation/general-topics/in-context-editing/" target="_blank">Edit</a> this page.</li>
<li>Add a <a title="Add a page in concrete5" href="http://www.concrete5.org/documentation/general-topics/add-a-page/" target="_blank">new page</a>.</li>
<li>Add some basic functionality, like <a title="Add a simple form in concrete5" href="http://www.concrete5.org/documentation/general-topics/add_a_form" target="_blank">a Form</a>.</li>
<li><a title="add-on marketplace for concrete5" href="http://www.concrete5.org/marketplace/how_to_install_add_ons_and_themes_/" target="_blank">Finding & adding</a> more functionality and themes.</li>
</ul>
<p>We've taken the liberty to build out the rest of this site with some sample content that will help you learn concrete5. Wander around a bit, or click Dashboard to get to the <a href="{ccm:export:page:/dashboard/sitemap}">Sitemap</a> and quickly delete the parts you don't want.</p>]]></content>
</record>
</data>
</block>
</area>
<area name="Header Image">
<block type="image" name="">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:england_village.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[960]]></maxWidth>
<maxHeight><![CDATA[212]]></maxHeight>
<forceImageToMatchDimensions>1</forceImageToMatchDimensions>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[]]></altText>
</record>
</data>
</block>
</area>
</page>
<page name="About" path="/about" filename="" pagetype="left_sidebar" description="" package="">
<area name="Sidebar">
<block type="core_stack_display" name="">
<stack><![CDATA[Side Nav]]></stack>
</block>
</area>
<area name="Main">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h2>Learn More</h2>
<p>Visit <a title="concrete5 Content Management System" href="http://www.concrete5.org/" target="_blank">concrete5.org</a> to learn more from the <a title="open source content management system" href="http://www.concrete5.org/community" target="_blank">community</a> and the <a href="http://www.concrete5.org/documentation/general-topics/" target="_blank">documentation</a>. You can also browse our <a title="concrete5 marketplace" href="http://www.concrete5.org/marketplace/" target="_blank">marketplace</a> for more <a title="Add-ons for concrete5" href="http://www.concrete5.org/marketplace/addons/" target="_blank">add-ons</a> and <a title="Themes for concrete5" href="http://www.concrete5.org/marketplace/themes/" target="_blank">themes</a> to quickly build the site you really need. </p>
<h3> </h3>
<h3>Getting Help</h3>
<p>You can get free help in the <a href="http://www.concrete5.org/community/forums/" target="_blank">forums</a> and post for free to the <a href="http://www.concrete5.org/community/forums/jobs1/" target="_blank">jobs board</a>. </p>
<p>You can also pay the concrete5 team of developers to help with <a href="http://www.concrete5.org/services/support/" target="_blank">any problem</a> you run into. We offer <a href="http://www.concrete5.org/services/training/" target="_blank">training courses</a> and <a href="http://www.concrete5.org/services/hosting/" target="_blank">hosting packages</a>, just let us know <a href="http://www.concrete5.org/services/professional_services/" target="_blank">how we can help</a>.</p>]]></content>
</record>
</data>
</block>
</area>
<area name="HeaderImage"/>
<area name="Header Image">
<block mc-block-id="EjT8GZha"/>
</area>
</page>
<page name="Guestbook" path="/about/guestbook" filename="" pagetype="right_sidebar" description="" package="">
<area name="Sidebar">
<block type="core_stack_display" name="">
<stack><![CDATA[Side Nav]]></stack>
</block>
</area>
<area name="Main">
<block type="guestbook" name="">
<data table="btGuestBook">
<record>
<requireApproval><![CDATA[0]]></requireApproval>
<title><![CDATA[Tell us what you think]]></title>
<dateFormat><![CDATA[M jS, Y]]></dateFormat>
<displayGuestBookForm><![CDATA[1]]></displayGuestBookForm>
<displayCaptcha><![CDATA[1]]></displayCaptcha>
<authenticationRequired><![CDATA[0]]></authenticationRequired>
<notifyEmail><![CDATA[]]></notifyEmail>
</record>
</data>
<data table="btGuestBookEntries"/>
</block>
</area>
<area name="HeaderImage"/>
<area name="Header Image">
<block mc-block-id="v0zvw8ct"/>
</area>
</page>
<page name="Contact Us" path="/about/contact-us" filename="" pagetype="left_sidebar" description="" package="">
<area name="Sidebar">
<block type="core_stack_display" name="">
<stack><![CDATA[Side Nav]]></stack>
</block>
</area>
<area name="Main">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h2>Contact Us</h2>
<p>Building a form is easy to do. Learn how to <a href="http://www.concrete5.org/documentation/general-topics/add_a_form" target="_blank">add a form block</a>.</p>]]></content>
</record>
</data>
</block>
<block type="form" name="">
<data table="btForm">
<record>
<questionSetId><![CDATA[1324322748]]></questionSetId>
<surveyName><![CDATA[Contact Us]]></surveyName>
<thankyouMsg><![CDATA[Thanks!]]></thankyouMsg>
<notifyMeOnSubmission><![CDATA[0]]></notifyMeOnSubmission>
<recipientEmail><![CDATA[]]></recipientEmail>
<displayCaptcha><![CDATA[0]]></displayCaptcha>
<redirectCID/>
</record>
</data>
<data table="btFormQuestions">
<record>
<qID><![CDATA[5]]></qID>
<msqID><![CDATA[4]]></msqID>
<questionSetId><![CDATA[1324322748]]></questionSetId>
<question><![CDATA[Name]]></question>
<inputType><![CDATA[field]]></inputType>
<options><![CDATA[]]></options>
<position><![CDATA[0]]></position>
<width><![CDATA[50]]></width>
<height><![CDATA[3]]></height>
<required><![CDATA[1]]></required>
</record>
<record>
<qID><![CDATA[6]]></qID>
<msqID><![CDATA[5]]></msqID>
<questionSetId><![CDATA[1324322748]]></questionSetId>
<question><![CDATA[Email:]]></question>
<inputType><![CDATA[email]]></inputType>
<options><![CDATA[]]></options>
<position><![CDATA[0]]></position>
<width><![CDATA[50]]></width>
<height><![CDATA[3]]></height>
<required><![CDATA[1]]></required>
</record>
<record>
<qID><![CDATA[7]]></qID>
<msqID><![CDATA[6]]></msqID>
<questionSetId><![CDATA[1324322748]]></questionSetId>
<question><![CDATA[What are you contacting us about?]]></question>
<inputType><![CDATA[radios]]></inputType>
<options><![CDATA[Question%%Comment%%Urgent Issue%%To Say Hello%%Other]]></options>
<position><![CDATA[0]]></position>
<width><![CDATA[50]]></width>
<height><![CDATA[3]]></height>
<required><![CDATA[1]]></required>
</record>
<record>
<qID><![CDATA[8]]></qID>
<msqID><![CDATA[7]]></msqID>
<questionSetId><![CDATA[1324322748]]></questionSetId>
<question><![CDATA[Message]]></question>
<inputType><![CDATA[text]]></inputType>
<options><![CDATA[]]></options>
<position><![CDATA[0]]></position>
<width><![CDATA[50]]></width>
<height><![CDATA[3]]></height>
<required><![CDATA[1]]></required>
</record>
</data>
</block>
</area>
<area name="HeaderImage"/>
<area name="Header Image">
<block mc-block-id="EjT8GZha"/>
</area>
</page>
<page name="Search" path="/search" filename="" pagetype="right_sidebar" description="" package="">
<area name="Sidebar">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h3>Site Map</h3>]]></content>
</record>
</data>
</block>
<block type="autonav" name="">
<data table="btNavigation">
<record>
<orderBy><![CDATA[display_asc]]></orderBy>
<displayPages><![CDATA[top]]></displayPages>
<displayPagesCID/>
<displayPagesIncludeSelf><![CDATA[0]]></displayPagesIncludeSelf>
<displaySubPages><![CDATA[all]]></displaySubPages>
<displaySubPageLevels><![CDATA[all]]></displaySubPageLevels>
<displaySubPageLevelsNum><![CDATA[0]]></displaySubPageLevelsNum>
<displayUnavailablePages><![CDATA[0]]></displayUnavailablePages>
</record>
</data>
</block>
</area>
<area name="Main">
<block type="search" name="">
<data table="btSearch">
<record>
<title><![CDATA[Search This Site]]></title>
<buttonText><![CDATA[Search]]></buttonText>
<baseSearchPath><![CDATA[]]></baseSearchPath>
<resultsURL><![CDATA[]]></resultsURL>
</record>
</data>
</block>
</area>
<area name="HeaderImage"/>
<area name="Header Image">
<block mc-block-id="v0zvw8ct"/>
</area>
</page>
<page name="Blog" path="/blog" filename="" pagetype="right_sidebar" description="" package="">
<attributes>
<attributekey handle="tags"/>
</attributes>
<area name="HeaderImage"/>
<area name="Main">
<block type="page_list" name="" custom-template="blog_index_thumbnail.php">
<data table="btPageList">
<record>
<num><![CDATA[12]]></num>
<orderBy><![CDATA[chrono_desc]]></orderBy>
<cParentID>{ccm:export:page:/blog}</cParentID>
<cThis><![CDATA[1]]></cThis>
<includeAllDescendents><![CDATA[0]]></includeAllDescendents>
<paginate><![CDATA[1]]></paginate>
<displayAliases><![CDATA[0]]></displayAliases>
<ctID>{ccm:export:pagetype:blog_entry}</ctID>
<rss><![CDATA[0]]></rss>
<rssTitle><![CDATA[]]></rssTitle>
<rssDescription><![CDATA[]]></rssDescription>
<truncateSummaries><![CDATA[1]]></truncateSummaries>
<displayFeaturedOnly><![CDATA[0]]></displayFeaturedOnly>
<truncateChars><![CDATA[128]]></truncateChars>
</record>
</data>
</block>
</area>
<area name="Sidebar">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h3>Tags</h3>]]></content>
</record>
</data>
</block>
<block type="tags" name="">
<data table="btTags">
<record>
<title><![CDATA[]]></title>
<targetCID>{ccm:export:page:/blog/blog-archives}</targetCID>
<displayMode><![CDATA[cloud]]></displayMode>
<cloudCount><![CDATA[0]]></cloudCount>
</record>
</data>
</block>
<block type="date_archive" name="">
<data table="btDateArchive">
<record>
<title><![CDATA[Archives]]></title>
<targetCID>{ccm:export:page:/blog/blog-archives}</targetCID>
<numMonths><![CDATA[12]]></numMonths>
</record>
</data>
</block>
</area>
<area name="Header Image">
<block mc-block-id="v0zvw8ct"/>
</area>
</page>
<page name="Hello World" path="/blog/hello-world" filename="" pagetype="blog_entry" description="This is my first blog post!" package="">
<attributes>
<attributekey handle="tags">
<value>
<option>composer</option>
<option>hello</option>
<option>world</option>
<option>first post</option>
</value>
</attributekey>
</attributes>
<area name="Header Image">
<block type="image" name="Header Image" composer-template="header.php">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:europe_england_stonehenge.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[960]]></maxWidth>
<maxHeight><![CDATA[212]]></maxHeight>
<forceImageToMatchDimensions>1</forceImageToMatchDimensions>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[My concrete5 Blog]]></altText>
</record>
</data>
</block>
</area>
<area name="Sidebar">
<block mc-block-id="wG4zxttW"/>
</area>
<area name="Main">
<block type="content" name="Blog Content">
<data table="btContentLocal">
<record>
<content><![CDATA[<p>Here is some sample content! I'm writing it using composer!</p>]]></content>
</record>
</data>
</block>
</area>
<area name="Thumbnail Image">
<block type="image" name="Thumbnail Image" composer-template="thumbnail.php">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:sh_thumbnail.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[0]]></maxWidth>
<maxHeight><![CDATA[0]]></maxHeight>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[]]></altText>
</record>
</data>
</block>
</area>
<area name="Blog Post More"/>
<area name="Blog Post Header"/>
<area name="Blog Post Footer"/>
</page>
<page name="Blog Archives" path="/blog/blog-archives" filename="" pagetype="right_sidebar" description="" package="">
<attributes>
<attributekey handle="exclude_nav">
<value><![CDATA[1]]></value>
</attributekey>
<attributekey handle="exclude_page_list">
<value><![CDATA[1]]></value>
</attributekey>
<attributekey handle="exclude_search_index">
<value><![CDATA[1]]></value>
</attributekey>
<attributekey handle="tags"/>
</attributes>
<area name="Header Image">
<block mc-block-id="v0zvw8ct"/>
</area>
<area name="Main">
<block type="search" name="">
<data table="btSearch">
<record>
<title><![CDATA[Search Blog]]></title>
<buttonText><![CDATA[Search]]></buttonText>
<baseSearchPath><![CDATA[/blog]]></baseSearchPath>
<resultsURL><![CDATA[]]></resultsURL>
</record>
</data>
</block>
</area>
<area name="Sidebar">
<block type="tags" name="">
<data table="btTags">
<record>
<title><![CDATA[Tags]]></title>
<targetCID>{ccm:export:page:/blog/blog-archives}</targetCID>
<displayMode><![CDATA[cloud]]></displayMode>
<cloudCount><![CDATA[0]]></cloudCount>
</record>
</data>
</block>
<block type="date_archive" name="">
<data table="btDateArchive">
<record>
<title><![CDATA[Archives]]></title>
<targetCID>{ccm:export:page:/blog/blog-archives}</targetCID>
<numMonths><![CDATA[12]]></numMonths>
</record>
</data>
</block>
</area>
</page>
</pages>
<packages>
<package handle="si_browser_update"/>
</packages>
<config>
<ENABLE_MARKETPLACE_SUPPORT>0</ENABLE_MARKETPLACE_SUPPORT>
<ENABLE_INTELLIGENT_SEARCH_HELP>0</ENABLE_INTELLIGENT_SEARCH_HELP>
<ENABLE_NEWSFLOW_OVERLAY>0</ENABLE_NEWSFLOW_OVERLAY>
<PAGE_TITLE_FORMAT>%2$s | %1$s</PAGE_TITLE_FORMAT>
<WHITE_LABEL_LOGO_SRC>http://straightforwardsolutions.co.uk/sfs-white-label.png</WHITE_LABEL_LOGO_SRC>
<WHITE_LABEL_APP_NAME>Straightforward Solutions</WHITE_LABEL_APP_NAME>
<ENABLE_APP_NEWS>0</ENABLE_APP_NEWS>
<WHITE_LABEL_DASHBOARD_BACKGROUND_SRC>none</WHITE_LABEL_DASHBOARD_BACKGROUND_SRC>
</config>
</concrete5-cif>
[/code]
[code]
<?xml version="1.0"?>
<concrete5-cif version="1.0">
<blocktypes>
<blocktype handle="date_archive" package=""/>
</blocktypes>
<attributekeys>
<attributekey handle="tags" name="Tags" package="" searchable="1" indexed="1" type="select" category="collection">
<type allow-multiple-values="1" display-order="display_asc" allow-other-values="1">
<options>
<option value="composer" is-end-user-added="1"/>
<option value="hello" is-end-user-added="1"/>
<option value="world" is-end-user-added="1"/>
<option value="first post" is-end-user-added="1"/>
</options>
</type>
</attributekey>
</attributekeys>
<pagetypes>
<pagetype handle="blog_entry" name="Blog Entry" internal="0" icon="template1.png" package="">
<composer method="PARENT" pagetype="" parent="{ccm:export:page:/blog}">
<items>
<block type="image" name="Header Image" composer-template="header.php"/>
<block type="image" name="Thumbnail Image" composer-template="thumbnail.php"/>
<block type="content" name="Blog Content"/>
<attributekey handle="tags"/>
</items>
</composer>
<page name="" path="" filename="" pagetype="blog_entry" description="" package="">
<attributes>
<attributekey handle="tags"/>
</attributes>
<area name="Blog Post Header"/>
<area name="Main">
<block type="content" name="Blog Content" mc-block-id="0yueptBw">
<data table="btContentLocal">
<record>
<content><![CDATA[<p>This is my first blog post.</p>]]></content>
</record>
</data>
</block>
</area>
<area name="Blog Post More"/>
<area name="Blog Post Footer"/>
<area name="FeaturedImage"/>
<area name="Sidebar">
<block type="tags" name="" mc-block-id="wG4zxttW">
<data table="btTags">
<record>
<title><![CDATA[Tags]]></title>
<targetCID>{ccm:export:page:/blog/blog-archives}</targetCID>
<displayMode><![CDATA[page]]></displayMode>
<cloudCount><![CDATA[0]]></cloudCount>
</record>
</data>
</block>
</area>
<area name="ThumbnailImage"/>
<area name="HeaderImage"/>
<area name="Thumbnail Image">
<block type="image" name="Thumbnail Image" composer-template="thumbnail.php" mc-block-id="QCpfJ7BF">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:sh_thumbnail.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[0]]></maxWidth>
<maxHeight><![CDATA[0]]></maxHeight>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[]]></altText>
</record>
</data>
</block>
</area>
<area name="Header Image">
<block type="image" name="Header Image" composer-template="header.php" mc-block-id="wLzzOzzD">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:europe_england_stonehenge.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[960]]></maxWidth>
<maxHeight><![CDATA[212]]></maxHeight>
<forceImageToMatchDimensions>1</forceImageToMatchDimensions>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[My concrete5 Blog]]></altText>
</record>
</data>
</block>
</area>
</page>
</pagetype>
<pagetype handle="full" name="Full" internal="0" icon="main.png" package="">
<page name="" path="" filename="" pagetype="full" description="" package="">
<area name="HeaderImage"/>
<area name="Main"/>
<area name="Header Image">
<block type="image" name="" mc-block-id="pn1zRqLs">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:northern_az_lake_powell_house_boats.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[960]]></maxWidth>
<maxHeight><![CDATA[212]]></maxHeight>
<forceImageToMatchDimensions>1</forceImageToMatchDimensions>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[]]></altText>
</record>
</data>
</block>
</area>
</page>
</pagetype>
<pagetype handle="left_sidebar" name="Left Sidebar" internal="0" icon="template1.png" package="">
<page name="" path="" filename="" pagetype="left_sidebar" description="" package="">
<area name="HeaderImage"/>
<area name="Sidebar"/>
<area name="Main"/>
<area name="Header Image">
<block type="image" name="" mc-block-id="EjT8GZha">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:europe_valencia_hemispheric.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[960]]></maxWidth>
<maxHeight><![CDATA[212]]></maxHeight>
<forceImageToMatchDimensions>1</forceImageToMatchDimensions>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[]]></altText>
</record>
</data>
</block>
</area>
</page>
</pagetype>
<pagetype handle="right_sidebar" name="Right Sidebar" internal="0" icon="right_sidebar.png" package="">
<page name="" path="" filename="" pagetype="right_sidebar" description="" package="">
<area name="Header Image">
<block type="image" name="" mc-block-id="v0zvw8ct">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:europe_rotterdam_port.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[960]]></maxWidth>
<maxHeight><![CDATA[212]]></maxHeight>
<forceImageToMatchDimensions>1</forceImageToMatchDimensions>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[]]></altText>
</record>
</data>
</block>
</area>
<area name="Main"/>
<area name="Sidebar"/>
</page>
</pagetype>
</pagetypes>
<stacks>
<stack name="Header Nav" type="global_area">
<area name="Main">
<block type="autonav" name="">
<data table="btNavigation">
<record>
<orderBy><![CDATA[display_asc]]></orderBy>
<displayPages><![CDATA[top]]></displayPages>
<displayPagesCID/>
<displayPagesIncludeSelf><![CDATA[0]]></displayPagesIncludeSelf>
<displaySubPages><![CDATA[none]]></displaySubPages>
<displaySubPageLevels><![CDATA[enough]]></displaySubPageLevels>
<displaySubPageLevelsNum><![CDATA[0]]></displaySubPageLevelsNum>
<displayUnavailablePages><![CDATA[0]]></displayUnavailablePages>
</record>
</data>
</block>
</area>
</stack>
<stack name="Side Nav">
<area name="Main">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h3>Links:</h3>]]></content>
</record>
</data>
</block>
<block type="autonav" name="">
<data table="btNavigation">
<record>
<orderBy><![CDATA[display_asc]]></orderBy>
<displayPages><![CDATA[second_level]]></displayPages>
<displayPagesCID/>
<displayPagesIncludeSelf><![CDATA[0]]></displayPagesIncludeSelf>
<displaySubPages><![CDATA[all]]></displaySubPages>
<displaySubPageLevels><![CDATA[all]]></displaySubPageLevels>
<displaySubPageLevelsNum><![CDATA[0]]></displaySubPageLevelsNum>
<displayUnavailablePages><![CDATA[0]]></displayUnavailablePages>
</record>
</data>
</block>
</area>
</stack>
<stack name="Site Name" type="global_area">
<area name="Main">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h1><a title="Home"
href="{ccm:export:page:}"
>{ccm:export:define:SITE}</a></h1>]]></content>
</record>
</data>
</block>
</area>
</stack>
</stacks>
<pages>
<page name="Home" path="" filename="" pagetype="right_sidebar" description="" package="">
<area name="Sidebar">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h3>Sidebar</h3>]]></content>
</record>
</data>
</block>
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<p>Everything about concrete5 is completely customizable through the CMS. This is a separate area from the main content on the homepage. You can <a title="Move blocks in concrete5" href="http://www.concrete5.org/documentation/general-topics/blocks-and-areas" target="_blank">drag and drop blocks</a> like this around your layout.</p>]]></content>
</record>
</data>
</block>
</area>
<area name="Main">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h2>Welcome to concrete5!</h2>
<p>Content Management is easy with concrete5's in-context editing. Just <a href="{ccm:export:page:/login}">login</a> and you can change things as you browse your site.</p>
<p>You can watch videos and learn how to:</p>
<ul>
<li><a title="In-context editing CMS" href="http://www.concrete5.org/documentation/general-topics/in-context-editing/" target="_blank">Edit</a> this page.</li>
<li>Add a <a title="Add a page in concrete5" href="http://www.concrete5.org/documentation/general-topics/add-a-page/" target="_blank">new page</a>.</li>
<li>Add some basic functionality, like <a title="Add a simple form in concrete5" href="http://www.concrete5.org/documentation/general-topics/add_a_form" target="_blank">a Form</a>.</li>
<li><a title="add-on marketplace for concrete5" href="http://www.concrete5.org/marketplace/how_to_install_add_ons_and_themes_/" target="_blank">Finding & adding</a> more functionality and themes.</li>
</ul>
<p>We've taken the liberty to build out the rest of this site with some sample content that will help you learn concrete5. Wander around a bit, or click Dashboard to get to the <a href="{ccm:export:page:/dashboard/sitemap}">Sitemap</a> and quickly delete the parts you don't want.</p>]]></content>
</record>
</data>
</block>
</area>
<area name="Header Image">
<block type="image" name="">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:england_village.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[960]]></maxWidth>
<maxHeight><![CDATA[212]]></maxHeight>
<forceImageToMatchDimensions>1</forceImageToMatchDimensions>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[]]></altText>
</record>
</data>
</block>
</area>
</page>
<page name="About" path="/about" filename="" pagetype="left_sidebar" description="" package="">
<area name="Sidebar">
<block type="core_stack_display" name="">
<stack><![CDATA[Side Nav]]></stack>
</block>
</area>
<area name="Main">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h2>Learn More</h2>
<p>Visit <a title="concrete5 Content Management System" href="http://www.concrete5.org/" target="_blank">concrete5.org</a> to learn more from the <a title="open source content management system" href="http://www.concrete5.org/community" target="_blank">community</a> and the <a href="http://www.concrete5.org/documentation/general-topics/" target="_blank">documentation</a>. You can also browse our <a title="concrete5 marketplace" href="http://www.concrete5.org/marketplace/" target="_blank">marketplace</a> for more <a title="Add-ons for concrete5" href="http://www.concrete5.org/marketplace/addons/" target="_blank">add-ons</a> and <a title="Themes for concrete5" href="http://www.concrete5.org/marketplace/themes/" target="_blank">themes</a> to quickly build the site you really need. </p>
<h3> </h3>
<h3>Getting Help</h3>
<p>You can get free help in the <a href="http://www.concrete5.org/community/forums/" target="_blank">forums</a> and post for free to the <a href="http://www.concrete5.org/community/forums/jobs1/" target="_blank">jobs board</a>. </p>
<p>You can also pay the concrete5 team of developers to help with <a href="http://www.concrete5.org/services/support/" target="_blank">any problem</a> you run into. We offer <a href="http://www.concrete5.org/services/training/" target="_blank">training courses</a> and <a href="http://www.concrete5.org/services/hosting/" target="_blank">hosting packages</a>, just let us know <a href="http://www.concrete5.org/services/professional_services/" target="_blank">how we can help</a>.</p>]]></content>
</record>
</data>
</block>
</area>
<area name="HeaderImage"/>
<area name="Header Image">
<block mc-block-id="EjT8GZha"/>
</area>
</page>
<page name="Guestbook" path="/about/guestbook" filename="" pagetype="right_sidebar" description="" package="">
<area name="Sidebar">
<block type="core_stack_display" name="">
<stack><![CDATA[Side Nav]]></stack>
</block>
</area>
<area name="Main">
<block type="guestbook" name="">
<data table="btGuestBook">
<record>
<requireApproval><![CDATA[0]]></requireApproval>
<title><![CDATA[Tell us what you think]]></title>
<dateFormat><![CDATA[M jS, Y]]></dateFormat>
<displayGuestBookForm><![CDATA[1]]></displayGuestBookForm>
<displayCaptcha><![CDATA[1]]></displayCaptcha>
<authenticationRequired><![CDATA[0]]></authenticationRequired>
<notifyEmail><![CDATA[]]></notifyEmail>
</record>
</data>
<data table="btGuestBookEntries"/>
</block>
</area>
<area name="HeaderImage"/>
<area name="Header Image">
<block mc-block-id="v0zvw8ct"/>
</area>
</page>
<page name="Contact Us" path="/about/contact-us" filename="" pagetype="left_sidebar" description="" package="">
<area name="Sidebar">
<block type="core_stack_display" name="">
<stack><![CDATA[Side Nav]]></stack>
</block>
</area>
<area name="Main">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h2>Contact Us</h2>
<p>Building a form is easy to do. Learn how to <a href="http://www.concrete5.org/documentation/general-topics/add_a_form" target="_blank">add a form block</a>.</p>]]></content>
</record>
</data>
</block>
<block type="form" name="">
<data table="btForm">
<record>
<questionSetId><![CDATA[1324322748]]></questionSetId>
<surveyName><![CDATA[Contact Us]]></surveyName>
<thankyouMsg><![CDATA[Thanks!]]></thankyouMsg>
<notifyMeOnSubmission><![CDATA[0]]></notifyMeOnSubmission>
<recipientEmail><![CDATA[]]></recipientEmail>
<displayCaptcha><![CDATA[0]]></displayCaptcha>
<redirectCID/>
</record>
</data>
<data table="btFormQuestions">
<record>
<qID><![CDATA[5]]></qID>
<msqID><![CDATA[4]]></msqID>
<questionSetId><![CDATA[1324322748]]></questionSetId>
<question><![CDATA[Name]]></question>
<inputType><![CDATA[field]]></inputType>
<options><![CDATA[]]></options>
<position><![CDATA[0]]></position>
<width><![CDATA[50]]></width>
<height><![CDATA[3]]></height>
<required><![CDATA[1]]></required>
</record>
<record>
<qID><![CDATA[6]]></qID>
<msqID><![CDATA[5]]></msqID>
<questionSetId><![CDATA[1324322748]]></questionSetId>
<question><![CDATA[Email:]]></question>
<inputType><![CDATA[email]]></inputType>
<options><![CDATA[]]></options>
<position><![CDATA[0]]></position>
<width><![CDATA[50]]></width>
<height><![CDATA[3]]></height>
<required><![CDATA[1]]></required>
</record>
<record>
<qID><![CDATA[7]]></qID>
<msqID><![CDATA[6]]></msqID>
<questionSetId><![CDATA[1324322748]]></questionSetId>
<question><![CDATA[What are you contacting us about?]]></question>
<inputType><![CDATA[radios]]></inputType>
<options><![CDATA[Question%%Comment%%Urgent Issue%%To Say Hello%%Other]]></options>
<position><![CDATA[0]]></position>
<width><![CDATA[50]]></width>
<height><![CDATA[3]]></height>
<required><![CDATA[1]]></required>
</record>
<record>
<qID><![CDATA[8]]></qID>
<msqID><![CDATA[7]]></msqID>
<questionSetId><![CDATA[1324322748]]></questionSetId>
<question><![CDATA[Message]]></question>
<inputType><![CDATA[text]]></inputType>
<options><![CDATA[]]></options>
<position><![CDATA[0]]></position>
<width><![CDATA[50]]></width>
<height><![CDATA[3]]></height>
<required><![CDATA[1]]></required>
</record>
</data>
</block>
</area>
<area name="HeaderImage"/>
<area name="Header Image">
<block mc-block-id="EjT8GZha"/>
</area>
</page>
<page name="Search" path="/search" filename="" pagetype="right_sidebar" description="" package="">
<area name="Sidebar">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h3>Site Map</h3>]]></content>
</record>
</data>
</block>
<block type="autonav" name="">
<data table="btNavigation">
<record>
<orderBy><![CDATA[display_asc]]></orderBy>
<displayPages><![CDATA[top]]></displayPages>
<displayPagesCID/>
<displayPagesIncludeSelf><![CDATA[0]]></displayPagesIncludeSelf>
<displaySubPages><![CDATA[all]]></displaySubPages>
<displaySubPageLevels><![CDATA[all]]></displaySubPageLevels>
<displaySubPageLevelsNum><![CDATA[0]]></displaySubPageLevelsNum>
<displayUnavailablePages><![CDATA[0]]></displayUnavailablePages>
</record>
</data>
</block>
</area>
<area name="Main">
<block type="search" name="">
<data table="btSearch">
<record>
<title><![CDATA[Search This Site]]></title>
<buttonText><![CDATA[Search]]></buttonText>
<baseSearchPath><![CDATA[]]></baseSearchPath>
<resultsURL><![CDATA[]]></resultsURL>
</record>
</data>
</block>
</area>
<area name="HeaderImage"/>
<area name="Header Image">
<block mc-block-id="v0zvw8ct"/>
</area>
</page>
<page name="Blog" path="/blog" filename="" pagetype="right_sidebar" description="" package="">
<attributes>
<attributekey handle="tags"/>
</attributes>
<area name="HeaderImage"/>
<area name="Main">
<block type="page_list" name="" custom-template="blog_index_thumbnail.php">
<data table="btPageList">
<record>
<num><![CDATA[12]]></num>
<orderBy><![CDATA[chrono_desc]]></orderBy>
<cParentID>{ccm:export:page:/blog}</cParentID>
<cThis><![CDATA[1]]></cThis>
<includeAllDescendents><![CDATA[0]]></includeAllDescendents>
<paginate><![CDATA[1]]></paginate>
<displayAliases><![CDATA[0]]></displayAliases>
<ctID>{ccm:export:pagetype:blog_entry}</ctID>
<rss><![CDATA[0]]></rss>
<rssTitle><![CDATA[]]></rssTitle>
<rssDescription><![CDATA[]]></rssDescription>
<truncateSummaries><![CDATA[1]]></truncateSummaries>
<displayFeaturedOnly><![CDATA[0]]></displayFeaturedOnly>
<truncateChars><![CDATA[128]]></truncateChars>
</record>
</data>
</block>
</area>
<area name="Sidebar">
<block type="content" name="">
<data table="btContentLocal">
<record>
<content><![CDATA[<h3>Tags</h3>]]></content>
</record>
</data>
</block>
<block type="tags" name="">
<data table="btTags">
<record>
<title><![CDATA[]]></title>
<targetCID>{ccm:export:page:/blog/blog-archives}</targetCID>
<displayMode><![CDATA[cloud]]></displayMode>
<cloudCount><![CDATA[0]]></cloudCount>
</record>
</data>
</block>
<block type="date_archive" name="">
<data table="btDateArchive">
<record>
<title><![CDATA[Archives]]></title>
<targetCID>{ccm:export:page:/blog/blog-archives}</targetCID>
<numMonths><![CDATA[12]]></numMonths>
</record>
</data>
</block>
</area>
<area name="Header Image">
<block mc-block-id="v0zvw8ct"/>
</area>
</page>
<page name="Hello World" path="/blog/hello-world" filename="" pagetype="blog_entry" description="This is my first blog post!" package="">
<attributes>
<attributekey handle="tags">
<value>
<option>composer</option>
<option>hello</option>
<option>world</option>
<option>first post</option>
</value>
</attributekey>
</attributes>
<area name="Header Image">
<block type="image" name="Header Image" composer-template="header.php">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:europe_england_stonehenge.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[960]]></maxWidth>
<maxHeight><![CDATA[212]]></maxHeight>
<forceImageToMatchDimensions>1</forceImageToMatchDimensions>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[My concrete5 Blog]]></altText>
</record>
</data>
</block>
</area>
<area name="Sidebar">
<block mc-block-id="wG4zxttW"/>
</area>
<area name="Main">
<block type="content" name="Blog Content">
<data table="btContentLocal">
<record>
<content><![CDATA[<p>Here is some sample content! I'm writing it using composer!</p>]]></content>
</record>
</data>
</block>
</area>
<area name="Thumbnail Image">
<block type="image" name="Thumbnail Image" composer-template="thumbnail.php">
<data table="btContentImage">
<record>
<fID>{ccm:export:file:sh_thumbnail.jpg}</fID>
<fOnstateID/>
<maxWidth><![CDATA[0]]></maxWidth>
<maxHeight><![CDATA[0]]></maxHeight>
<externalLink><![CDATA[]]></externalLink>
<internalLinkCID><![CDATA[0]]></internalLinkCID>
<altText><![CDATA[]]></altText>
</record>
</data>
</block>
</area>
<area name="Blog Post More"/>
<area name="Blog Post Header"/>
<area name="Blog Post Footer"/>
</page>
<page name="Blog Archives" path="/blog/blog-archives" filename="" pagetype="right_sidebar" description="" package="">
<attributes>
<attributekey handle="exclude_nav">
<value><![CDATA[1]]></value>
</attributekey>
<attributekey handle="exclude_page_list">
<value><![CDATA[1]]></value>
</attributekey>
<attributekey handle="exclude_search_index">
<value><![CDATA[1]]></value>
</attributekey>
<attributekey handle="tags"/>
</attributes>
<area name="Header Image">
<block mc-block-id="v0zvw8ct"/>
</area>
<area name="Main">
<block type="search" name="">
<data table="btSearch">
<record>
<title><![CDATA[Search Blog]]></title>
<buttonText><![CDATA[Search]]></buttonText>
<baseSearchPath><![CDATA[/blog]]></baseSearchPath>
<resultsURL><![CDATA[]]></resultsURL>
</record>
</data>
</block>
</area>
<area name="Sidebar">
<block type="tags" name="">
<data table="btTags">
<record>
<title><![CDATA[Tags]]></title>
<targetCID>{ccm:export:page:/blog/blog-archives}</targetCID>
<displayMode><![CDATA[cloud]]></displayMode>
<cloudCount><![CDATA[0]]></cloudCount>
</record>
</data>
</block>
<block type="date_archive" name="">
<data table="btDateArchive">
<record>
<title><![CDATA[Archives]]></title>
<targetCID>{ccm:export:page:/blog/blog-archives}</targetCID>
<numMonths><![CDATA[12]]></numMonths>
</record>
</data>
</block>
</area>
</page>
</pages>
<packages>
<package handle="si_browser_update"/>
</packages>
<config>
<ENABLE_MARKETPLACE_SUPPORT>0</ENABLE_MARKETPLACE_SUPPORT>
<ENABLE_INTELLIGENT_SEARCH_HELP>0</ENABLE_INTELLIGENT_SEARCH_HELP>
<ENABLE_NEWSFLOW_OVERLAY>0</ENABLE_NEWSFLOW_OVERLAY>
<PAGE_TITLE_FORMAT>%2$s | %1$s</PAGE_TITLE_FORMAT>
<WHITE_LABEL_LOGO_SRC>http://straightforwardsolutions.co.uk/sfs-white-label.png</WHITE_LABEL_LOGO_SRC>
<WHITE_LABEL_APP_NAME>Straightforward Solutions</WHITE_LABEL_APP_NAME>
<ENABLE_APP_NEWS>0</ENABLE_APP_NEWS>
<WHITE_LABEL_DASHBOARD_BACKGROUND_SRC>none</WHITE_LABEL_DASHBOARD_BACKGROUND_SRC>
</config>
</concrete5-cif>
[/code]
Yeah, I don't know why some settings set in the config database are not used ...
Quick workaround : you can put this line in your config/site.php :
Quick workaround : you can put this line in your config/site.php :
define('PAGE_TITLE_FORMAT', '%2$s | %1$s');
Yeah that's the way I've done it previously. Doesn't take too long, just would have been nice to have it do it automatically upon install. Oh well!
Thanks for all your help, that's going to save me a lot of time!
Thanks for all your help, that's going to save me a lot of time!
Have a look at this new package:
http://www.concrete5.org/community/forums/customizing_c5/free-packa...
http://www.concrete5.org/community/forums/customizing_c5/free-packa...
If you are new to making Starting Points I've started a video series on the topic the first video on YouTube athttp://www.youtube.com/watch?v=VfnFow-4mYg...
I have not gotten (yet) to the details of things like swapping the C5 logo and other white label customizations that you can do mainly through <config>. So far these videos just cover mainly using the Sample Content Generator and trimming XML.
These videos were made before the development of Starting Point Generator. Some of the steps can be skipped with that package. Once you have your controller setup as nebuleu mentioned, and you've got a working content.xml that's when you can start adding some config settings and maybe customizing the installer pages.
I have not gotten (yet) to the details of things like swapping the C5 logo and other white label customizations that you can do mainly through <config>. So far these videos just cover mainly using the Sample Content Generator and trimming XML.
These videos were made before the development of Starting Point Generator. Some of the steps can be skipped with that package. Once you have your controller setup as nebuleu mentioned, and you've got a working content.xml that's when you can start adding some config settings and maybe customizing the installer pages.
With the controller.php you can override all the installation process, and with the content.xml you can configure some settings and install packages quickly.
Informations about starting point package :
http://www.concrete5.org/documentation/how-tos/developers/concrete5...
A quick example :
controller.php
more on the StartingPointPackage model here :
https://github.com/concrete5/concrete5/blob/master/web/concrete/core...
content.xml