#

Blog Icon

Blog

Create unique blog content, upload featured images, and structure data
with categories all inside the Solodev Blog Module.

DOWNLOAD

The Solodev Blog Module lets you schedule when content goes live, keeping your team and blog readers on schedule. The Blog Manager also gives your team a place to collaborate on long-form content. Include more than just copy by easily adding images and video to your posts.

# Prerequisites

# Create Blog

These steps will guide you through the process of installing Blog Module and adding it to your page.

  1. Download the Blog package.

DOWNLOAD

  1. Add the module to your CMS.
Add Blog
  1. Add an entry.
Add Blog Entry
  1. Create a file called blog-repeater.tpl on your prefer location. This file will contain the code for your blog roll that will dynamically pull in your blog entries.
Blog Repeater File
  1. Insert the HTML code into your file to display the blog roll. For example:
<div class="row row-cols-lg-2 row-cols-1">
  <div class="col">
    <img alt="Placeholder image" src="/_/images/blog-image.png" class="img-fluid">
  </div>
  <div class="col">
    <h2>
      <a href="/blog/detail/" class="text-black">Blog title</a>
    </h2>
    <p>Blog intro.</p>
    <p><a class="btn btn-primary" aria-label="Read more about blog" href="/blog/detail/">Read more</a></p>
  </div>
</div>
  1. Include or replace the code with the shortcodes where needed. For example:
<div class="row row-cols-lg-2 row-cols-1">
  [repeater id="" limit="0, 4" display_type="forum"]
    <div class="col">
      <img alt="Placeholder image" src="[get_asset_file_url id={{blog_image}}]" class="img-fluid">
    </div>
    <div class="col">
      <h2>
        <a href="{{path}}" class="text-black">{{event_title}}</a>
      </h2>
      <p>{{blog_intro}}</p>
      <p><a class="btn btn-primary" aria-label="Read more about {{event_title}}" href="{{path}}">Read more</a></p>
    </div>
  [/repeater]
</div>
  1. Insert your blog repeater file into the page you want to display the entries on.
Blog Repeater on Page
  1. Create a file called blog-detail.tpl on your prefer location. This file will contain the code for your blog entry.
Blog Detail File
  1. Insert the HTML code into your file to display the blog content.

  2. Include or replace the code with the shortcodes where needed.

  3. Insert your blog detail file into the page you want to display the entries on.

# Shortcodes

You will need the following shortcodes to successfully add a Blog to your website. Depending on your needs, you might need to use extra shortcodes.

  • repeater - prints the fields from the blog module form. Used on your repeater page.
[repeater id="1" limit="0, 4" display_type="forum"]
  • entry - displays the content of a specific blog entry from the module form. Used on your detail page.
[entry]
<img alt="Image alt" class="img-fluid" src="[get_asset_file_url id={{blog_image}}]" />
<p>[print_date format="F d, Y g:ia" timestamp="{{start_time}}"]</p>
  • event_title - displays the name of the module's entry.
{{event_title}}

If you need to use other shortcodes or need to learn more about shortcodes, click here.

# Support

Support for Blog Module is handled directly through Solodev's global help desk. For more information regarding support queries, go to www.solodev.com.