Download the PHP package flowd/typo3-look-camino without Composer

On this page you can find all versions of the php package flowd/typo3-look-camino. 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 typo3-look-camino

Look previews for the TYPO3 Camino theme

TYPO3 14

Real frontend previews in the TYPO3 page module for the content elements of Camino, the default theme of TYPO3 v14. Built on Look (flowd/typo3-look).

Editors see hero, teaser grid, text teaser, author card and the other Camino elements in the page module exactly as the website renders them, inside Look's isolated preview frame. Camino's own previews (text summaries and crop thumbnails) are replaced for all content types the theme ships.

The extension works out of the box with Camino, but it is just as much a showcase: a complete, small example of how to wire Look into a TypoScript based theme. Two Fluid templates and one page TSconfig file are all it takes. If your site has its own theme, copy the pattern into your site package rather than installing this extension; the How it works section walks through it.

Camino's preview With Look

The whole page module, the page "Camino Route Comparison" from the Camino demo content:

Camino's preview With Look

Documentation: https://docs.typo3.org/p/flowd/typo3-look-camino/main/en-us/

Requirements

Camino itself requires TYPO3 14, so this extension does too.

Installation

Add the site set Look previews for Camino (flowd/typo3-look-camino) to your site under Sites > Setup, next to Theme: Camino. The set brings the page TSconfig that routes the Camino content types to the Look preview. No further configuration is needed. Reload the page module.

How it works

The extension is configuration only, which is what makes it a usable template for your own site package. Its site set maps every Camino content type to one preview template (Resources/Private/Templates/Preview/Content.html):

With record, Look renders the element with the frontend TypoScript of its page in a separate request, so Camino's templates, partials and data processors apply as on the website, including overrides from your site package, and none of that PHP runs inside the page module. look:site.setting puts the colour scheme from the site settings on the body of the preview frame, so switching the scheme switches the previews:

Caramel Cream Forest Mist

Sidebar teasers get a second template (Teaser.html) with a fixed height, as an example of a per-type setting. The fade-out shows editors that the element continues:

Camino's preview With Look

Using the pattern in your own project

For a theme other than Camino, take the three pieces and adjust them:

  1. A preview template that hands the record to Look and loads the stylesheet of your theme (css, optionally js and bodyClass).
  2. Page TSconfig that maps your content types to that template via mod.web_layout.tt_content.preview.<CType>.
  3. A site set (or your existing one) that ships the TSconfig.

The Look documentation explains the view helper arguments and when to prefer Content Blocks with Fluid Components instead.

Options

Look's extension configuration and feature flags apply unchanged: scale and maximum height of the previews, editOverlay for click-to-edit, allowSiteScripts for Camino's JavaScript inside the frame, allowMedia for videos. See the Look documentation.

Camino's web fonts are loaded cross-origin inside the preview frame. The web server has to send Access-Control-Allow-Origin for /_assets/*/Fonts/, see Installation in the Look documentation.

License

GPL-2.0-or-later. Made by Flowd GmbH.


All versions of typo3-look-camino with dependencies

PHP Build Version
Package Version
Requires php Version ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0
flowd/typo3-look Version ^1.1
typo3/cms-core Version ^14.3
typo3/theme-camino Version ^14.3
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 flowd/typo3-look-camino contains the following files

Loading the files please wait ...