Osclass now provides built-in profile (avatar) image uploader feature, however most of themes does not leverage it as they were built on profile picture or avatar plugins. Let’s take a look how to quickly integrate built-in image uploader to your theme as well. We will use “your_theme” as sample, replace it with folder name of […]
Category: Themes
Translating and editing language files (.po and .mo)
Translations in backoffice In Osclass 8.1.0 and later, it is possible to translate themes, plugins and Osclass core directly in backoffice, without need to find/allocate .po and .mo files or use external program or service. To enter translation section, navigate to International > Translations. Note: Save translations regularly, set PHP variable max_input_vars to large number, […]
How to create child theme
A child theme is a theme that inherits the functionality of another theme, called the parent theme. Child themes allow you to modify, or add to the functionality of that parent theme. A child theme is the best, safest, and easiest way to modify an existing theme, whether you want to make a few tiny […]
How to create theme
Osclass allows you to use themes in order to change the appearance of your site and make it unique. This page will explain the process to create a theme for your site. Themes must be placed inside oc-content/themes/ folder. What is GUI? GUI is a fallback theme, included in Osclass, if you mess up and delete your themes […]
Updating your themes to Osclass 3.x
In Osclass 3.x we introduce some changes on theme’s information, which is located in <your_theme_folder>/index.php From this : <?php function yourtheme_theme_info() { return array( ‘name’ => ‘Your Theme’ ,’version’ => ‘1.0’ ,’description’ => ‘This is Your theme’ ,’author_name’ => ‘You’ ,’author_url’ => ‘http://www.example.com/’ ,’locations’ => array(‘header’, ‘footer’) ); } ?> To this : <?php /* Theme […]