Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Docs for page function.pnblock.php

Procedural File: function.pnblock.php

Source Location: /pnRender/plugins/function.pnblock.php

Classes:



Page Details:

Zikula Application Framework



Tags:

version:  $Id: function.pnblock.php 24383 2008-06-12 14:15:02Z markwest $
copyright:  (c) 2004, Zikula Development Team
link:  http://www.zikula.org
license:  GNU/GPL








smarty_function_pnblock [line 42]

string smarty_function_pnblock( array $params, object &$smarty)

Smarty function to display an existing Zikula block.

The block is choosen by its id.

The block state is ignored, so even deactivated blocks can be shown.

The block specific parameters can be overwritten, considering they are known.

Available parameters:

  • id id of block to be displayed
  • name title of block to be displayed
  • title Overwrites block title
  • position Overwrites position (l,c,r)
  • assign: If set, the results are assigned to the corresponding variable instead of printed out
Example TBD




Tags:

return:  the block
author:  Jörg Napp
author:  Andreas Stratmann
since:  03/05/23


Parameters

array   $params   All attributes passed to this function from the template
object   &$smarty   Reference to the Smarty object
[ Top ]


Packages:

Files:

Classes: