Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsAnnouncementsAnnouncementsLinking to an HTML document with embedded imagesLinking to an HTML document with embedded images
Previous
 
Next
New Post
1/7/2008 11:40 AM
 

Hi,

I am looking to deploy a simple NEWS feature to a website. The idea is to post the headline, and summary with a read more link for the complete news story. The complete News Stories are built as HTML documents and my have embedded images and these image urls are build as relative when an admin creates them.

Sound like a perfect for the Announcements module.  If I upload the HTML and images to the portal using the file manager and link to that page via the documents module/URL Control, the images do not appear.

Is there a way to link to an html file that will support relative images, or do I need to munge the HTML document to make absolute image urls after posting the html document.

Thanks for any suggestions or tips.

p.s. I realize this is more of an issue of how the URL control ineracts with the DNN system, so if there any URL control experts out there :)


Jim www.walkspoiled.com
 
New Post
1/7/2008 11:47 AM
 

Jim,

Could you give an example of one of your relative links as well as where you are placing the files on the server? Relative links are relative links as far as I'm concerned -- so if the HTML and the images are in the same directory, and the URL to the image is "image.gif" -- things should line up properly.

take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
1/7/2008 12:44 PM
 

Ian,

The htm document is created uing simple html and the img tag has a src attribute with a link to the file such as, src='telerik.gif'

I posted a sample to my site.

Look at how the direct link to the page works, http://walkspoiled.com/portals/2/SampleNews1.htm

But when using the announcments module and the URL control, the html page is called via some autogenerated ticket and relative links do not work.

http://walkspoiled.com/newstest/tabid/204/Default.aspx is the link to the announcements page, with the 'broken' read more link

thanks for taking a look!


Jim www.walkspoiled.com
 
New Post
1/7/2008 1:54 PM
 

Jim,

Thanks for the clarification, I believe I fully understand the issue now. :) However, I'm unable to offer a solution. I do not see how one would be able to use relative paths in this context.

Maybe some of the others who post here will have some thoughts.

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
1/8/2008 10:08 AM
 

Jim,

Maybe i don't understand your usecase correcly, but why not just create a new page for each article and just put a text/html module on that page?


Erik van Ballegoij, Former DNN Corp. Employee and DNN Expert

DNN Blog | Twitter: @erikvb | LinkedIn: Erik van Ballegoij on LinkedIn

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsAnnouncementsAnnouncementsLinking to an HTML document with embedded imagesLinking to an HTML document with embedded images


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