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, ...Container IDContainer ID
Previous
 
Next
New Post
8/9/2006 11:56 AM
 

I think that we need an identification of the module including their container. At the moment there is not way to identify the container of a module, hindering certain operations of design of the module layout. For example: it is not possible to add in a page two instances of the same container with different colors.  
 
This identification lack produces an exponential proliferation of containers: the same box multiplied by each color header+background+borders+footer,  images for borders and squares, etc.  
 
I think that it would be more appropriate if a property could be added in "module settings" to assign a class or css that identify the whole module and allows to modify the appearance of the container from portal.css go.

Thanks for read it and for your comments,

Luis

 
New Post
8/11/2006 6:43 AM
 

Hello Luis

You can have the same instance of container design but have two different colours. It does require you to put in specific classes so there is no collision in the CSS.

I'm not sure what you mean by no way to identify the container of a module. Perhaps I'm missing something here.

Could you please clarify it for me, as I am interested in your perspective and if perhaps there are some suggestions that could be made. 

I've created container sets that are identical in design, but diffrent in colour and have been displayed correction on the pages, so it is possible.

Nina Meiers


Nina Meiers My Little Website
If it's on DNN, I fix, build, deploy, support,skin, host, design, consult, implement, integrate and done since 2003.
Who am I? Just a city chic, having a crack at organic berry farming.. and creating awesome websites.
 
New Post
8/11/2006 11:58 AM
 

Hello Nina, is my pleasure to converse with you. 
 
I will try to explain better, using my poor English:  may be the title should be Container Classes.
 
Let us suppose that in the Homepage we need two simple boxes with borders in the same panel for the modules moduleY and moduleB: one yellow and the other blue. At the moment we need to create and to name two containers: CYellow and CBlue. Both containers has the same structure, the only difference is the color of the border. I understand that we should make it today, but this means multiples container files and little flexibility.

My proposal to make the same work:

1. To create a neutral container CBox (CBox.html/CBox.ascx and CBox.css)
 
2. Add moduleY module to the page. In moduleSettings to assign the container CBox, and set a value cssYellow in a proposal field CSSStyle. 
 
3. Add moduleB to the page and set container to CBox too, but this time assigning to CSSstyle field a cssBlue value. 
 
4. Go to portalSettings cssEditor and add something as this: 

/* for containers CBox-Yellow */
.cssYellow TABLE {border-color:Yellow; background-image:...; padding-top:,..., etc}
.cssYellow .NormalTextBox { font-size: 15px,... }

/*for containers CBox-Blue */
.cssBlue TABLE {border-color:Blue; background-image:...; padding-top:,..., etc}
...


a brief comparison of the html generated looks like:

Current HTML generated. Proposal

!here there is not identification of the total block
<a name="1745"></a>

container header tags (title, etc)

<td id="dnn_ctr1745_ContentPane" class="moduleBody" align="left">
 <!-- Start_Module_1745 -->
 <div id="dnn_ctr1745_ModuleContent">
 <!-- End_Module_1745 -->
 </div>
</td>


<div id="dnn_ModuleBlock_145" class="cssYellow"> 
<a name="1745"></a>

 container header tags (title, etc)

 <td id="dnn_ctr1745_ContentPane" class="moduleBody" align="left">
  <!-- Start_Module_1745 -->
  <div id="dnn_ctr1745_ModuleContent">
  <!-- End_Module_1745 -->
  </div>
 </td>
</div>

 
I believe that this approach is very simple and flexible to customize containers and I think that it represents minimum changes in code source.
 
This suggestion will also allow that the clientAPI knows who is the module-container and it will allow many other features.

I hope that you have understood my clumsy explanation and that the core team considers its benefits.

Best Regards,

Luis

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Container IDContainer ID


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