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/
  1. Emperatoor I want a them for my site, can anyone help me with that?
    Jun 22, 2010 at 04:23 pm
  2. Shawn Gossman Great blog post!
    Jun 22, 2010 at 09:10 pm
  3. NrFive Hi,

    Currently trying to figure out the .css for the themes. But which .css are required to change the site? Also it is quite confusing to see which parts are used for which sections of the lay-out. Simple things like background color or default table colors.

    Suggestions on where to find these?

    PS:
    Love the tool :)
    Jun 23, 2010 at 05:39 am
  4. nitin if you are confusing in the css then use firefox with firebug addon. Move your Cursor over the any part of webpage and it can tell you each and every single detail of that ever it tell on which line in css it exists...
    Jul 04, 2010 at 07:59 am
  5. mahdi i want Free theme for Sharetronix.
    Jan 18, 2011 at 09:03 pm
You are not logged in. Do you wish to post an anonymous comment?Login
*
* E-mail address will not be published
* URL address starting with http://
Incorrect characters
Please type in the digits from the image
Comment content cannot be empty.
You are not logged in. Do you wish to post an anonymous comment?Login
*
* E-mail address will not be published
* URL address starting with http://
Incorrect characters
Please type in the digits from the image
Comment content cannot be empty.