Creating Sharetronix themes is as easy as in any other open source platform of this type. To create the theme you need knowledge of HTML and CSS at practical working level, and in order to make a really great graphics site/page you will need to be able to work with graphic editors such as Photoshop.
When you install your Sharetronix version you will find a folder "themes" in your installation folder. It contains the 5 themes that come with Sharetronix by default. From the administrative panel you can choose your site’s default theme. Script itself detects themes but if you want to see a theme in the Admin panel you just need to upload it in its own subfolder within the folder “Themes”.
The easiest way to create your own theme is to open any of the free themes included in the downloaded package. We recommend using the theme Simplicity, which was designed by our team specifically to facilitate the creation of new themes.
When you design your theme, go to Simplicity (or any of the other themes) and check the HTML code embedded variables. Those variables must be integrated into the HTML of your new theme in order for the template engine to replace them with their dynamic values and ultimately to obtain a correct rendering theme for Sharetronix.
Here is a concrete example of how to make sure that whenever a user clicks on the logo he or she will go to the system’s home page, regardless of the URL of your Sharetronix installation.
When you make your theme, the logo above may look like this:
<a href="#"> <img src="logo.gif"> </ a>
To always have the correct URL, you must replace it with one variable as follows:
<A href ="<?= $ C-> SITE_URL ?>">< img src = "logo.gif"> </ a>
When the template engine processes this code it will replace the <? = $ C-> SITE_URL?> with the URL of your installation. This is how theme templates usually work.
When you create your own theme there is something important that you should not overlook. In the theme folder you have to put a file named theme.gif, which is a screenshot (logo) of the theme. This file will be visible in the Sharetronix admin panel when you go to the option to change the theme.
Furthermore the thumbnail of the theme in the folder should be a file named theme.php, which contains some important parameters that describe the topic. If you develop your theme based on Simplicity you can simply change the same file by filling in details for the new theme and for you as its author.
If you have difficulties setting up a new theme, you can always ask questions in the Sharetornix community at address: http://sharetronix.com/opensource/demo/
Please type in the digits from the image