Download the PHP package smichaelsen/listmod without Composer

On this page you can find all versions of the php package smichaelsen/listmod. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package listmod

TYPO3 Extension: List Module+

Extension Key: listmod

EXT:listmod adds some additional features to the list module.

addWhere

You can add restrictions to the SQL query for each table to hide certain records. This is done via TSconfig:

mod.web_list.addWhere {
    tt_content = AND CType = 'text'
}

Will result in the list module only showing text content elements.

Filters

This functionality is taken over from EXT:be\_tablefilter. I integrated it’s code and just slightly modified it to work with TYPO3 6.1.

$GLOBALS['TCA']['fe_users']['ctrl']['filter'] = TRUE;

Activates the usage of filters for fe\_users. This won’t have any effect yet as we need to configure filter fields.

$GLOBALS['TCA']['fe_users']['columns']['username']['config_filter'] = $GLOBALS['TCA']['fe_users']['columns']['username']['config'];

A filter for the username field. We just want a simple input field for that, so we just copy over TCA config of this field. When you open the list view on a page that has frontend users you will have a searchbox to search for usernames.

$GLOBALS['TCA']['fe_users']['columns']['usergroup']['config_filter'] = array(
    'type' => 'select',
    'items' => array(
        array('', ''),
    ),
    'foreign_table' => 'fe_groups',
    'foreign_table_where' => 'ORDER BY fe_groups.title ASC',
);

An additional filter for the usergroup. Notice that it won’t appear unless you have configured usergroup as a visible field in the list module. The next feature (“forceColumnVisibility”) might also be helpful for that.

forceColumnVisibility

In the single table view (click the + next to the table name ist list view) every user can configure the fields that appear directly in the list view. But sometimes you might want to force the visiblity of a field.

$GLOBALS['TCA']['fe_users']['columns']['usergroup']['config']['forceColumnVisibility'] = TRUE;

Voila!

enableControls

If the control panel (extended view )is activated in the list module, several icons are displayed to interact with the records (edit, move, history, etc.). With the following options you can enable/disable those controls. The key \_default will apply to all tables. You can overwrite its configuration for each table.

mod.web_list {
    enableDisplayBigControlPanel = activated
    enableControls {
        _default {
            edit = 0
            history = 0
        }
        tt_content {
            history = 1
            moveDown = 0
            moveUp = 0
        }
    }
}

This will disable the edit icon for all tables, disable history for all table except tt\_content and disable moveDown and moveUp for tt\_content. The names of all icons are: view, edit, move, viewBig, history, version, perms, new, moveUp, moveDown, hide, delete, moveLeft, moveRight

_


All versions of listmod with dependencies

PHP Build Version
Package Version
No informations.
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package smichaelsen/listmod contains the following files

Loading the files please wait ....