dotnetnuke

Create a log file for a custom DNN module

我怕爱的太早我们不能终老 提交于 2019-12-08 23:09:37
We have a search module on DNN and would like to create a log file which will send search terms which did not bring back any matches. The log will will then have to be emailed to the admin (Perhaps the DNN schedule manager can be used?). I see that DNN has Log4Net, but won't it be better to write a txt file and write to it? Does anyone have suggestions on how the Paths to save the file would work and if there are any existing DNN functionality I can use? You can also use your DotNetNuke.log4net.config Example writing to multiple files: <log4net> <appender name="File1Appender" type="log4net

Advantages & Disadvantages of DotNetNuke? [closed]

◇◆丶佛笑我妖孽 提交于 2019-12-08 16:07:39
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . If you have worked with DotNetNuke, what are advantages and disadvantages that you have come across? What are alternative Content Management Systems that you have used that you find are better or worst. I'm trying to get a feel of what Content Management System Frameworks

this.Controls doesn't contain all controls

落爺英雄遲暮 提交于 2019-12-08 11:28:39
问题 One text box in particular has been skipped. That textbox with ID "q3TXT" is inside a panel which is hidden at the PageLoad method. Yet it becomes visible before the function that collects controls. Every other textbox is collected. I've tried with IEnumberable collection of textboxes, which didn't work. How can I make the textbox appear in the controls list? Here is html: <p id="question3Text" runat="server" class="question"></p> <asp:RadioButtonList runat="server" ID="q3_RBList"

DotNetNuke, PHP, Simulating a remote postback using curl

岁酱吖の 提交于 2019-12-08 09:50:42
问题 I have a page in DNN like: http://nolimitswebdesign.com.dnnmax.com/test/tabid/57/ctl/Edit/mid/374/Default.aspx I need to send a post request to that page using PHP+Curl which modifies the content of text area and saves it (like as if someone modified it manually and clicked the update button on that page). I doubt that with DNN it might not be possible. Please advise. 回答1: Here is how I would approach the problem the same general technique will work on any website. In this context DNN is just

Configure URL in IIS

谁都会走 提交于 2019-12-08 09:19:37
问题 I have an existing DNN site set up in IIS and I want to link to another ASP.NET application in a separate folder. I want to maintain the same domain URL as follows: http://dnn9.dnndev.me/otherapplication Can anyone point me in the right direction? UPDATE Currently, the main DNN site is set up as its own site in IIS (not under Default Web Site)., with its own App Pool. I tried adding a virtual directory to the main DNN site, pointing to the other application folder. It gives a 404. I added

DotNetNuke jquery script in container

纵然是瞬间 提交于 2019-12-08 07:39:31
问题 Hello I've made a container in DNN but i don't know how to implement jquery script to the container. Does anybody know how this is done? Best Regards 回答1: To do it properly, you'll need to write some code (which you can do inside of your container). First, you'll want to request jQuery from the framework. Then, add your plugin script (the best way is probably to use Page.ClientScript, so that the script doesn't get added multiple times when the container is used multiple times on the page.

Debugging DotNetNuke Modules

爷,独闯天下 提交于 2019-12-08 07:28:53
问题 What is the best VS solution setup for DotNetNuke 4.8 inter-module communication development? I currently have a solution with multiple Web Application projects in it for my DotNetNuke modules - and in each one of those have pages with the controls on them as a test harness. That all worked fine up until the point where I need the modules to start talking with each other using IModuleCommunicator and IModuleListener - but now that I'm doing inter module communication, debugging won't work out

MembershipProvider.GetPassword algorithm

自闭症网瘾萝莉.ら 提交于 2019-12-08 05:32:00
问题 We are converting an ASP site (using DotNetNuke) to a new PHP site. The only thing we have right now is a full export of the existing database. One of the tables is called "aspnet_Membership" and contains the following fields: Password (looks like base64) PasswordFormat (always value 2) PasswordSalt (looks like base64) PasswordQuestion (always empty) PasswordAnswer (always empty) We would like to decode these passwords and hash them to fit our own framework. From what I understand from the

Friendly Urls in DotNetNuke - Troubleshooting

旧时模样 提交于 2019-12-08 04:00:07
问题 In DNN, I'm using Host Settings -> Friendly Url Settings to try and make a page url SEO-friendly. But I keep getting an error and I don't know why. Current URL format: http://localhost/dnn/Admin/MyPage.aspx?title=news-article-name-written-here Desired URL format: http://localhost/dnn/Admin/MyPage/news-article-name-written-here "Friendly Url Settings" rule: MATCH: .*/MyPage/(.*) REPLACE WITH: ~/Admin/MyPage.aspx?title=$1 Error: Server Error in Application "DEFAULT WEB SITE/DNN" Internet

DNN portal alias with internal IP

一世执手 提交于 2019-12-08 02:09:53
问题 I'm having trouble figuring out if/how I can an internal webserver setup for testing with mutliple DNN portals. I'm pretty new to DotNetNuke, so I'm not sure if what I want to do is even possible. My server is at an IP of 192.168.15.16. I have the main portal set up with a portal alias of this IP. That site works fine. But then I have a couple other sites (lets call them A and B) to configure. I'd like to navigate to 192.168.15.16/A and 192.168.15.16/B to view these sites. Portal aliases to