Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

dashboard.ini [DashboardBlock_pending_list]

The settings of [DashboardBlock_pending_list] in dashboard.ini: Priority, NumberOfItems, PolicyList, ViewList

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/ini-settings/dashboard/DashboardBlock_pending_list.md

On this page

dashboard.ini [DashboardBlock_pending_list]

The block [DashboardBlock_pending_list] of settings/dashboard.ini, with 4 setting(s).

DashboardBlocks[]=community_activity
DashboardBlocks[]=wishlist
[DashboardBlock_example]
By default system will load /dashboard/[block_identifier].tpl template
e.g if INI group is called [Dashboard_example] then system will load /dashboard/example.tpl file
If Template variable is specified then it will be used instead of default location
Template=example.tpl
Priority determines the order in which the blocks will be rendered
Priority=10
List of policies, either in "<node_id>" or "<module>/<function>" form
In case of node id, content/read is checked!
The block is left out unless the user has every one of them.
PolicyList[]
The addresses the block is about or links to, "<module>/<view>[/<parameters>]" or a URL alias.
The block is left out unless the user can open every one of them, checked the way the kernel
checks the request (expViewAccess: the view's policy functions with their limitations, a module
without functions as a whole, the siteaccess rules, the user/login SiteAccess limitation, and the
node or object of content/view and content/edit). Use it for what PolicyList cannot say: a view
whose functions are "a or b", a view without functions, an extension's module.
ViewList[]
Controls how many items are fetched and displayed in the dashboard block
Value available as a {$block.number_of_items} variable
NumberOfItems=10

Never edit settings/dashboard.ini itself: an update replaces it. Put the settings you change in an override, which wins over the shipped file:

  • settings/override/dashboard.ini.append.php for every siteaccess,
  • settings/siteaccess/<siteaccess>/dashboard.ini.append.php for one siteaccess,
  • extension/<extension>/settings/dashboard.ini.append.php in an extension (read when the extension is active).

Priority

Default: 10.

<?php /* #?ini charset="utf-8"?
# settings/override/dashboard.ini.append.php
[DashboardBlock_pending_list]
Priority=10
*/ ?>

NumberOfItems

Default: 10.

<?php /* #?ini charset="utf-8"?
# settings/override/dashboard.ini.append.php
[DashboardBlock_pending_list]
NumberOfItems=10
*/ ?>

PolicyList

Default: a list of 1: content/pendinglist.

<?php /* #?ini charset="utf-8"?
# settings/override/dashboard.ini.append.php
[DashboardBlock_pending_list]
# an empty "PolicyList[]" first replaces the shipped list; without it the items are added
PolicyList[]
PolicyList[]=content/pendinglist
*/ ?>

ViewList

Default: a list of 1: content/pendinglist.

<?php /* #?ini charset="utf-8"?
# settings/override/dashboard.ini.append.php
[DashboardBlock_pending_list]
# an empty "ViewList[]" first replaces the shipped list; without it the items are added
ViewList[]
ViewList[]=content/pendinglist
*/ ?>

Generated by ./console exp:help:examples from settings/dashboard.ini. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x