Joost Nelissen wrote:
Can anybody tell me if there's a good way to integrate a (future) publication date into a builder?
What i'd like to do is make it possible for a web-editor to specify a future date and time for publication without having to create a Time-object first and then make a relation to it.
Is there any documentation on this subject?
If you do not want to use a time object, you can add a 'time' field:

<field>
  <gui>
    <guiname xml:lang="nl">Publicatietijd</guiname>
    <guiname xml:lang="en">Publication time</guiname>
    <guitype>eventtime</guitype>
  </gui>
  <editor>
    <positions>
      <input>5</input>
      <list>5</list>
      <search>5</search>
    </positions>
  </editor>
  <db>
    <name>publishtime</name>
    <type state="persistent" notnull="false" key="false">INTEGER</type>
  </db>
</field>



--
Pierre van Rooden
Mediapark, C 107 tel. +31 (0)35 6772815
"Never summon anything bigger than your head."


Reply via email to