micschk / silverstripe-namedlinkfield
This package is abandoned and no longer maintained.
The author suggests using the restruct/silverstripe-namedlinkfield package instead.
A SilverStripe composite field for having various link types *with title*, in a single field with a nicely styled form.
Package info
github.com/restruct/silverstripe-namedlinkfield
Language:JavaScript
Type:silverstripe-vendormodule
pkg:composer/micschk/silverstripe-namedlinkfield
3.0.1
2025-10-17 13:09 UTC
Requires
- dev-master
- 3.0.1
- 3.0.0
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3
- 1.2
- 1.1
- 1.0
- dev-dependabot/npm_and_yarn/svgo-2.8.2
- dev-dependabot/npm_and_yarn/minimatch-3.1.5
- dev-dependabot/npm_and_yarn/webpack-5.104.1
- dev-dependabot/npm_and_yarn/lodash-4.17.23
- dev-release-2.1.4
This package is auto-updated.
Last update: 2026-03-05 00:25:23 UTC
README
A single inline link field which allows users to set a title/name for the link, and select
- a page + optional text-anchor from the site tree
- a file from the assets dir
- an e-mail address (mailto link)
- define a custom URL to link to
- or enter a shortcode
Usage
use Restruct\SilverStripe\ORM\FieldType\NamedLinkField; use Restruct\SilverStripe\Forms\NamedLinkFormField; ... private static $db = array( 'NextAction' => NamedLinkField::class, ); ... public function getCMSFields() { $fields = parent::getCMSFields(); $fields->insertBefore( "Content", NamedLinkFormField::create('ActionButton') ); return $fields; }
TODO
- Check source-class-HtmlEditorField_Toolbar.html#_LinkForm for inline uploading of files etc
- Make translatable/i18n