buepro/typo3-user-customer

This package is abandoned and no longer maintained. No replacement package was suggested.

TYPO3 user_customer extension to customize websites using the template pizpalue.

Installs: 16

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 1

Open Issues: 0

Type:typo3-cms-extension

11.1.3 2020-04-25 17:01 UTC

This package is auto-updated.

Last update: 2021-03-05 09:04:55 UTC


README

!!! This extension was renamed and moved to user_pizpalue !!!

Latest Version Extension repository Extension repository

This extension serves as a base to customize a TYPO3-website using the template pizpalue.

Usage

When starting a new project create a new git-branch and just commit to that branch. The master branch should always be used to start new projects.

To increase quality work progress might be committed and documented. Documentation has its home in the folder Documentation. A changelog can be created with the following steps:

  1. In a shell go to the Build directory
  2. Run npm install (only needed, if not already done)
  3. Run grunt doc

Customizations

TypoScript (TS)

Customizations typically start by adapting the ts constants and ts setup. Frequently used configurations are collected in the folder Configuration/TypoScript/Default. You might use them to get started by copying the needed fragments to Configuration/TypoScript/constants.typoscript or Configuration/TypoScript/setup.typoscript. The inclusion from the default TS (see <INCLUDE_TYPOSCRIPT...) might be deleted.

CSS/SCSS

Style declarations are maintained in the folder Resources/Public/Scss. For stylesheets to be embedded TS needs to be setup. See page.includeCSS for further details.

Icon font

It might become handy to create a customized icon font. Ideally it contains all used icons from the website. To generate an icon font the icons need to be available in svg-format. Unfortunately not all svg-formats lead to the desired result hence some testing might be needed. An icon font might be created by following these steps:

  1. Copy all svg-icons to the folder Resources/Public/Icons/Font
  2. In a shell go to the Build directory
  3. Run npm install (only needed, if not already done)
  4. Run grunt iconfont

Upon creating the icon font its resources can be found in Resources/Public/Fonts. Next the font needs to be embedded with the following TS setup:

page {
    includeCSSLibs {
        pizpalueicon >
        ucicon = EXT:user_customer/Resources/Public/Fonts/ucicon.min.css
        ucicon {
            fontLoader {
                families {
                    0 = UcIcon
                }
                enabled = 1
            }
        }
    }
}

Now your ready to use the icon font in the markup: <i class="ucicon ucicon-custom1"></i> would render an icon showing the graphic defined by custom1.svg.

Layouts/Templates/Partials

They are maintained in Resources/Private. As an example to add a new page template follow these steps:

  1. Create the template in the directory Resources/Private/Templates/Page
  2. Enable the template in the TS constant declaration
user_customer {
    page.fluidtemplate {
        templateRootPath = EXT:user_customer/Resources/Private/Templates/Page/
    }
}

Coding guidelines

Frequently used

For coding

For documentation