Download the PHP package se7enxweb/sevenx-themes-media without Composer

On this page you can find all versions of the php package se7enxweb/sevenx-themes-media. 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 sevenx-themes-media

7x Themes: Media

General description

7x Themes: Media (extension directory: sevenx_themes_media) provides the media site design for Exponential 6 / eZ Publish Legacy: the Netgen media-site theme, originally written in Twig, converted to native eZ4 .tpl templates and now hand-maintained — every template under design/media/templates/ is first-class source code, not build output.

Important — the converter is retired. The templates were originally produced by a Twig-to-TPL conversion script (ai/bin/convert_media_site_twig.py in the project tree). That script is retired and must never be run again: the templates have since received extensive hand fixes, and a re-run would destroy them. Edit the .tpl files directly.

Note on the name. Owner decision: while sibling extensions were renamed to the exp* prefix, this extension deliberately keeps the sevenx_themes_media name. Do not rename it; the se7enxweb/ composer vendor namespace is likewise correct and stays.

This extension implements a complete front-end theme and provides the following capabilities:

Features

7x Themes: Media provides the following features:

The media design (design/media/)

Template operators

54 operators registered via autoloads/eztemplateautoload.php and activated by [TemplateSettings] ExtensionAutoloadPath[]=sevenx_themes_media, including ngsite, app, ibexa, path, content_link, image, ng_image_alias, intro, title, enhanced_link, embed_image, component_content, content_tags, ng_query, ng_render_field and ng_view_content — the full annotated list is in doc/USAGE.md.

Siteaccess configuration (auto-provided on activation)

Key classes and parts

Part File Purpose
sevenxThemesMediaOperators autoloads/sevenxthemesmediaoperators.php Template operators (ngsite, intro, image, enhanced_link, content_tags, ... — full list in doc/USAGE.md)
sevenxThemesMediaField autoloads/sevenxthemesmediaoperators.php Field wrapper value object returned by the ngsite globals
Operator registration autoloads/eztemplateautoload.php $eZTemplateOperatorArray binding; activated via [TemplateSettings] ExtensionAutoloadPath[]=sevenx_themes_media
The media design design/media/ ~426 hand-maintained templates (pagelayout, content/, explayouts/, nglayouts/, parts/, ...), stylesheets, javascript, sass sources
Siteaccess settings settings/siteaccess/sevenx_site_user/ site.ini (design chain, operator autoload path, [MediaTheme] asset lists), override.ini (~166 template override rules), image.ini (alias list incl. i160/i480), content.ini (RootNode), design.ini
Global settings settings/ design.ini.append.php (design source registration), image.ini.append.php (i160/i480 aliases), site.ini.append.php (intentionally contentless — see file comment)

Version

Copyright

License

7x Themes: Media is licensed under the GNU General Public License.

The complete license agreement is included in the LICENSE.md file.

7x Themes: Media is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License or at your option a later version.

7x Themes: Media is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

The GNU GPL gives you the right to use, modify and redistribute 7x Themes: Media under certain conditions. The GNU GPL license is distributed with the software, see the file LICENSE.md.

It is also available at https://www.gnu.org/licenses/gpl.txt

You should have received a copy of the GNU General Public License along with 7x Themes: Media in LICENSE.md. If not, see https://www.gnu.org/licenses/.

Using 7x Themes: Media under the terms of the GNU GPL is free (as in freedom).

For more information or questions please contact [email protected]

Requirements

The following requirements exist for using the 7x Themes: Media extension:

Exponential / eZ Publish version

PHP version

Sibling extensions

Image handling

Installation

In short: copy or check out the extension into extension/sevenx_themes_media and add the single bootstrap line to your siteaccess settings — [ExtensionSettings] ActiveAccessExtensions[]=sevenx_themes_media — listed before more generic theme extensions. Everything else (design chain, override rules, image aliases, [MediaTheme] asset lists, content root) is auto-provided by the extension's own settings/siteaccess/sevenx_site_user/ files. Then regenerate autoloads and clear caches.

Note that the scoped settings only merge for a siteaccess literally named sevenx_site_user; for another name, copy the scoped settings directory as described in the install guide.

See INSTALL.md for the complete step-by-step activation, what is auto-provided, the different-siteaccess-name procedure and verification steps.

Usage

How a page renders

  1. The siteaccess design chain is media → standard → simple → ezwebin → base (shipped site.ini.append.php).
  2. override.ini (~166 rules) picks the full_*/embed_* template for the content class being viewed.
  3. Layout pages are resolved by explayouts; its zones/blocks render through templates/explayouts/ and the hand-authored block templates.
  4. The pagelayout loads the [MediaTheme] asset lists: CSS explayouts.css, index.css, index-noncritical.css; JS runtime.js, index.js, index-noncritical.js.

Template operators

sevenxThemesMediaOperators emulates the Twig functions/filters the templates were converted from. Complete $Operators list:

absolute_url, app, asset, content_link, content_tags, controller, tpl_block_template, layout_title, embed_image, component_content, enhanced_link, fieldRelation, fieldRelations, fieldValue, filterChildren, filterFieldRelationLocations, filterFieldRelations, getParameter, get_netgen_open_graph, hasField, hasParameter, haveToPaginate, ibexa, ibexa_path, ibexa_url, image, image_link, intro, item_content_link, item_image_link, item_params, ng_image_alias, ng_query, ng_render_field, ng_view_content, nglayouts_render_result, nglayouts_render_zone, ngsite, ngsite_group_fields, ngsite_language_name, ngsite_topic_path, pagerfanta, parameter, parent, path, player, player_slide, poster, poster_slide, redirect_to_site_root, render, render_esi, saveXML, title, trans.

Highlights:

Image aliases

Shipped in settings/siteaccess/sevenx_site_user/image.ini.append.php (plus i160/i480 globally in settings/image.ini.append.php):

Alias Geometry
small 100x160 scaledown
medium 200x290
large 360x440
i160 160x106 scaledown
i480 width 480 scaledown
listitem, articleimage, articlethumbnail, gallerythumbnail, galleryline, imagelarge, rss, logo, infoboximage, billboard See the shipped image.ini

Use them from templates via the shipped operators (image( $field, 'i480' )) or the standard attribute_view_gui/image_alias mechanisms.

Customization

All customization happens from outside the extension — do not edit the shipped templates or settings in place unless you are maintaining the theme itself. See doc/USAGE.md for the full guide to the three customization layers:

Documentation

Document Contents
INSTALL.md Activation (ActiveAccessExtensions[]), what the siteaccess settings auto-provide, using a different siteaccess name
doc/USAGE.md Template structure, the full annotated operator list, image aliases, and the settings/template/PHP customization layers
doc/FAQ.md Common questions — including the extension name and the retired converter
doc/TODO.md Honest, code-observed gaps
doc/SUPPORT.md Support channels and security reporting
LICENSE.md The complete GNU General Public License agreement

Troubleshooting

Read the FAQ

Use our support systems


All versions of sevenx-themes-media with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1 || ^8.2 || ^8.3 || ^8.4
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 se7enxweb/sevenx-themes-media contains the following files

Loading the files please wait ...