 |

simonlilly
User
Jun 18, 2002, 8:15 AM
Post #1 of 2
(2277 views)
Shortcut
|
In the by line is it possible to easily add links? What we'd like to do is have a by line that reads: by Simon Lilly and Sharon Watson and have each name link to a reporters profile. Is this possible? There are quite few reporters and they could have fairly static html files with a biog and a pic in it. Is it practical to have some kind of dropdown to choose your "by" fields and then the links are dynamically created. Any ideas? Cheers, Si --- Simon Lilly Web Bloke www.meridiantv.com ---
|
|
|  |
 |

Luke
Staff
/ Moderator

Jun 18, 2002, 3:43 PM
Post #2 of 2
(2267 views)
Shortcut
|
Here's a suggestion that might do the trick. It's very similar to the one Dave used in reply to your "Fields that appear when info present" thread. This method would also require the use of images for outputting the Author's name rather than text. First create an image for each Author. The image should just be the text of the Author's name. Name the images after the Author's name as well (e.g. simon_lilly.gif, john_doe.gif) Here are some example images I created for you: http://www.interactivetools.com/staff/luke/author_links.html You could setup your spare fields like this (make these fields "pulldowns"): spare1 - Author 1 (simon_lilly, sharon_watson, john_doe) spare2 - Author 2 (simon_lilly, sharon_watson, john_doe) The reporters profile pages will have to follow the same naming convention as the images (e.g. simon_lilly.html, john_doe.html) The html can look something like this: by <a href="$art_field1$.html"><img src="$art_field1$.gif" border=0></a> and <a href="$art_field2$.html"><img src="$art_field2$.gif" border=0></a> I hope that helps! Luke Holzken Product Development
(This post was edited by Luke on Jun 18, 2002, 5:09 PM)
|
|
|  |
 | |  |
|