[TYPO3-core] RFC: Integrate mod.web_list.deniedNewTables as opposite of allowedNewTables

Oliver Hader oh at inpublica.de
Tue Feb 27 10:40:09 CET 2007


This is a SVN patch request.

Problem:
TSconfig mod.web_list.allowedNewTables allows to define a set of tables
which are allowed as new records on a page. mod.web_list.hideTables
hides existing records on a page to be displayed but doesn't affect
creating new records.

Solution:
Integrate the opposite of allowedNewTables: mod.web_list.deniedNewTables

Documentation changes:
In doc_core_tsconfig, Page TSconfig, section Web>List (mod.web_list):
Create a new property after "allowedNewTables":
* Property: deniedNewTables
* Data type: list of tablenames
* Description: If this list is set, then the tables listed here won't
have a link to "create news" in the page and subpages.
This also affects "db_new.php" (the display of "Create new record").
This is the oposite of the previous property "allowedNewTables".
If allowedNewTables and deniedNewTables contain a common subset,
allowedNewTables takes precedence.
Example:
mod.web_list {
  deniedNewTables = tt_news,tt_content
}

Branch: Trunk


olly
-- 
Oliver Hader
http://inpublica.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: deniedNewTables.patch
Type: text/x-patch
Size: 5774 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070227/850baf49/attachment.bin 


More information about the TYPO3-team-core mailing list