2017 © Pedro Peláez
 

craft-plugin titleentriesfield

Offers users a field type with an easy way to set a different title for the relation than the related page title. Useful in menus, submenus or related lists if you are linking to other content but want to use shorter or different titles in the lists.

image

dolphiq/titleentriesfield

Offers users a field type with an easy way to set a different title for the relation than the related page title. Useful in menus, submenus or related lists if you are linking to other content but want to use shorter or different titles in the lists.

  • Sunday, March 25, 2018
  • by dolphiq
  • Repository
  • 3 Watchers
  • 8 Stars
  • 1,144 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 9 Versions
  • 42 % Grown

The README.md

Title Entries Field plugin for Craft CMS 3.x

Currently the project is DISCONTINUED. However, feel free to fork it and continue its development!

Craft plugin that provides a new field type that works like an Entries field type but offers users an easy way to set a different title for the relation than the related page title., (*1)

This is particularly useful if you are linking to other content but want to use shorter or different titles in the lists e.g. in menus, submenus or related lists., (*2)

Installation

To install the Title Entries Field type, follow these steps:, (*3)

  1. Install with Composer via composer require dolphiq/titleentriesfield from your project folder
  2. Install plugin in the Craft Control Panel under Settings > Plugins
  3. The Title Entries Field type will be available when adding a new field - Settings > Fields > Add new field

Title Entries Field plugin works on Craft 3.x., (*4)

Example of the Title Entries Field in action

Screenshot, (*5)

Using the Title Entries Field

You can use the field as a normal Entries field type but give the end user the possibility to change te label for each relation/link., (*6)

Usage sample in Twig templates

{% for entry in entry.myLinks %}
  {{ entry.title }} - {{ entry.linkTitle }} <br>
{% endfor %}

Usage sample to display the Title Entries Field if the field is set or use the title field as backup (entry.Title)

<ul>
{% for entry in entry.menuLinks %}
  <li><a href="{{ entry.url }}" rel="{{ entry.title }}">
    {{ entry.Title }}
  </a>
{% endfor %}
</ul>

Contributors & Developers

Johan Zandstra - info@dolphiq.nl Brought to you by Dolphiq, (*7)

The Versions

25/03 2018

dev-master

9999999-dev

Offers users a field type with an easy way to set a different title for the relation than the related page title. Useful in menus, submenus or related lists if you are linking to other content but want to use shorter or different titles in the lists.

  Sources   Download

MIT

The Requires

 

cms link menu entry craftcms craft-plugin craft item craft3 linkfield

25/03 2018

1.0.6

1.0.6.0

Offers users a field type with an easy way to set a different title for the relation than the related page title. Useful in menus, submenus or related lists if you are linking to other content but want to use shorter or different titles in the lists.

  Sources   Download

MIT

The Requires

 

cms link menu entry craftcms craft-plugin craft item craft3 linkfield

25/03 2018

dev-development

dev-development

Offers users a field type with an easy way to set a different title for the relation than the related page title. Useful in menus, submenus or related lists if you are linking to other content but want to use shorter or different titles in the lists.

  Sources   Download

MIT

The Requires

 

cms link menu entry craftcms craft-plugin craft item craft3 linkfield

18/12 2017

1.0.5

1.0.5.0

Offers users a field type with an easy way to set a different title for the relation than the related page title. Useful in menus, submenus or related lists if you are linking to other content but want to use shorter or different titles in the lists.

  Sources   Download

MIT

The Requires

 

cms link menu entry craftcms craft-plugin craft item craft3 linkfield

13/12 2017

1.0.4

1.0.4.0

Offers users a field type with an easy way to set a different title for the relation than the related page title. Useful in menus, submenus or related lists if you are linking to other content but want to use shorter or different titles in the lists.

  Sources   Download

MIT

The Requires

 

cms link menu entry craftcms craft-plugin craft item craft3 linkfield

13/12 2017

1.0.3

1.0.3.0

Offers users a field type with an easy way to set a different title for the relation than the related page title. Useful in menus, submenus or related lists if you are linking to other content but want to use shorter or different titles in the lists.

  Sources   Download

MIT

The Requires

 

cms link menu entry craftcms craft-plugin craft item craft3 linkfield

27/06 2017

1.0.2

1.0.2.0

Craft plugin that provides a new field type that works like an Entries field type but offers users an easy way to set a different title for the relation than the related page title.

  Sources   Download

MIT

The Requires

 

cms link craftcms craft-plugin craft craft3 linkfield

20/06 2017

1.0.1

1.0.1.0

Craft plugin that provides a new field type that works like an Entries field type but offers users an easy way to set a different title for the relation than the related page title.

  Sources   Download

MIT

The Requires

 

cms link craftcms craft-plugin craft craft3 linkfield

19/06 2017

1.0.0

1.0.0.0

Craft plugin that provides a new field type that works like an Entries field type but offers users an easy way to set a different title for the relation than the related page title.

  Sources   Download

MIT

The Requires

 

cms link craftcms craft-plugin craft craft3 linkfield