web/wdoc/custom_view_en.rst
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 02 Dec 2009 16:56:28 +0100 (2009-12-02)
branchstable
changeset 3973 1c09d2fd38c5
parent 0 b97547f5f1fa
child 10218 5ebbaf713caf
permissions -rw-r--r--
allow to override is_primary result using an argument given to object constructor (have to be given to 'initargs' argument of .render like initargs={'is_primary': False}
Once you have read the `RQL tutorial`_ and you know the application'`schema`_,
you're ready to define your own views. Just type the RQL query retreiving data
you're interested in in the search field. If the view used to display them
doesn't fit your need, choose another one in the possible views box (this box
isn't displayed by default, but you can activate it in your `user
preferences`_). Once you're satified, add a `bookmark`_ if you want to reuse
this view later.

.. _`RQL tutorial`: doc/tut_rql
.. _`schema`: schema
.. _`user preferences`: myprefs
.. _`bookmark`: doc/bookmarks


Below are some example of what can be acheived...

.. winclude:: custom_view_last_update
.. winclude:: custom_view_rss