dotnetnuke

Change <head></head> in DotNetNuke without Host Access

自闭症网瘾萝莉.ら 提交于 2019-12-05 21:19:21
I need to make a change to the header of a DotNetNuke website I have Admin access but not host access. I can also access the file directory of the website via FTP. Is it possible for me to make changes to the header of the index page? If you are talking about making changes within the <head></head> section of the document, you can set this up on a page-by-page basis in the page settings. From a global basis there isn't really a way to do it, unless you want to modify default.aspx directly in the core. It really depends on the changes you wish to make to your header. In any case though, you

DNN redirect Loop

限于喜欢 提交于 2019-12-05 11:38:00
I am trying to duplicate an existing DNN portal that I have for testing purposes by creating a duplicate of the database and duplicating the .net files into a new folder. After I copied the site and changed the webconfig to point to the new site and changed the alias in the database I am getting this error. This webpage has a redirect loop. The webpage at http://xxx.us/xxx/default.aspx has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your

How can I launch a windows application from a webpage?

流过昼夜 提交于 2019-12-05 10:41:54
We have a company intranet and the powers that be think it would be nice to have a collection of icons/links representing the applications that most reps use (Outlook, Excel, few other apps). The idea would be that if the application is installed, clicking the link/icon would launch the application on the client machine. Anyone ever had a requirement like that and been successful implementing it? Wanted to reach out to everyone before I go back and say no. Thanks in advance for any replies. Make each button be a link to download a company template file for the given application. For example,

Module Localization in DNN

依然范特西╮ 提交于 2019-12-05 09:13:20
I don't know much about the localization process in DNN. The question is that how can you localize a new module? Is it possible to include localization files with every module separately? What solutions can you come up with? karbonphyber Localization of a module is pretty easy thanks to DotNetNuke. Wherever your .ascx (View) file is, the App_LocalResources folder should always accompany it, on the same level. There should also be a corresponding .ascx.resx file in that folder. view.ascx App_LocalResources - view.ascx.resx Once you have that structure in your module. DNN will pick the file up

DotNetNuke - Header, Content and Footer

南笙酒味 提交于 2019-12-05 07:03:22
Is there any way, like one does with WordPress, to create a header.php, theme-file.php and footer.php and then combine them using hooks? It seems crazy to me to still duplicate skin files especially when you need to make minor changes to the content of either a header or footer. Many thanks A skin is just an ascx control, so you can encapsulate parts of it just like you would any other WebForms view. You can put the header/footer content into their own ascx file, and then just include them in the skin. The only place you'll run into an issue with this is that I don't think DNN supports having

Difference between DotNetNuke.Services.Mail.Mail.SendEmail and DotNetNuke.Services.Mail.Mail.SendMail

五迷三道 提交于 2019-12-05 05:37:05
I want to send an email after a registration process in a DNN module. When i searched i found that there is an in-built mail class in dnn. But it contains two methods - SendEmail and SendMail . What is the difference between these two?And which one i have to opt in this case. SendEmail was introduced in DNN 5.3, and greatly simplifies the API. If you're able to use the SendEmail method, I would recommend it, it's much simpler than SendMail (which always requires SMTP information, even though it's almost always pulled from settings). If you're looking for from to subject body with optional

Executing an action by an AJAX request DNN MVC

Deadly 提交于 2019-12-05 04:19:17
问题 Another problem occured in my DNN MVC development journey. I am wondering whether this is a bug/missing feature of I've made a mistake. I will try to explain the problem below. What I want to achieve I want to execute an action in my controller by calling an AJAX post. So far it works. However, when I try to return some variables to my View, it doesn't only return the variables. It adds an whole HTML-source to the response. JSON REPONSE My controller My method returns an ActionResult (I tried

Setting up separate ASP.NET app with DotNetNuke

狂风中的少年 提交于 2019-12-05 02:33:38
问题 I've got DotNetNuke (v5.1.4 Community Edition) setup on a Windows Server 2008 64-bit system (using SQL Server 2008 64-bit for the backend database), and I want to reference a separate ASP.NET application from it. I plan to display the ASP.NET application via an IFrame module on the DNN site. I'd like the ASP.NET application to recognize the user that is currently logged into the DNN site. I'm trying to do this by creating a web application (in IIS) under the DNN web site on the web server.

How to handle the “Maximum length exceeded” error nicely?

試著忘記壹切 提交于 2019-12-04 19:03:21
I encounter "maximum length exceeded" error when I try to upload a document which is 9MB in size. I know that the issue will be solved if httpRuntime maxRequestLength and requestLengthDiskThreshold in web.config are increased but what I am looking for is how I can nicely handle the error and show the message to the user. I did try to use Application_Error event in global ascx but the event is not fired. The reason might be from Server.Transfer from DNN PageBase class's OnError method. Specifications: NET 3.5 SP1 (ASP.NET) IIS 6 DotNetNuke 5.4.4(2) It is quite urgent and your suggestion is much

DotNetNuke - Best Way to Move From Professional to Community Edition

余生长醉 提交于 2019-12-04 17:03:54
What is the best process of moving a 200+ MB DotNetNuke site from Professional to Community edition? I am asking the Stackoverflow community since DotNetNuke's standard line is "there is no supported option to switch from PE to CE", or to contact their customer support. However DNN support told a fellow team member tell us that it was not possible to go from Professional to Community, so that was a waste of time. Based on research there are a couple possibilities for doing this: Create a new Community Install and then module by module going through and moving it piecemeal. Here - http://www