Questions tagged [dotnetnuke-7]

Version 7 of the DotNetNuke open source CMS.

Version 7 of the DotNetNuke open source CMS hosted on Codeplex. Visit the project's website at http://www.dnnsoftware.com/.

309 questions
14
votes
3 answers

Error on change style of page with jquery

I use jquery-style-switcher.js for changing style of some elements. When I click on the colors style of page doesn't change and in source of this page added this classjssError error level0 to ul tag that contain colors. This codes worked in HTML…
hmahdavi
  • 2,250
  • 3
  • 38
  • 90
7
votes
3 answers

DnnModuleAuthorize Attribute Always Returns Unauthorized in Web API

I'm trying to use this attribute on methods in the web API for a custom module: [DnnModuleAuthorize(AccessLevel = DotNetNuke.Security.SecurityAccessLevel.Edit)] but no matter what SecurityAccessLevel I set, I always get a 401 unauthorized…
Chris Searles
  • 2,322
  • 17
  • 32
6
votes
1 answer

Accessing data with DAL2: Value cannot be null.Parameter name: con

I'm trying to access data with DAL2 in DotNetNuke. When I use the repository.Get() to get all fields of a certain table I sometimes get this error: 'Value cannot be null. Parameter name: con' public IEnumerable GetAll() { using…
5
votes
1 answer

How should LoggerSource be used in DNN 7+?

I have been looking into implementing logging on my DNN 7+ site. I would like to have a configurable logging level such as that provided with log4net. I attempted to follow the instructions to integrate log4net found on the DNN site here,…
RacerNerd
  • 1,579
  • 1
  • 13
  • 31
4
votes
1 answer

How to store data temporarily in DotnetNuke 7?

I am new in DotnetNuke. Feel free to suggest me correct terminology. I am working on DotnetNuke 7. I use C#. I have a table with 30 string fields and it can have maximum 50 records. Currently I am managing it using Database. I think it's not much…
Nanji Mange
  • 2,155
  • 4
  • 29
  • 63
4
votes
1 answer

DNN MVC Template - Is there a good documentation on how to develop modules

I have been struggling from last 2 days to find clear and exemplified documentation on how to build modules using MVC framework for DOTNETNUKE CMS. It is very unfortunate for a CMS of that size to first advertise app developers that they support…
user3276940
  • 487
  • 5
  • 16
4
votes
2 answers

Does DNN Have anything similar to Views in Drupal or ACF in Wordpress?

The company I work for is switching over completely to DNN. All of our websites were previously built in Drupal and Wordpress. I'm looking for DNN equivalents to Views in Drupal and/or Advanced Custom Fields in Wordpress. I did find this DNN…
4
votes
1 answer

check if user has module edit permission when page is not in edit mode

I am developing a module for DNN 7.1+ and I need to display / hide a link in the module based on if the user has edit permission for that module. I want this to happen regardless of whether or not the page is in edit mode. Currently I have the…
J King
  • 4,108
  • 10
  • 53
  • 103
3
votes
0 answers

.NET Runtime error causing application pool to stop

I'm having this error repeat almost every minute, I think to the point it's hanging my web-server as sometimes it becomes unresponsive but still ping-able. I'm not exactly sure where to start looking for a fix in reading the 3 log entries…
UserSN
  • 953
  • 1
  • 11
  • 33
3
votes
1 answer

Can a module add a line in the DNN web.config when installing it?

Recently I was creating a module to install basic things for other modules dependent of it. I have to make a web.config change manually in order to all modules work and I was wondering if there is any way to automate it in the module instalation…
Mario Corral
  • 387
  • 3
  • 13
3
votes
2 answers

DnnApiController Unable to locate a controller for "Path x". Searched in namespaces: " Namespace y"

I am trying to create a simple web-api in DNN, Here are my codes : 1st Register RouteMapper (I set a break-point it is being called without problem) namespace Commission7.Controllers { public class RouteMapper : IServiceRouteMapper { …
3
votes
2 answers

Block traffic from referral spam bots in Azure Web App with DNN

I am sure many of you have found fake referral traffic in your google analytics reports/views. This makes it difficult for low to medium traffic sites to have accurate data for marketing. I am wondering what others are doing to exclude this…
J King
  • 4,108
  • 10
  • 53
  • 103
3
votes
1 answer

Datasource settings unavailable for dotnetnuke reports module

I am running DNN Version 07.02.02. I am trying to add a reports module to a page, but the settings don't appear to be there. It was an upgrade, which makes me nervous already and I have specifically installed the same version blank installation on…
Anthony Horne
  • 2,522
  • 2
  • 29
  • 51
3
votes
1 answer

Why does the default GetById() for a DAL2 repository in DNN execute slowly?

I am having a problem where the default Get() function for a DAL2 repository is taking several seconds to return results. When I query the database directly for the record with SQL Server Management Studio the query returns quickly. The function…
RacerNerd
  • 1,579
  • 1
  • 13
  • 31
3
votes
2 answers

Initializing a NotificationController in DNN 7

How do you initialize a NotificationController in DNN 7.1.2? I've tried: var nc = new DotNetNuke.Services.Social.Notifications.NotificationController(); However this is empty and has no methods to call... Am I initializing the wrong thing? Surely…
Alex
  • 1,549
  • 2
  • 16
  • 41
1
2 3
20 21