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...Using Modules a...Using Modules a...Popup window settingPopup window setting
Previous
 
Next
New Post
1/7/2016 5:14 PM
 

I have been working on a module and have a problem with disabling the popup feature for the Edit control.
My reason for doing this is my edit control contains too much data for the popup window and I would rather have it in a normal window.

I have changed the setting in the dnn manifest file:

<controlType>Edit</controlType>
                    <iconFile />
                    <helpUrl />
                    <viewOrder>0</viewOrder>
                    <supportsPopUps>False</supportsPopUps>

I can confirm that the setting is set to false in the database.
My edit control will work the way I want it to if I disable popups for the entire site.

 Am I missing another setting somewhere?
Thanks for any help on this.


-Dan
 
New Post
1/10/2016 4:02 PM
 
That setting should be just fine. The key will be to determine how you are building the link to generate the action that the user presses.

If you are using ModuleContext.EditUrl it should respect the setting you have set in the manifest.

(I have noticed that in one situation where I changed things back to false for supportsPopUps that I needed to recycle the site a second time for some odd reason.

-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
1/11/2016 1:20 AM
 

Thanks for the suggestion Mitchel.

The link to the edit control is added through the module actions. 

var actions = new ModuleActionCollection
                    {
                        {
                            GetNextActionID(), Localization.GetString("EditModule", LocalResourceFile), "", "", "",
                            EditUrl(), false, SecurityAccessLevel.Edit, true, false
                        }
                    };
                return actions;

 I did try on a different site and the edit control did not open in a pop up window.
But on the first site it still only opens in a pop up.

Settings on both sites are the same....  weird


-Dan
 
New Post
1/11/2016 1:41 AM
 
Never mind.. doh

I had originally installed the module with the support popup=true and then added the module to a page.
With all the testing I was re-installing the module to the site, but never deleted the module from the page.
After deleting the module from the page and then adding it again fixed it.
Just another lesson learned :)


-Dan
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Popup window settingPopup window setting


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