Customer Support Portal
Language
 
Home>Knowledge Base>Root>Dotnetnuke Modules>Content Rotator>The DNN Rotator module controls have broken images
User Login
Username
Password
 
 Login
Information
Article ID2
Created On4/28/2009
Modified4/28/2009
Share With Others

The DNN Rotator module controls have broken images

This is due to the fact you are running DNN in a virtual directory which breaks the relative path of the images. Once you have your site running on your production environment you will not have this issue. In case you want to test this on your local machine here is a way to achieve it:
  • Go to C:\WINDOWS\system32\drivers\etc
  • Open the file "hosts" in notepad
  • Add the following line: 127.0.0.1  www.yoururl.com (any address you want)
  • save the file
  • Go to IIS and add the alias(www.yoururl.com) to your website and make sure you also add the alias as portal alias in DNN through the host settings. Also change the homedirectoy of your default website to the directory of your site
Now you can open www.yoururl.com in your browser and it will open your local website. This way you can see your local website as if it was published.
Please see this page for additional information:
http://www.ventrian.com/Support/ProductForums/tabid/118/forumid/12/tpage/1/view/topic/postid/25896/Default.aspx#25949