Page 1 of 1

Need help with Cataloger attributes

Posted: Wed Sep 06, 2006 4:14 pm
by climberusa
Hi everyone. I'm using cataloger 0.2 with cms 0.13. What I'm trying to do is access item attributes at the category level. I'm using cataloger fo job postings. The templte/code I'm trying to use is this:

Code: Select all

<table>
   <tr>
	<th>Company</th>
	<th>Job Title</th>
	<th>Location</th>
	<th>Schedule</th>
   </tr>
{section name=numloop loop=$items}
 <tr>
    <td class="name">{$items[numloop].company}</td>
    <td>{$items[numloop].title}</td>
    <td><a href="{$items[numloop].link}">{$items[numloop].location}</a></td>
    <td>{$items[numloop].schedule}</td>
  </tr>
 {/section}
</table>
Obviously this is trying to get category attributes. I've tried a lot of variations trying to get the item attributes but with no success. Has anyone been able to do this? I'd love to know!
Appreciate your help
Jeff

Re: Need help with Cataloger attributes

Posted: Fri Sep 08, 2006 1:04 am
by climberusa
anybody?

Re: Need help with Cataloger attributes

Posted: Thu Nov 02, 2006 6:57 pm
by jean-guy
You must use this syntax :

{$items[numloop].var}

var is the variable use in your catalogue item.

to know the name of your item attributes, see the HTML code in the admin area, for exemple :


prestations



replace var by the name attribute (in my exemple, "prestations") and the result is :


{$items[numloop].prestations}