Link to use title not filename

4 posts by 3 authors in: Forums > CMS Builder
Last Post: February 23, 2010   (RSS)

By Kittybiccy - February 23, 2010

Hi Guys,

What code do I need to use to get a link displaying the 'Title' of an upload and not the filename? I'm sure it's something simple!

At the moment the code is:
- <a href="<?php echo $upload['urlPath'] ?>" class="inspection"> <?php echo $upload['filename'] ?></a>

Thanks in advance! [:)]

Re: [Kittybiccy] Link to use title not filename

By Djulia - February 23, 2010 - edited: February 23, 2010

Hi Kittybiccy,

If you use the fields available when you download the images (info1, info2...):

[font "Verdana"]<a href="<?php echo $upload['urlPath'] ?>" class="inspection" title="<?php echo $upload[info1] ?>">...</a>[/#000000]

[font "Verdana"]Djulia[/#000000]

[font "Verdana"][/#000000]

Re: [Kittybiccy] Link to use title not filename

By Donna - February 23, 2010

Glad to hear you got that sorted out. :)
Donna

--
support@interactivetools.com