ibexa-location-relationlist-fieldtype

UNIX name Owner Status
ibexa-location-relationlist-fieldtype 7x stable
Version Compatible with
N/A N/A
This Ibexa dxp v.4.x bundle allow developer to add relation to location instead of content

Ibexa location relationlist fieldtype Bundle

Ibexa standard Content relations (multiple)fieldtype provides always the main location Id of selected contents which can be a bottleneck if you need to provide content links in multisites setup. This bundle provides a new Location relationList (multiple) fieldtype based on current content selection in the UDW (Universal discovery widget). The content link provided in the frontend is siteaccess aware.

Requirement

Ibexa 4.x +

Installation

composer require arfaram/ibexa-location-relationlist-fieldtype
  • Activate the Bundle in bundles.php
Ibexa\LocationRelationListFieldTypeBundle\IbexaLocationRelationListFieldTypeBundle::class => ['all' => true],

Translation

fieldtype name

If the new fieldtype is shown as location.name then run

php bin/console translation:extract en --config=ibexa_location_relation_list_fieldtype

Usage

{% if not ibexa_field_is_empty( content, '' ) %}
{{ ibexa_render_field(content, '') }}
{% endif %}

Screenshots

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.