dotnetnuke

In DNN 9 - How do I display the name and link of the Active Page's Root level Parent?

好久不见. 提交于 2019-12-13 03:50:50
问题 I am trying to add some code I found on this forum in my skin .ascx file to display the name and link of the Active Page's Root level Parent. I am using DNN 9.1.1. Here is where I found the code: How to get name & link of parent page in DNN <a href="<%= ((DotNetNuke.Entities.Tabs.TabInfo)PortalSettings.ActiveTab.BreadCrumbs[0]).FullUrl %>"><%= ((DotNetNuke.Entities.Tabs.TabInfo)PortalSettings.ActiveTab.BreadCrumbs[0]).TabName %></a> It works visually, but I am getting some weird issues. With

How do I overlay an anchor on top of an image using dotnetnuke

被刻印的时光 ゝ 提交于 2019-12-12 21:17:54
问题 I'm trying to edit a DotNetNuke webpage and I have an image that I need to display. On TOP of the image, I'd like to place an anchor. The trouble is that I don't want the entire image to be clickable, JUST the anchor, and I can't seem to get it to work. Additionally, because it's a DNN site I'm not sure if I can edit the CSS, so I'm hoping for a solution that's pure html. I've tried all sorts of combinations but none of them seemed to work. Thanks Below is my test html: <div class="c_head h2

Give view access permission to DNN module when copying the module from another page

旧街凉风 提交于 2019-12-12 06:34:27
问题 I'm copying the list of modules from another page in DNN. While doing this I have to set the view permission for all users to view the modules. Even the other page(copying from) module setting is different. Below is the example where I set other properties. ModuleInfo newModule = new ModuleInfo(); 0newModule.ModuleDefID = module.ModuleDefID; newModule.AllTabs = false; newModule.PortalID = PortalId; newModule.ContentItemId = module.ContentItemId; newModule.ModuleTitle = module.ModuleTitle;

DotNetNuke: GridView incompatible with Data Access Layer?

只愿长相守 提交于 2019-12-12 06:15:50
问题 I'm working on a DotNetNuke module in C#, and in order to cut down on the amount of complexity I have elected to try and keep the configuration of the module in one page (other than the standard Settings module). I now wonder how wise of an idea that is. My module is a simple image gallery, with one or many images. Each image has a title, an image source (url) and a destination (another url). Therefore, I figured that for my admin interface, I could have a simple 'grid' of data where you can

2sxc Permissions by Role

巧了我就是萌 提交于 2019-12-12 05:07:37
问题 Using 2sxc 8.8 for DNN Evoq Content 8.3, is it possible to setup a role that will allow a user to see the buttons, edit and change template / layout, but does not allow them to "Edit Template" and give them "Admin" access? 回答1: This is very simple to do, because once a special user-group exists called "2sxc Designers", only these users will see the advanced buttons. Check out http://swisschecklist.com/en/fwttmwjx/2sxc-Hide-advanced-features-from-Content-Editors-with-Designer-Security-Role 来源:

Change DNN Form into normal GET form

允我心安 提交于 2019-12-12 04:08:24
问题 I'm working on making some changes to a Dot Net Nuke website with a customized skin. I found out that the header to the skins file was located in 'Default.aspx' here. The form has some very strange behavior. I have had to disable the enter button because pressing within the form causes the webpage to go to "/HOME.aspx" however that action is never specified within the Default.aspx. The code is as follows. <dnn:Form id="Form" runat="server" ENCTYPE="multipart/form-data" > <asp:Label ID=

Empty Portals and PortalAlias table after installing DNN on Windows Vista

泄露秘密 提交于 2019-12-12 04:06:55
问题 After installing version 5.02.02 on localhost:81 as a new installation (which didn't run smooth but OK'ed in the end), the following error came up when opening the site: Domain Name Windows Vista Does Not Exist In The Database My guess is that the installer doesn't like http://localhost:81 or any other port. After checking the Portals and PortalAlias tables, both came up empty. Is there a way to fill these settings interactively? If not, how should I fill them by hand and what dependencies

Intermittant Exceptions On Save

孤者浪人 提交于 2019-12-12 03:52:39
问题 We have been investing heavily in 2sxc for a client with a large site. We've built a number of custom apps and added quite a few content types to the default Content App. About a month ago we started seeing slowness when saving front end data and saving ContentTypes in the Content App (but only there). The site would take 20 - 30 seconds to save. Now it's gotten worse and started throwing exceptions intermittently. Save is no faster than 30 seconds. At other times it's 60 seconds.

Custom dnn skin can't detect bottom scroll but it works reversed (7.1.1)

北战南征 提交于 2019-12-12 02:27:08
问题 First I thought this is JS issue but this is skin issue. And to mention that this issue is happening to the Chome and FF but in IE it works for some reason. I am designing skin for the first time for DNN and it goes fine until I find out that I have made something wrong :(. I have created a simple skin that have on content pane. In that content pane I added my custom module that load elements dynamically when user scroll to the bottom of the page (I append new elements to the div). And my

ParseControl in Dotnetnuke ASP.NET changing onclick to javascript instead of c# method provided, strange behavior

瘦欲@ 提交于 2019-12-12 01:34:37
问题 Having some strange behavior here. I have some XSLT which generates some html with a few ASP.NET Link Button Controls String mstring = sw.ToString(); var myctrl = Page.ParseControl(mstring); foreach (Control Control in myctrl.Controls) { if (Control is LinkButton) { LinkButton lb = (LinkButton)Control; lb.OnClientClick = "LoadPromo"; } Panel1.Controls.Add(myctrl); } protected void LoadPromo(object sender, EventArgs e) { Console.Write(e.ToString()); } now it takes this control: <asp:LinkButton