creating new template for your website

suchigeorge posted 2nd of June 2009 in Community Voice. 8 comments.

To create a new theme folder inside the template folder.
Create a new theme folder. eg: tmpl_sample.
CSS Folder:
The new Css files for the theme are included in the Css Folder.
\tmpl_sample\css
Image Folder:
The new images for the theme are included in the Image folder.
\tmpl_sample\images
Script Folder:
Change the new template name in the files

BxTemplConfig.php
\tmpl_sample\scripts\ BxTemplConfig.php ( line no: 39,40,41,42)
BxTemplName.php
\tmpl_sample\scripts\ BxTemplName.php ( line no: 21)
To hide the top member  block links(join, member Login),
\tmpl_sample\scripts\ functions.php ( line no: 217)
[delete the contents inside the block]
Admin panel
Login to admin panel.
To change the template,
Settings->Advanced Settings
In the Advanced Settings page , at the bottom select the template name from the template dropdown box. Click save changes button. 
To change the position of the block in the page,
Builders->Pages Builder
Select the page,arrange the blocks.

HTML Files:
To modify the layout of the Footer
\tmpl_sample \_footer.html
To modify the layout for the default pages,
\tmpl_sample \default.html
To modify the layout for all the blocks in the home page, 

\tmpl_sample \designbox_1.html

To modify the layout and appearance for the Member Login Form,

\tmpl_sample \login_form.html

To modify the Layout for the Search Page,

\tmpl_sample \page_4.html

To modify the Layout for the Group Page,
\tmpl_sample \page_74.html
To modify the Layout for the Search Result Page,

\tmpl_sample \searchrow.html

 
Comments
·Oldest
·Top
Please login to post a comment.
Juker
Suchigeorge,

This a really dynamite post. Thank you.
I really enjoy these "how to" gestures and I want to thank you for taking the time to participate and help out.

Juker
Pundit

(NOTE TO MODERATOR: This type of post justifies the creation of a new blog category called: "HINTS & TIPS") et al.
TheSoMeEx
Thanks so much! I look forward to delving into the templating, perhaps as early as this weekend.

So far, I have not bee overly impressed by the templates available, and I am curious to see what challenges face me in designing unique sites with this software. *smiles*
james878
i have downloaded some free templates from http://www.cogzideltemplates.com/blog/webdesign/dolphin-template-free-download

i have followed all your steps but the new template doesnt show in my admin panel under advanced settings drop box....could you please check it out and tell me how can it be done?
suchigeorge
hi,

just follow the below steps,

Copy the template folder into the /template folder of your root folder.

Modify the following files inside the template that you have pasted,

1) BxTemplConfig.php
\tmpl_sample\scripts\ BxTemplConfig.php

Change the following lines.

line no 39:
$site['images'] = $site['url'] . "templates/tmpl_sample/images/";
line no 40:
$site['zodiac'] = "templates/tmpl_sample/images/zodiac/";
line no 41:
$site['icons'] = $site['url'] see more . "templates/tmpl_sample/images/icons/";
line no 42:
$site['css_dir'] = "templates/tmpl_sample/css/";

BxTemplName.php
\tmpl_sample\scripts\ BxTemplName.php

Change the following lines.
line no 21:
$sTemplName = 'sample';

After changing these steps , if the template name is not displaying in the admin panel.
please send ur url with admin details, i will check

thanks
regards,
Suchi george
suchigeorge
hi
did u changed the template name?
if yes, change the name of your template name in the above specified files instead of 'sample'.

if not check whether u r getting the template naem 'sample' in the dropdown of the advance settings in the admin panel.

Thank you
barrydeez
i have a question about this suchigeorge. it seems that if you upload a new template into your files, there is a name already present in there that is different than the uni file. i am having a confusing time with this and maybe you can help.

first i copied the original uni file and did the specified mods you said with no problem. i called it templ_test. then i also uploaded two different templates with there own names in the files, so i didnt think it was necessary to change them. maybe im see more wrong about that?

well....none of the three names come down in the drop down on my admin panel>advanced settings. only the original UNI. any suggestions? is there another file to modify to make my new templates recognized?
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.
PET:0.054815053939819