2017 © Pedro Peláez
 

neos-package anchorlinks

Create links to headlines or sections in Neos

image

flownative/anchorlinks

Create links to headlines or sections in Neos

  • Saturday, March 17, 2018
  • by flownative
  • Repository
  • 3 Watchers
  • 9 Stars
  • 2,803 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 1 Open issues
  • 6 Versions
  • 26 % Grown

The README.md

MIT license Packagist Maintenance level: Friendship, (*1)

Flownative.Anchorlinks

Create anchor links to any content element on the page., (*2)

Setup

composer require 'flownative/anchorlinks'

Add the Flownative.Anchorlinks:AnchorMixin mixin to any nodetype that you would want to link to., (*3)

E.g. this code will add such ability to every Content nodetype:, (*4)

'Neos.Neos:Content':
  superTypes:
    'Flownative.Anchorlinks:AnchorMixin': true

Add the Flownative.Anchorlinks:AnchorWrapper processor to the same nodetype renderer to insert an anchor tag with the given id before it., (*5)

E.g.:, (*6)

prototype(Neos.Neos:Content) {
    @process.prependAnchor = Flownative.Anchorlinks:AnchorWrapper
}

Usage

Choose some content node that you would like to link to, and fill in the sectionId property in the inspector., (*7)

After that you will see a button appear below the field to copy the link to this node to the clipboard., (*8)

When you click that button, the link to the given node will be copied to the clipboard. Paste it in the "insert link" field in Aloha editor and you are done!, (*9)

The Versions

17/03 2018

dev-master

9999999-dev

Create links to headlines or sections in Neos

  Sources   Download

LGPL-3.0+

The Requires

 

17/03 2018

1.1.0

1.1.0.0

Create links to headlines or sections in Neos

  Sources   Download

LGPL-3.0+

The Requires

 

30/01 2017

1.0.0

1.0.0.0

Create links to headlines or sections in Neos

  Sources   Download

LGPL-3.0+

The Requires

 

28/11 2016

0.1.2

0.1.2.0

Create links to headlines or sections in Neos

  Sources   Download

LGPL-3.0+

The Requires

 

02/11 2016

0.1.1

0.1.1.0

Create links to headlines or sections in Neos

  Sources   Download

LGPL-3.0+

The Requires

 

02/11 2016

0.1.0

0.1.0.0

Create links to headlines or sections in Neos

  Sources   Download

LGPL-3.0+

The Requires