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  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


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.

 


UK DotNetNuke CMS installation, hosting & support
UK based installation, branding, customising, integration, hosting, training, support and maintenance services for DotNetNuke
www.deburca.co.uk
Need Help with your DotNetNuke website?
Jango Studios offers exclusive DotNetNuke Skin Design, Module Development, Web Marketing and Web Hosting.
www.jangostudios.net
Where Every Home is an Investment
Where Every Home is an Investment
www.nestbrokers.com

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