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 ...Dnn suddenly creating Rogue FormDnn suddenly creating Rogue Form
Previous
 
Next
New Post
3/1/2011 11:03 AM
 
Ok, so I created a new content pane and inserted the DNN Fancy Image Slider. Problem is, when it exists, it creates a rogue form around the page that throws everything off.

Picture of generated HTML

Source HTML:

<div class="SlideShowBg">
     <div class="SlideShowContainer">
        <object id="SlideShowPane" codetype="dotnetnuke/server" codebase="CONTENTPANE">
            <param name="class" value="SlideShowPane" />
        </object>
    </div>
</div>

I HAVE had this same problem previously, with just the HTML, before this module was ever installed, but I don't remember how I fixed it, so I don't think it's the module. I think it's the module setting off some "bug" in DNN.

Any Ideas?
 
New Post
3/1/2011 6:10 PM
 
Did you give it a new pane name, or do you have two instances of "ContentPane"?  This could be causing some confusion.  Pane names need to be unique.

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
3/1/2011 6:19 PM
 
<div class="SlideShowBg">
     <div class="SlideShowContainer">
        <object id="SlideShowPane" codetype="dotnetnuke/server" codebase="CONTENTPANE">
            <param name="class" value="SlideShowPane" />
        </object>
    </div>
</div>

Did I not do that right? I thought id="SlideShowPane" was the identifier?
 
New Post
3/1/2011 6:43 PM
 
I would suggest you go back to the modules developers and ask them if they are aware of any current issues.

But  having said this - why do you believe this is a rogue form?  EVERY - asp.net page requires the existence of a single form to ensure that the postback system functions correctly.

<body id="Body">
 
    <form name="Form" method="post" action="/default.aspx" onsubmit=" return WebForm_OnSubmit();" id="Form" enctype="multipart/form-data">

This code will exist on EVERY DNN site - its not a rogue form - its the asp.net postback wrapper generated by default.aspx whenever any page on your dnn site is called.

I would however suggest that you look more closely at your skin for the cause of the problems - when you say you added a second contentpane - you are aware that each contentpane name on a skin must be unique -   you cant have two contentpanes named CONTENTPANE.

You will need to name your second content pane something else "CONTENTPANE2" or "FancyImagePane"  or some such

Westa



 
New Post
3/1/2011 7:03 PM
 
But having said all this = all you actually need to do to add a new content pane to your skin is the following:

<div runat="server" id="SlideShowPane"  class="SlideShowPane" ></div>

DNN will handle the work of injecting the correct objects at runtime - there is no need for your to inject physical CONTENTPANE objects into the skin.
And in fact I'm reasonably sure doing so may actually cause problems since the contentpane loader actually iterates the skin looking for <div <p <td specific objects which it registers as panes dynamically.

Westa

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Dnn suddenly creating Rogue FormDnn suddenly creating Rogue Form


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