PENESIA
Die Insel deiner Träume!
     
 
   
HOME  SITEMAP     / / hints and tricks
 

hints and tricks

1. npsobj

  • A systemexecute changes the context, like a toclist.
    So, for example, if you want to give a systemexecute the title of the content in current context, do this:
    <npsobj insertvalue=systemexecute name=tcl>
      <npsobj insertvalue=var name=context.title />
    </npsobj>

  • "next" ALWAYS takes the object, that comes next by name. You can't define a different behaviour.
    Example:
    <npsobj list=toclist sortedby=validFrom>
      <npsobj insertvalue=var name=next.title />
    </npsobj>
    "next" will ignore the sorting by "validFrom" from the toclist.

 

BACK      NEXT