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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Active Modules -- Active Forums for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

OnyakTech
The best choice for your web site host, email hosting, and domain registration.
CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
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!
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  User Defined Ta...  Image paths in User Defined Tables
Previous Previous
 
Next Next
New Post 12/11/2007 4:12 AM
User is offline Paul Jeffreys
6 posts
10th Ranked


Image paths in User Defined Tables 

I am using a User Defined Table to display a Member directory which shows a thumbnail image on the first page and then opens up the information Details page with a larger image.

The problem I am having is using the "xsl:value-of" of the "image" node gives me the full "< img src = " etc. What I thought I saw during the original installation of the UDT package was something that said "enter just filename path" or the like.

Is there a way to get JUST the filepath so that I can build my own "img src=" tag and therefore gain individual control over the alt tag, etc?

Hopefully there is as I know the client isn`t going to want to keep "picture" as the alt tag!!

Pj.

 
New Post 12/11/2007 5:50 AM
User is offline Sebastian Leupold
15057 posts
www.deutschnetnuke.de
1st Ranked












Re: Image paths in User Defined Tables 

Check out the hidden fields section in the UDT User Manual.


Sebastian Leupold

DeutschNetNuke dnnWerk - The DotNetNuke Experts German DotNetNuke User-Group

DotNetNuke Project UserDefinedTable
DotNetNuke Project Release Tracker
 
New Post 12/11/2007 6:44 AM
User is offline Paul Jeffreys
6 posts
10th Ranked


Re: Image paths in User Defined Tables 

Thanks for that, it seems to be exactly what I am requiring but I am mildly confused by how to use it. I understand what it is saying in the manual I believe but it doesn`t seem to give you an actual example of how it should be used.

I want to manipulate the following:
     <xsl:value-of select="udt:Picture" disable-output-escaping="yes" />

and i want to use the value in the following:
     <img src="[Picture_UDT_Original]" alt="Alt Text" width="200" height="300" border="0" />

But when I do this, it all falls over. I am assuming I`m doing something stupid but I can`t see in the manual what it is.....

Pj.

 
New Post 12/11/2007 7:09 AM
User is offline Paul Jeffreys
6 posts
10th Ranked


Re: Image paths in User Defined Tables 

Ok, ignore last post. I was being a complete muppet. I have now sorted things and it`s working perfectly.

Thanks again for your help.

Pj.

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  User Defined Ta...  Image paths in User Defined Tables
 


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.

 


DNN Outsourcing
50% more affordable services comparing to Western Europe and US: Custom DotNetNuke module development, skins, consulting, maintainence... Over 15.000 working hours of experience in custom DotNetNuke Solutions development, 8 years experience in outsourcing, excellent references!
www.dnnoutsourcing.com
Expressnet - DotNetNuke Hosting
Expressnet provide premium quality ASP.NET Web Hosting. We specialise in Windows based products including ASP.NET and Microsoft SQL Server. We offer fantastic value packages for DotNetNuke hosting. We also offer free asp.net web hosting
www.expressnet.com.au
Softech Development, Inc.
We help your business work smarter with DotNetNuke. Whether you need a new implementation, a custom module or skin for an existing implementation, or integration with your business processes, Softech has the experience and expertise to make it happen.
www.softechdevelopment.com

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