定制 superinteractive/statamic-super-link 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

superinteractive/statamic-super-link

Composer 安装命令:

composer require superinteractive/statamic-super-link

包简介

Super Link Fieldtype for Statamic.

README 文档

README

Statamic 5.0+ Statamic 6.0+

superlink

Super Link

A fieldtype to create smarter links in Statamic 5 and 6.

Features

  • Link text customization: Seamlessly add link text directly within the link field.
  • Additional link types: Enhance your links with phone and email options, in addition to Statamic's default types.
  • Open in new tab: Choose whether to open links in a new tab for an improved user experience.
  • Seamless integration: Simply add the Super Link fieldtype to your blueprints like any other link field.

Compatibility

Addon Version Statamic Version Laravel PHP
^3.1.0 6.x 12.x 8.3+
^3.0.0 6.x 12.x 8.3+
^2.0.0 5.x 11.x 8.2+

Installation

Require it using Composer.

composer require superinteractive/statamic-super-link

Usage

Once installed, the Super Link fieldtype becomes available when you configure your blueprints.

To display the link in your Antlers template:

{{ super_link }}
  <a href="{{ url }}" target="{{ target }}">{{ text }}</a>
{{ /super_link }}

Or

<a href="{{ super_link.url }}" target="{{ super_link.target }}">{{ super_link.text }}</a>

Editor Options

  • Link Type:
    • URL: Enter or paste any valid URL.
    • First Child: Dynamically return the URL to first entry nested below in a Structure or Navigation.
    • Entry: Directly link to any entry in your Statamic site.
    • Email: Enter an email address to create a mailto: link.
    • Phone: Enter a phone number to create a tel: link.
  • Link Text: Customize the link's display text.
  • Open in New Tab: Toggle to specify whether the link should open in a new tab.

Support

For support, issues, or feature requests, visit the our GitHub issues page.

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 7.26k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 2
  • Forks: 0
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-05-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固