SWIM plugin: insert a view

Views is one of the most popular Drupal modules. It lets you makes lists of…, well, anything.

There’s a SWIM plugin that lets you insert a view into your pages. Basic pages, course pages, blueprint pages, exercises, patterns… For example, you could have several exercise about analyzing scores for the Ashes matches. When there’s a new match, you could enter the scores, and all of the exercises that show view of the Ashes data would update themselves. W00t!

@@cyco insert-view VIEW MACHINE NAME [DISPLAY NAME] [ARGS]

If DISPLAY NAME is ommitted, the view’s default display is used.

Examples:

@@cyco insert-view viewofdoom
@@cyco insert-view viewofdoom page
@@cyco insert-view viewofdoom user 23
Editors: 
kieran

Add new comment

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
Prove that you are sentient.
1 + 19 =

Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.