Sites Web : [11350] any table field creates its specific tag - SPIP commits - by tech-nova

Publié le lundi 21 avril 2008

⇒ http://my.opera.com/tech-nova/blog/

Un site qui recense les astuces et évolutions des possibilités de SPIP.

[11350] any table field creates its specific tag

Mars 2008, Par tech-nova

The value of any field ’foo’ can be displayed in your templates with #FOO — Even if this is a field of the ’official’ tables. Much more, this value can be edited in the public area with an inline content editor (actually it’s still not possible in the private area) :
  • sql_showtable() is used to describe the fields (that’s better than the corresponding php descriptor in tables_principales, etc..)
  • inc/modifier now uses a list of private fields (instead of a fixed list of public fields)

→ Lire la suite sur le site d’origine…


Revenir en haut