Float Next To Logo

I am trying to determine a few things.

First let me say I am working with the default dolphin UNI template.

I have uploaded my custom logo and I am now trying to determine which template file is actually controlling the div sys_ml_wrapper

What I want to do is insert a new div inside of sys_ml_wrapper and float it to the left of the logo.  I don't need help with any CSS or HTML(I have that under control ;-) )  I just need to know which file I need to edit to insert the div.

Thanks :)

Quote · 26 Jun 2010

templates\base\_sub_header.html

If UNI is the only template you will run then the base change will be fine. But if you plan to run more than one template then copy that file from base into the tmpl_uni folder.

https://www.deanbassett.com
Quote · 26 Jun 2010

Ok, so let me make sure I understand you correctly and allow me to elaborate a bit.

What I did was I copied the UNI template and called it baseball1

So if I make any changes to the templates files in the base folder, I need to copy those to the corresponding folder with in my tmpl_baseball1 folder too?  Does that apply to CSS files within the base folder too?  I have just been making changes to the files in the base folder and not copying them to the tmpl_baseball1 folder.  I take it I am doing this incorrectly?

I am sorry, but this is my first go at using dolphin and I am obviously not up to speed with how the templating engine fully works.

Chad

Quote · 26 Jun 2010

Ok, so let me make sure I understand you correctly and allow me to elaborate a bit.

What I did was I copied the UNI template and called it baseball1

So if I make any changes to the templates files in the base folder, I need to copy those to the corresponding folder with in my tmpl_baseball1 folder too?  Does that apply to CSS files within the base folder too?  I have just been making changes to the files in the base folder and not copying them to the tmpl_baseball1 folder.  I take it I am doing this incorrectly?

I am sorry, but this is my first go at using dolphin and I am obviously not up to speed with how the templating engine fully works.

Chad

The default template works in a way that it's style files are empty, and only import their contents from the same style files from the ./base/ directory. You can make changes to the files in the ./base/ directory, but this means they may be lost with an update to the installation. You can just copy the entire contents of these files over to their corresponding files in the new template's directory, and all will be well (you can then restore the ./base/ directory to its original, if you like).

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 26 Jun 2010

By default the uni template does not include any template files. It falls back on the ones in base for any that don't exist in the template folder itself.

So now that i know you are running a template in it's own template folder then this is what your do.

Do not make any changes to anything in the base folder.

CSS changes are made in your templates css folder. Those were included with the uni template with a include line at the top of each to pull the base copy in and you just over ride. I am sure you figured that out.

The template files however work different. If the templates folder does not have _sub_header.html it uses the one in base automatically. This is why you don't want to change the one in base. Instead copy _sub_header.html from base to tmpl_baseball1 and change the copy in tmpl_baseball1 leaving the one in base untouched.

My skills as explaining things are poor. I am not a good teacher.

https://www.deanbassett.com
Quote · 26 Jun 2010

I did not even think my last post took. The site went down again just as i submitted it.

https://www.deanbassett.com
Quote · 27 Jun 2010

@deano:

Thanks for your help...you explained it very well.  I am glad this issue came up so early on so I could correct it with out much loss of time.  I can see its going to take me a lil' while to get the hang of the way everything is incorporated.

@magnu:

Thanks for your input as well.  I assumed that the reason you shouldn't edit files in the base folder was due to updates over writing them.

Thanks all :)

Quote · 27 Jun 2010
 
 
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.