Copyright © RebelMouse 2019

Follow Us:

Section Template

This feature helps you load a custom template for a particular section page.

  • An administrator first needs to create a section in the dashboard (Ex: Social Wall).
  • Inside engine/dynamic_content/ create a new section file named section_section-name-here.xml (Ex: section_social-wall.xml).
  • Copy the contents of subpage.xml inside your new template and hack away!
  • Your new custom template will be available on /social-wall url.


When most of the template is the same as the original subpage.xml, you should consider making use of the <block> XML tag. This will allow you to make use of inheritance and keep your code cleaner and modular.

Start by creating a block inside your original subpage.xml file:

<block name="body">  <!-- Code placed here will be available on all subpages -->  <!-- Create a new placeholder block you want to use -->  <block name="custom_block_name">    <!-- Code placed here will be overwritten with code in section_section-name-here.xml -->  </block>  <!-- Code placed here will be available on all subpages --></block>

Then in your new template section_section-name-here.xml add this code:

<import_xml path="subpage.xml"> <!-- Inherit subpage.xml markup -->  <!-- This will override the same block in subpage.xml -->  <block name="custom_block_name">    <div> <!-- Code placed here will be available only on section_section-name-here.xml --> </div>  </block></import_xml>

Note: You can use any name for your blocks tag, just change name="custom_block_name" to your liking. Make sure you use the same block name across all your section templates.

RebelMouse CEO: Reimagining Diversity “Starts in the Office”

Why women, minorities, and the LGBTQ+ community will restructure workplace norms

Entering a new decade means a new opportunity to change how we approach diversity. In a joint interview alongside Leanne Pittsford of Lesbians Who Tech, RebelMouse founder and CEO Andrea Breanna said that the only way to fight patriarchal dominance is to encourage and nurture more women, minorities, and members of the LGBTQ+ community in the workplace, particularly in tech.

Over half of RebelMouse's employees are women or identify as LGBTQ. Read our full diversity and inclusion report here.

Check out the full video below.

Related Articles

Publishers No Longer Have to Submit Their Site to Google News

Google's Publisher Center creates new opportunities for audience growth

Just before the start of the next decade, Google announced an important change to its Google News offering with the launch of Google Publisher Center. The new interface merges Google News Producer and Google News Publisher into one to streamline the partnership process for publishers.

Overall, the change should make it easier for publishers to manage their Google News settings, including updating themes, directing URLs to section pages, and configuring user permissions. Read the full list of features here.

Keep reading...

How to Find Work-Life Balance as a Remote Employee

Tips from our CEO on making the most of an office-free lifestyle

Working from home is becoming increasingly popular, with an estimated 66% of companies now allowing remote work and 16% operating completely office-free. RebelMouse is one of those fully remote companies, and over the years we've mastered how to stay close to each other despite being spread across more than a dozen countries. We believe working remotely is good for both our personal lives and our productivity. Read more about this here.

Still, working free from the shackles of an office environment doesn't mean every day is a dance party in your pajamas from 9 to 5. Working from home comes with its own set of challenges just like any other job.

Keep reading...
Subscribe to Our Newsletter