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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Problem with linksProblem with links
Previous
 
Next
New Post
4/28/2008 11:30 AM
 

Hej,

I have for first time tryed to develop at modul and i have to say that the team behind DNN have done a magnificent job! Its easy to extend it and its very stable :)

Well, my problem is that i have some annoying problem with creating links!
The code below do work and its also loading my module, "edit", but it do NOT load the rest of the moduls on my page. I have 4 more contents-pane with some html/text modul that is persistent on all pages. Thoose modul do it NOT load. Can any help me with a solution, becouse i cant see what im doing wrong.


lnkEdit.NavigateUrl = Globals.NavigateURL(PortalSettings.ActiveTab.TabID, "edit", "mid="+ModuleId.ToString(),"recordid=" +flower.RecordId);

 

Best Regards

Bjarne Pedersen

 

 
New Post
4/28/2008 2:14 PM
 

Hi Bjarne,

Two comments here:

1) As you observed, when you include the "mid=###" value in the NavigateURL call, DotNetNuke will display only that module in the mode specified by the ControlKey.  Note that you can use the EditUrl method instead of NavigateUrl here to achieve a bit more conciseness here.

2) When DNN displays the module in this mode, it will use the Administrator skin and not the skin specified in the page settings.  This is probably why your contentpanes are missing.

This is by design, but I agree it can be pretty confusing.  I have seen some discussion about changing this behavior, but am not aware if any progress has been made on the subject.

Someone else may have some better insight than I, but I believe if you want to use a non-admin skin with a control in edit mode, you'll need to implement some custom usercontrol magic.

Brandon


Brandon Haynes
BrandonHaynes.org
 
New Post
4/29/2008 5:17 PM
 

Hi Brandon

I see what you mean, but what can i do about it ?

How would a link look like if i want the missing contentpanes to be visible ?

I can live with the Edit mode in this situation, since its the admin thats using it, but i also need it for a plain anonomus users in other places in my app. There i cant use the EditUrl.

So any suggestion would be very much welcome!

 

Best Regards

 

Bjarne Pedersen

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Problem with linksProblem with links


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