Dolphin Customization

I am looking to create templates for my site. I have looked into the uni folder and notice that the css files look to import a css from the base folder. I have read a template tutorial regarding what to do however, I am unsure.

http://www.jamestadeo.com/dolphin/boonex-dolphin-tutorial-how-set-up-dolphin-template.php

Based on that tutorial, it says to make the changes in the UNI folder, but I can't seem to see how I can make changes to a css file that only has one line of code telling it to import another css file from a different folder.


Can someone enlighten me a little?

 

Thanks

Jeremy
Quote · 14 Feb 2011

http://www.boonex.com/trac/dolphin/wiki/DolDesign

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 14 Feb 2011

So if I am understanding this correctly, I am to leave the base folder as is...and just add my custom coding to the uni files such as styles to the css files to make it look as I want. And for the html files...just make a copy of them in my new template folder I created and edit them as I need to and it's those files that will be used instead of the base files...correct? I am assuming the same for images I want to use instead of default images.

Jeremy
Quote · 16 Feb 2011

the methodology would be to copy the uni directory, rename it to what you want to call the custom template, you need to edit the tmpl_config file i think it is as well and make sure it has the correct name.

 

also part of that would be to also in all modules that are using a template, you need to create your template files in there as well. i would leave the tmpl_uni intact, just in case you have to revert back to it in an emergency.

So if I am understanding this correctly, I am to leave the base folder as is...and just add my custom coding to the uni files such as styles to the css files to make it look as I want. And for the html files...just make a copy of them in my new template folder I created and edit them as I need to and it's those files that will be used instead of the base files...correct? I am assuming the same for images I want to use instead of default images.

the css files that you see that are running on @import, you can in fact, copy those specific files from base, and lose them in your tmpl directory, so that you are not using the @import.

 

When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support
Quote · 16 Feb 2011

 

So if I am understanding this correctly, I am to leave the base folder as is...and just add my custom coding to the uni files such as styles to the css files to make it look as I want. And for the html files...just make a copy of them in my new template folder I created and edit them as I need to and it's those files that will be used instead of the base files...correct? I am assuming the same for images I want to use instead of default images.

Dawg is correct.  Don't edit the base files, or those in tmpl_uni.  Make a copy of the entire tmpl_uni folder, and name it tmpl_SomeTemplateName

In your new templates /script directory, edit the file: BxTmplName.php  Look for the code below , and change 'UNI' to 'SomeTemplateName'  'SomeTemplateName' is the name you will then see in the drop down list in admin, as well as on the template switching menu on the user side, if you have template switching by users enabled.

$sTemplName = 'UNI';

 

After you do this, any css that you add to your new templates css files, will override the base css..... as long as you place it AFTER he import statement.  For beginners, it is probably easier to do as Dawg said, and just copy all the css files from the base directory, and use those.  Doing this will slow the loading time of your site a bit, but it's not something you need to worry about until you have a little more experience working with the template.

My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.
Quote · 16 Feb 2011

Thanks. I read on and created a template today for it. Come out pretty good. I just need to add a custom background image and a color change.

Jeremy
Quote · 17 Feb 2011
 
 
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.