t3brightside/personnel

TYPO3 CMS extension for personnel lists with vCard support.

Installs: 131

Dependents: 0

Suggesters: 3

Stars: 3

Watchers: 1

Forks: 0

Open Issues: 0

Type:typo3-cms-extension

2.2.1 2019-03-28 09:56 UTC

README

Packagist Software License Brightside

TYPO3 CMS extension for personnel list with vCard support.

Front-end Demo

System requirements

  • TYPO3 8.7 LTS, since 2.1.0 9.5 LTS only
  • fluid_styled_content

Features

  • List of persons from pages
  • List of selected persons
  • Sort by
  • Disable from back end: images, vCard link, extra information
  • Base templates for cards, list and table
  • Easy to add custom templates

Installation

  • Install from TER: personnel or Composer: t3brightside/personnel
  • Add static template

routeEnhancers:

PersonnelPagination:
  type: Plugin
  routePath: '/persons/{@widget_0/currentPage}'
  namespace: 'tx_personnel_personnel'
  aspects:
    '@widget_0/currentPage':
      type: StaticRangeMapper
      start: '1'
      end: '999'
PersonnelVcard:
  type: Simple
  limitToPages:
  routePath: '/{person}'
  defaults:
    tag: ''
  requirements:
    person: '[1-999]'
  _arguments:
    person: 'person'
  aspects:
    person:
      type: StaticRangeMapper
      start: '1'
      end: '999'
PageTypeSuffix:
  type: PageType
  map:
    vcard.vcf: 888

Admin

Add custom template

PageTS

Add new template number '3' and name it:

TCEFORM.tt_content.tx_personnel_template.addItems {
  3 = My New Template
}

TypoScript

Change constants if needed:

personnel.styles = EXT:personnel/Resources/Public/Styles/personnel.css
personnel.templateRootPaths = EXT:personnel/Resources/Private/Templates/
personnel.partialRootPaths = EXT:personnel/Resources/Private/Partials/
personnel.vCard.templateRootPaths = EXT:personnel/Resources/Private/Templates/
personnel.vCard.CompanyName = Example Company Ltd.

Fluid

Add new section wheres IF condition determines template nr '2' to: Resources/Private/Templates/Personnel.html

<f:if condition="{data.tx_personnel_template} == 3">
  <f:for each="{personnel}" as="person" iteration="iterator">
    <f:render partial="MyNewPartial" arguments="{_all}"/>
  </f:for>
</f:if>

Create new partial: Resources/Private/Partials/MyNewPartial.html

Development and maintenance

Brightside OÜ – TYPO3 development and hosting specialised web agency