Dolphin block design question....

Hello Dolphins,

I'm using the Facebook template and I want to change my blocks design. Right now my design has no borders, only the top line and title of the block. My question is What is the Dolphin default design for blocks and where do I find it? I also bought Deano92964 Block Tools which I can use after I find out about the default design and how to restore it.

T h a n k   Y o u u u !

Sometimes communicating your problem and putting it out there is enough to solve it
Quote · 2 Mar 2011

well what would most likely benefit you the greatest, if you set your site to template switcher on, then use firebug from FF, and or chrome, to analyze your sites style elements. because the design boxes on uni will reveal how to add those borders and exactly where they are located, you can then replicate the same function.

 

be sure to turn off caching of the template when you are styling.

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

Yours are different then the defaults because you have a custom template.

Look in your templates folder.

templates\yourtemplatename\

In there you look for files named designbox_X.html where X is the number of the design box as shown in my tools

Now if your template does not have any of these, then it is using the default ones found in templates\base

Each design box has CSS for it. A lot can be done with just the CSS alone, but advance designs may require the box design be changed.

What you will want to do is leave the default ones alone and create new ones to use. This way you don't screw up any of the originals.

Refer to this post for instructions on creating new design boxes. http://www.boonex.com/unity/forums/#topic/Custom-Design-Boxes-Each-block-on-page-can-be-different-.htm

https://www.deanbassett.com
Quote · 2 Mar 2011

Deano,

I checked  template/my template name/  and it has designbox_1.html / designbox_4.html and design_box5.html

On template/base I have designbox_0.html and also designbox 1/2/3.  Your mod shows most boxes are designbox #1 .

I thought that your mod will give me the ability to change the design without messing around with files and programming since I have no idea how to do it but I'll try to learn some more about it and I'll figure it out . If I wont manage I'll let a designer take care of it and then your mod will be helpful from that point on.

Thank you Deano, I appreciate your help.

And thank you Dosdawg as well.

 

Sometimes communicating your problem and putting it out there is enough to solve it
Quote · 2 Mar 2011

No. Sorry. The mod only gives you the ability to change the design box the block is to use. It's not available in the standard dolphin admin.

But it can't help you actually create a design. Creating the designs still has to be done by hand.

The only ones in the base template that are actually used is 0 and 1. 0 is a box with no borders or headers. and 1 is the default design. If your template also has a 1 then it is used for your template instead of the one in base. And yes, most blocks use designbox 1




https://www.deanbassett.com
Quote · 2 Mar 2011

I am at some point in time going to write a design box creator. Just have not had the time.

It would be a complex mod.

https://www.deanbassett.com
Quote · 2 Mar 2011

Thanks Deano,

I knew your mod wont create a new design for me but I thought that Dolphin default design will exist in my files and if I can restore them your mod will perfect for me. And by the way If I may suggest, please save your time and your amazing skills and willingness to help to the Spy module. Some of us hate all those useless comments on our wall every time we do something on the website. I know its a different subject and post but it's worth mentioning.

Take care my friend.

Yuval

Sometimes communicating your problem and putting it out there is enough to solve it
Quote · 2 Mar 2011

By the way, If I get one of the guys to copy default designbox_1.html and send me this file, will I be able to upload it to replace the current design I have?

Your idea of design box creator can be very helpful to all of us.

Sometimes communicating your problem and putting it out there is enough to solve it
Quote · 2 Mar 2011

Hi Guys,

I have a favor to ask. Can someone please copy paste the Dolphin default designbox_1.html . It should be the gray block design as you see in all Dolphin standard websites. I need this to design my blocks and I'll appreciate your help on this.

My Best.

Yuval

Sometimes communicating your problem and putting it out there is enough to solve it
Quote · 3 Mar 2011

just go here download the zip and you will have a copy of the complete dolphin files on your comp or install a test site on you server so you can play around with it with fear of messing your live site up

 

happy thoughts

Quote · 3 Mar 2011

 

just go here download the zip and you will have a copy of the complete dolphin files on your comp or install a test site on you server so you can play around with it with fear of messing your live site up

 

happy thoughts

Thanks man. I didn't know its available here.

Great idea!!

Cheers :)

Sometimes communicating your problem and putting it out there is enough to solve it
Quote · 3 Mar 2011

here

Quote · 3 Mar 2011

Just having a copy of the designbox html is not going to be enough. Sorry, not quite that easy. You will need the css for it as well. Let me try to explain.

Here is the default

<div class="disignBoxFirst">
<div class="boxFirstHeader"><div class="dbTitle">__title__</div>__caption_item__</div>
<div class="boxContent">__designbox_content__</div>
__bottom_item__
</div>

Now each div has a css class. That css is what determines what the div will look like when rendered.

Here is the same code only i marked the classes in red.

<div class="disignBoxFirst">
<div class="boxFirstHeader"><div class="dbTitle">__title__</div>__caption_item__</div>
<div class="boxContent">__designbox_content__</div>
__bottom_item__
</div>

Now you will need to get the css for each of those classes from the css file in templates\base\common.css

Sometimes the class will appear more than once with a html selector with it, so you need all sections where these class names appear.

So, even if you were to restore the default html in your custom template, the CSS will still cause a problem

So the proper way to do things is to make a copy of the default designbox html file, give each class a unique name and make sure those names are changed for the css as well and you now have a unique box you can now play with that will not interfere with any of your existing boxes.

This is described in the link to my tutorial i posted earlier.

http://www.boonex.com/unity/forums/#topic/Custom-Design-Boxes-Each-block-on-page-can-be-different-.htm

https://www.deanbassett.com
Quote · 3 Mar 2011

I don't have the experience and I have never done anything like it Deano. I will just rather pay someone to do it for me so that I wont mess things up.

Thanks for the details and  knowledge. I learn a lot from this forum and one day I hope I'll know what you already teaching.

Have a great weekend!

Yuval

Sometimes communicating your problem and putting it out there is enough to solve it
Quote · 4 Mar 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.