Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Aspose - The .NET & Java component publisher
 


  Sponsors  

Meet Our Sponsors

Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Announcements M...  Linking to an HTML document with embedded images
Previous Previous
 
Next Next
New Post 1/7/2008 7:40 AM
User is offline Jim Bonnie
114 posts
www.walkspoiled.com
9th Ranked






Linking to an HTML document with embedded images 

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 7:47 AM
User is offline Ian Robinson
621 posts
www.engagesoftware.com
7th Ranked


Re: Linking to an HTML document with embedded images 

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


Ian Robinson
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
New Post 1/7/2008 8:44 AM
User is offline Jim Bonnie
114 posts
www.walkspoiled.com
9th Ranked






Re: Linking to an HTML document with embedded images 

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 9:54 AM
User is offline Ian Robinson
621 posts
www.engagesoftware.com
7th Ranked


Re: Linking to an HTML document with embedded images 

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


Ian Robinson
Engage Software
St. Louis, MO
314.966.4000



The leading provider of DotNetNuke support, training and custom development.
 
New Post 1/8/2008 6:08 AM
User is offline ErikVB
2827 posts
www.apollo-software.nl
5th Ranked










Re: Linking to an HTML document with embedded images 

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,
a view from my attic, my personal blog

DNN OpenForce 2008... Register Now!
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Announcements M...  Linking to an HTML document with embedded images
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNNCovered.com - Your Offshore Dotnetnuke Partner
Dnncovered.com is the only Dotnetnuke offshore outsourcing center specializes in DNN skinning and module development with lowest pricing and quality service. Our staff is dedicated to websites based on DNN and our graphic designers are creative and imaginative well enough to provide customers the complete set of skinning solutions and packages
www.dnncovered.com
PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions
Advanced Web Portals by Infoscaler
Infoscaler is a California based company that provides advanced Web Portals, E-commerce Sites, Database Applications and Intranet Solutions on the DotNetNuke and Microsoft.NET platforms.
www.infoscaler.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP