Showing posts with label dot net nuke. Show all posts
Showing posts with label dot net nuke. Show all posts

May 8, 2014

DotNetNuke 6,7 - client scripting

Some tips for DNN 6,7 client resource managment.
How to properly deal with custom javascripting:

http://stackoverflow.com/questions/15769131/dotnetnuke-how-do-you-add-javascript-or-css-file-to-content-resource-management
http://www.dnnsoftware.com/wiki/page/client-resource-management-api

Apr 23, 2014

DotNetNuke - Skins - How to reuse parts of page - using custom control inside skin custom control

Inside your Skins package folder you have number of different skins:

root\_default\Skins\NewSkin\HomeSkin.ascx
root\_default\Skins\NewSkin\ProductsSkin.ascx

You want to reuse repeated functionality, no matter static HTML or server side oriented with DNN expressions.

Create blank ASCX and place your func. in it. You don't need .vb or .cs code file.

Key point is that your header should have attributes like this:

<%@ Control Language="vb" AutoEventWireup="true" %>

DotNetNuke Efficion Articles module - Tips & tricks

Efficion Articles modules


  • Article list - articles/items are displayed but cannot be selected
    • Go to Article details of article that cannot be selected and under section "Detail Type" make sure to choose something different from None like "Text/HTML"


Tips for Articles module :


This was for old version 3.2.6

Apr 1, 2014

DotNetNuke - tips when copying existing Dnn to another server

You want to copy database and DNN folder to another web server and SQL server.
If you think you fixed conn. string and DNN keeps showing Install wizard make sure to do bellow steps.
SQL:
1. Drop user that is used for conn. string and recreate it on SQL server with DBO rights. Assign it to your database
2. Add in table PortalAlias your new domain because it probably changed.

Web.config
1. Use IIS section Conn.string & AppSettings to change conn.strings. Use  .   for local SQL and DON'T use integrated security since IIS does not work under them.ms

Verify in web.config did IIS designer screwed up conn string section.