Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...html coding for app_offline.htmhtml coding for app_offline.htm
Previous
 
Next
New Post
5/31/2012 5:13 PM
 

I can't figure out the following problem. I am trying to create the simplest app_offline.htm file for when a user visits my page when it is shut down. The code is below:

<html>
    <head>
        <title>
        Website Offline
        </title>
    </head>
    <body>
        <img src="C:\Users\krj admin\Documents\My Web Sites\dotnetnuke\smiley.gif" alt="Smiley face" width="32" height="32" />
        <h2>This website is currently offline</h2>
        <p>
        We are currently performing maintenance on our website. Please check back later.
        </p>
        <p>
        Thank you for your patience.
        </p>
    </body>
</html>

 For some reason, the image file doesn't come up properly. There is a small icon in the top left corner of a page being torn and the rest is just blank. The image file is just a simple .gif image. The path I like in img src is the directory of where the image is saved on my computer. What is the problem here? How do I get the image to appear?

 
New Post
5/31/2012 5:50 PM
 
you image file is referencing a local UNC path (the path looks like it's finding the file on your hard drive rather than from the web server).

That path should be a URL from the web server. For example:

http://www.yoursite.com/portals/0/images/myimagename.gif




Steven Webster
Manager, Community Platform
F5 Networks, DevCentral
 
New Post
6/5/2012 1:02 PM
 
I am running my site locally. I created a folder in Portals -> 0 called Images. I am running the site locally with port number 64231

I changed the above code of:
Smiley face
to
Smiley face

However, I still get the same error. What's the problem now?
 
New Post
6/5/2012 1:04 PM
 
Sorry, that didn't come out properly....

I changed the above code of:
Smiley face
to
Smiley face
 
New Post
6/5/2012 1:04 PM
 
My html won't come out properly. Sorry.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...html coding for app_offline.htmhtml coding for app_offline.htm


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out