- Gordon Anderson (Nickname: nontgor) [email protected]
This module provides a facility for adding and editing links on any DataObject. It could be used for example in providing related links on a blog article.
composer require "weboftalent/links"
##Usage
Links folders and links can be edited in the admin area under /admin/linksfolders
- each folder
has a slug (so that it can be referenced from templates) and a tab of links. One can provide
either internal (default) or external links.
A links tab can be added to any object using the LinksExtension class
<ul>
<% loop $getLinksFolder('header') %>
<li><a href="$URL">$Title</a></li>
<% end_loop %>
</ul>
- SilverStripe 4., for 3. append
:~5
to the above composer command.