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...Administration ...Administration ...Module does not Align Left without containerModule does not Align Left without container
Previous
 
Next
New Post
2/9/2006 7:50 AM
 

Well, I tried to upload an image to help out with describing my situation but... no go.  Anyway, try to follow along...

This question/issue has been posted in at least one other thread but there was no clear cut answer (as far as I could tell).  I would like to have a DNN core "links" module to left align in the left pane of my page.  If I use the left align option in the page settings and display the container, it works.  But, I don't want the container to show.  I only want to show the link list as a pulldown menu with a descriptive header and the "Go" link.  So, when I display the module without the container only the pulldown and header show (good ) but the module info (read: header text and pulldown menu) is center aligned (bad ).  I've tried a number of (basic) things to no avail- short of diving into the code (which aside from a basic knowledge of VB and ASP I would have no clue what I'm doing) - such as:

  • Using a FONT Align="Left" tag in the header (with the closer tag in the footer of course)
  • Using the Alignment Right option in the Page settings (just to test it out really)
  • Even putting a FONT Align="Left" tag in the footer of the module above this module
  • Putting a border around the module, etc, etc.

Basically I've found that the container, or rather the displaying or not displaying of such, is the common denominator in all this.  Essentially:

  • With Container:  the Alignment works the way you set it in Page settings.
  • Without Container: the Alignment is always centered.

Please tell me there is a solution or workaround for this .

 
New Post
2/9/2006 8:40 PM
 

The quick answer is to use a container which is basically "invisible"... lots of them out there, but here is code for one.  Note that this one has not title, nor the min/max button.


<%@ Control language="vb" CodeBehind="~/admin/Containers/container.vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.UI.Containers.Container" %>
<%@ Register TagPrefix="dnn" TagName="ACTIONS" Src="~/Admin/Containers/SolPartActions.ascx" %>
<table width="100%"  border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td align="left" class="Head" nowrap><dnn:ACTIONS runat="server" id="dnnACTIONS" /></td>
  </tr>
  <tr>
    <td valign="top"><span id="ContentPane" runat="server" width="100%" ></span></td>
  </tr>
</table>


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
2/10/2006 2:12 PM
 

Forgive me Scott.  I'm a newbie to DNN and have but a limited knowledge of ASP.net (although a basic working knowledge of VB and ASP)...

Where does this code go?  I'd rather not have to rebuild the site.  If I could just cut and paste that into a certain file, that'd be great.  But like I said, I'm new.

 
New Post
2/11/2006 12:24 PM
 

DNN uses Skins / Containers for decorating a site.  The files which enable this are located ( respectively ) in:

\Portals\<x>\Skins\<skin name>\<files>
\Portals\<x>\Containers\<container name>\<files>

<x> is either a portalid ( for its private skins ) or "_default" for host level skins which are available to all.

Try putting that code into a file named "Invisible.ascx" and put it here:

\Portals\_default\Containers\MyContainers\Invisible.ascx

Then select it as your container for the module in question and see if that works for you?

Cheers


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
2/13/2006 7:50 AM
 

Right On! 

That's the one!  Thank you so much Scott.  Your fix not only gave me the desired result but also gave me a small 'snippet' into the world of DNN.

Thanks for your time!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Module does not Align Left without containerModule does not Align Left without container


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