Coding with SPIP 2.1
SPIP 2.1 Technical Documentation

> > > > Inclure with a connector parameter

Inclure with a connector parameter

It is possible to pass a particular connection as a parameter when using an include:

  1. <INCLURE{fond=recent_articles}{connect=demo.example.org}>
  2. [(#INCLURE{fond=recent_articles, connect=demo.example.org})]

Download

An include does not automatically pass the parent connection: to propagate a connection, you need to specify it as a criterion in the include itself:

  1. <INCLURE{fond=recent_articles}{connect}>
  2. [(#INCLURE{fond=recent_articles, connect})]

Download

  • Author :
  • Published :
  • Updated : 03/07/10
  • Translations : English, français