Templating

EasyDiscuss comes with pre-installed themes for you to apply. Here, you will learn all about these themes, from enabling them to configuring them. Get creative!

Template Overrides

Template overriding is a standard feature that comes with Joomla!. It's sole purpose is to allow you to customize your layout without modifying the core files and contents of the components or modules that you've installed on your Joomla! site.

The Benefits

There are tones of benefits if you performed template overriding rather than modifying the core files. Some of it includes:

  • Hassle free upgrades.
  • More control over theme files.
  • Easier to customize.

Eventhough most of customization can be done with custom.css, there are times when modifying a theme file is the best solution. Of course you are never gonna modify a core theme files, but duplicating the desired theme file and place it in Joomla! template instead.

Creating PHP Overrides

Before begin creating template overrides, first you will need to create your template override folder. In this example, assuming that your template's name is /mytemplate/ and you wanted to create an override for points and notifications page, you will need to create a folder in your template file:

/templates/mytemplate/html/com_easydiscuss/points/default.php
/templates/mytemplate/html/com_easydiscuss/notifications/default.php

The folder /mytemplate/ above would contains all components or modules overrides. Once you have created the folder above, you will need to copy the desired existing file over the folder that you have created earlier.


Creating CSS Overrides

Creating CSS override in EasyDiscuss is almost identical to PHP Overrides. To begin, you will need to create a file named custom.css in this directory:

/templates/mytemplate/css/custom.css

Assuming you would like to customize Notification Module, you can add this CSS override in the custom.css file.

#ed .m-notification__wrapper {
    display: none;
}

Here is another example. Assuming that you would like to hide the statistics for each discussion, you can simply put this CSS override in the custom.css file.

#ed .ed-posts-list .ed-statistic {
    display: none;
}

Note

  • This CSS overrides will not be overriden by EasyDiscuss upgrades. However, it is a best practice to do a backup of your entire site before proceeding with upgrades so that if anything went south, you will be able to revive your site back.
  • All the theme files are by default inheriting from the default theme; Wireframe. Which means, if you're using the Flatt theme, it will inherit files that are not overriden from the default theme.
Please read our Support Policies before requesting assistance for customization.