your social network and dating script provider

Change skin Change skin

How to create a new skin the easy way

In this first tutorial we'll explain what a skin is and how to create a new skin for your site.

Once you purchased and installed Etano community builder on your server, the next step should be changing the default look&feel so your site would look differently than the rest. You could make changes to the default skin directly but it is preferable to create a new skin and make changes there so you could later compare the two or even switch between them if needed.
Also, you will need a new skin if you want to have your site in 2 languages: a skin would be for the first language, the second skin for the second language. Of course, you could have any number of languages on your site, not only 2.

A skin is made up from 2 parts:
 1. The html files (and graphics and styles).
 2. The language files with translations of every message of the application.

To help you create a new skin we made a helper plugin that will take one of your existing skins and clone it.
Not only that but will also take the language files from another skin (or the same if you wish) and use it for the new skin.
Once the helper is finished you will have a new skin which you can play with, change its design, try out new ideas on.
And you can repeat this process as many times as you want.

To download and run the skin clone plugin you have to go to your admin panel - Package Manager and click on the "Check Now" button to check for updates on the Datemill server.
In the list of updates you should see the "Clone a Skin" plugin. Simply click on the 'Install' link and the plugin will be downloaded to your server and started.
You will be asked to select the skin(s) to clone and the name and path of the new skin. After a short while, the plugin will finish its job.

Before you can use the skin you will have to regenerate it. Just go to "Skin Settings" in the left menu (under the "Site Setup" category) and click on the 'Regenerate' link next to the new skin. Your new skin is now ready to use.
If you want to translate it click on the 'Translate' link next to the new skin and a page will load with all strings to be translated.

To switch to the new skin go to http://www.my-etano-site.com?skin=<skin-folder-name>
Obviously, you will have to replace "my-etano-site" with your actual site and <skin-folder-name> with the folder of the skin (you provided this during the clonning process). The site skins are in <site root>/skins_site path - you can take the folder names from there.
For example, the default skin folder that comes with Etano community builder is 'def' so to switch to the default skin you would enter http://www.my-etano-site.com?skin=def
Posted on 11/11/2007 11:44 PM by in Tutorials

Comments (11)

top Johnboy said on 13/11/2007 01:50 AM :

Mmmh I think I understand, so if I made a skin and the skin folder was called sunshine, would I use this url
http://www.my-etano-site.com?skin=sun
or this one
http://www.my-etano-site.com?skin=sunshine

top datemill said on 13/11/2007 03:38 PM :

http://www.my-etano-site.com?skin=sunshine
You can try this on our site with http://www.datemill.com?skin=def and http://www.datemill.com?skin=green

Last edited by datemill on 2007-11-13 12:58 GMT

top datemill said on 13/11/2007 04:13 PM :

It works on every page of the site, but depending on the url it's not always a question mark before skin=<skin-folder-name>...if there's already a question mark in the url then you need to append &skin=<skin-folder-name>.
That's why I explained with http://www.my-etano-site.com?skin=<skin-folder-name> only.

top Johnboy said on 17/11/2007 07:30 AM :

Oh Ok That sounds really good.
Any idea when we can be upgraded to the new Etano.

top boboangkasa said on 17/11/2007 05:17 PM :

Hi Johnboy, we have already recieved the download link for ETANO, haven't you got yours?

top Johnboy said on 18/11/2007 02:27 PM :

NO !!
I haven't ohmy

top datemill said on 18/11/2007 04:24 PM :

Johnboy, we sent you at least a message by email you haven't responded to.
See this discussion about the free upgrade on the forum.
Please note that the offer starts officially sometime next week. This is more like a rehearsal for the big event and it's a good thing because we've found some more bugs.

Last edited by datemill on 2007-11-18 13:27 GMT

top Johnboy said on 19/11/2007 12:02 AM :

Hey Dan

No I havent received any emails from you guys for quite a while.

I have filled in the request form at
http://forum.datemill.com/index.php?topic=1853.0

I look forward to the new software.

Cheers
Johnboy

top Johnboy said on 19/11/2007 02:21 AM :

Geez just after I said that, I notice there IS an email from Datemill in one of my my inboxes. It came thru Sat night when I was out gigging and my partner must of opened it and not told me.....Sorry

top Johnboy said on 22/11/2007 01:03 AM :

I am now playing around with my new software, and I am wondering what I should edit and what I shouldn't as I do not know what is going to happen when the migration script is applied to my site.

Will it transfer all the profile options and categories as well as the users details such as sex, age , location etc or what?

Can someone tell me so I can get started on putting in what I want to put in.

Cheers
Johnboy

top Maryam said on 14/12/2007 07:02 AM :

Some pages you don't edit include: home.php, .htaccess, blog_view_left.php, frame.php & several others. One way to tell is to view the file in your cpanel. If the file page shows the words "access denied" or the page constantaly shows the login.php no matter what page you go to, you should log in first with a pretend user name so you can view these pages.

Leave your comment

Your Name:
Your Website (optional):
Verification code:
 
Enter the characters from above.
Add to Technorati Favorites

Archives