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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0EditUrl() and ItemIdEditUrl() and ItemId
Previous
 
Next
New Post
2/21/2008 12:23 PM
 

Ok... I see I think. Out of curiosity, why is this done this way out of the box? I understand it is meant to give you the ability to add multiple items to a given module instance, but does the Html control really even have that functionality? By definition, isn't the mapping 1:1 (Module:Item)? Just seems odd to me (Unless this is to give the "Click here to edit" functionality to the module?).

So because my module will never use this functionality, and the mapping will be 1:1, I can essentially remove the entire ItemId field and key on ModuleID, and remove all this non-sense, correct?

I can see where this would come in handy for another module Im writting though...

 
New Post
6/3/2010 3:41 PM
 
I'm trying to pull content from a seperate module.

Anyone know how to get the Item ID to replace the I_NEED_ITEMID below:?
1.DotNetNuke.Modules.Html.HtmlTextController objHTMLController = new DotNetNuke.Modules.Html.HtmlTextController();
2.DotNetNuke.Modules.Html.HtmlTextInfo objHTMLInfo = objHTMLController.GetHtmlText(ModuleID,I_NEED_ITEMID);

--------------------------- Carlos ---------------------------
 
New Post
6/3/2010 5:10 PM
 
nevermind... was able to do it like this:
DotNetNuke.Modules.Html.HtmlTextInfo listHTMLInfo = new DotNetNuke.Modules.Html.HtmlTextController().GetTopHtmlText(404, true, DotNetNuke.Common.Utilities.Null.NullInteger);

--------------------------- Carlos ---------------------------
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0EditUrl() and ItemIdEditUrl() and ItemId


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