Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to put a banner graphic on right of the logoHow to put a banner graphic on right of the logo
Previous
 
Next
New Post
6/8/2009 9:52 PM
 

Hi

How to put a graphic on right of the logo in Dnn5.x and Dnn4.x. The Banner module only can be inserted into the content pane, but not into the right of the logo on top. I found that in Admin site settings, there are three options for banners: none, site, host. I chose the host, I supposed that it only affected the banner module. but not affected the space of the right logo. I don't know  if I can insert a graphic banner into the top on right of the logo.

Thanks

Jimmy

 
New Post
6/9/2009 3:02 AM
 

you would have to add a pane to the skin

Change this in the index.html file:

 

                            <div class="logo_pad">
                                <div class="s_logo">
                                    <object id="dnnLOGO" codetype="dotnetnuke/server" codebase="LOGO">
                                    </object>
                                </div>
                                <object id="BannerPane" codetype="dotnetnuke/server" codebase="CONTENTPANE">
                                    <param name="class" value="BannerPane" />
                                </object>
                            <div class="clear_float">
                            </div>                               

                            </div>

And this in skin.css:

/*--------- pane style ----------*/
.ContentPane, .TopPane, .BottomPane{ padding:0; margin:0; }
.LeftPane{ padding:0 20px 0 0; width:20%; margin:0; }
.RightPane{ padding:0 0 0 20px; width:20%; margin:0; }
.s_logo{float:left;}
.BannerPane {float:right;min-width:250px;margin-right:17px}

Select the skins page and parse the skin

I'll add this  to the next version of the skin.

 

 
New Post
6/11/2009 3:50 AM
 

Thank you very much Timo

I haven't try because I think there are still lack of something.
Your pane is creating a room for banner on the right of logo. Whether we need a mechanism that can introduce the specified banner graphics into the room.
We know DNN has a logo introduce mechanism. This includes a user interface that can get the logo information provided by the user and series codes that can put the logo into the DNN specified position. We also know DNN has a banner module introduce mechanism that is same as the DNN common module process that can put the banner module into the content pane. So if we need a mechanism for introducing a banner into the room you created, we have to modify the DNN system codes and create a user interface to get the banner necessary information. This may take the risk to damage the DNN system. I know this is not the skin job but it might be the complete solution. I don’t know if my deductive reasoning is correct.
Thanks again.

Jimmy
 

 
New Post
6/11/2009 4:39 AM
 

 Jimmy, be aware, there are Banners module and [BANNER] skin object, the latter can display banners of the default type and be inserted to the right of the logo - another option is to provide a "banner" pane, where the user may place a banner module or Text/HTML module, if he wants.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to put a banner graphic on right of the logoHow to put a banner graphic on right of the logo


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out