 |

mikevernon
User
Oct 18, 2006, 5:29 AM
Post #1 of 3
(541 views)
Shortcut
|
|
Using art_field in Category Template
|
Can't Post
|
|
Hi there Have been using your software for about a year now and am just trying to tidy up my templates. I use a call to an art_field in my article termplate to display the authors image, this works fine as the software recognises the the art_field in the article template. Is there a way to include the art_field in a category template so that when the articles are listed I can put the author's image next to them. I have tried searching the forums but an answer to this is not immediately obvious. Thanks in advance for your help. web site: http://www.consultingpeople.co.uk/
|
|
|  |
 |

ross
Staff
/ Moderator

Oct 18, 2006, 10:05 AM
Post #2 of 3
(534 views)
Shortcut
|
|
Re: [mikevernon] Using art_field in Category Template
[In reply to]
|
Can't Post
|
|
Hi Mike. Thanks for posting! The code you are using on your article templates should actually work the same on your category index pages. The only difference would be on the category index, it would need to within the template cells. So something like this:
<!-- templatecell : row --> <img src=$art_field7$> <span class="summary_breadcrumb"><a name="$art_num$">$cat_breadcrumb$</a></span><br> <span class="summary_title"><a href="$detail_link$">$art_name$</a></span><br> <span class="summary">$art_summary$</span><br> <span class="summary_date">$art_date$, $art_time$<br clear="all"><br></span> <!-- /templatecell : row --> Could you maybe post up the code you are using and a copy of your template so I could be a bit more specific for you? Keep me up to date with how you are making out . ----------------------------------------------------------- Cheers, Ross Fairbairn - Product Specialist support@interactivetools.com
Hire me! Save time by getting our experts to help with your project. Template changes, advanced features, full integration, whatever you need. Whether you need one hour or fifty, get it done fast with Priority Consulting.
|
|
|  |
 |

mikevernon
User
Oct 20, 2006, 8:40 AM
Post #3 of 3
(515 views)
Shortcut
|
|
Re: [ross] Using art_field in Category Template
[In reply to]
|
Can't Post
|
|
Hi Ross Thanks for your quick reply, sorry for the slow update. Your answer was perfect, I didn't think to enter the code between the tags so obviously it wasn't working. It now looks exactly how I want it to, you can see here: http://www.consultingpeople.co.uk/ Thanks again for your help and for the excellent software.
|
|
|  |
|