#

News Icon

News

Keep your users informed about your company happenings or press releases with the News Desk.

Keep your users informed about your company happenings or press releases with the News Desk. Complete with categories, the News Desk can be used in multiple locations throughout your website.

# Prerequisites

# Create News

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

  1. Download the News package (Coming soon).
  1. Add the module to your CMS.
Add News
  1. Add an entry.
  1. Create a file called news-repeater.tpl on your prefer location. This file will contain the code for your news roll that will dynamically pull in your news entries.

  2. Insert the HTML code into your file to display the news roll.

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

  4. Insert your news repeater file into the page you want to display the entries on.

  1. Create a file called news-detail.tpl on your prefer location. This file will contain the code for your news entry.

  2. Insert the HTML code into your file to display the news content.

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

  4. Insert your news detail file into the page you want to display the entries on.

# Shortcodes

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

  • repeater - prints the fields from the news module form.
[repeater id="" limit="0, 4" display_type="news"]
  • entry - displays the content of a specific blog entry from the module form.
[entry]
<img alt="Image alt" class="img-fluid" src="[get_asset_file_url id={{news_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 News Module is handled directly through Solodev's global help desk. For more information regarding support queries, go to www.solodev.com.