Author Topic: Plain Text Export - limiting fields with multiple values  (Read 5411 times)

0 Members and 1 Guest are viewing this topic.

Offline Pensare

  • Member
  • *
  • Posts: 13
    • View Profile
In the export help page, for parameters, it shows at the top of the table 'Parameters {%value="identifier" parameter="value"}'.  It looks to me as if this is the expected syntax for fields with valid parameters.  The parameters listed for "actors" are: template, maxvalues, params.

I'm trying to limit the number of actors exported to only the first five.  I tried this, but it still pulls all the actors.

{%value=actors maxvalues="5"}

Perhaps, I'm supposed to use a sub-template, but I can't figure out how to do those either.  Any clarification you can give would be appreciated.

Offline Pensare

  • Member
  • *
  • Posts: 13
    • View Profile
Re: Plain Text Export - limiting fields with multiple values
« Reply #1 on: May 21, 2011, 08:29:05 pm »
Never mind.  I figured it out. 

{%value=actors template="pages/actor.ptm" maxvalues="5"}

The template file "pages/actor.ptm" contains only:
{%value}[space]