PHPackages                             carbon/link - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. carbon/link

ActiveNeos-carbon[Utility &amp; Helpers](/categories/utility)

carbon/link
===========

Link helper for Neos CMS

2.0.1(1y ago)189.1k↓35.1%5[1 issues](https://github.com/CarbonPackages/Carbon.Link/issues)4MIT

Since Jul 21Pushed 1y ago4 watchersCompare

[ Source](https://github.com/CarbonPackages/Carbon.Link)[ Packagist](https://packagist.org/packages/carbon/link)[ Fund](https://www.paypal.me/Jonnitto/20eur)[ GitHub Sponsors](https://github.com/jonnitto)[ RSS](/packages/carbon-link/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (41)Used By (4)

[![Latest Stable Version](https://camo.githubusercontent.com/cb64e935a5f5543fc0034ff793cfa21a21c213fe25e9212e624f40ae8a4ccf35/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f6c696e6b2f762f737461626c65)](https://packagist.org/packages/carbon/link)[![Total Downloads](https://camo.githubusercontent.com/29e83ae9ff8d473f911df6300a730ac3cd7dfe6cafd0e925dcdef7ecfa2d0b3d/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f6c696e6b2f646f776e6c6f616473)](https://packagist.org/packages/carbon/link)[![License](https://camo.githubusercontent.com/7deedfddc87f01f679d162cc4ee40575ecef4599b1d27d72c7b5cd2efaec74f7/68747470733a2f2f706f7365722e707567782e6f72672f636172626f6e2f6c696e6b2f6c6963656e7365)](https://packagist.org/packages/carbon/link)[![GitHub forks](https://camo.githubusercontent.com/30f9eb0037eb0d0f68b54e9f2d24c78833121b8feea35f2dbd173af21be29514/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f436172626f6e5061636b616765732f436172626f6e2e4c696e6b2e7376673f7374796c653d736f6369616c266c6162656c3d466f726b)](https://github.com/CarbonPackages/Carbon.Link/fork)[![GitHub stars](https://camo.githubusercontent.com/d21b6eccb6e916ff9ee2c88f90e08ec34c20662faf5bff1102edad083551c4b1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f436172626f6e5061636b616765732f436172626f6e2e4c696e6b2e7376673f7374796c653d736f6369616c266c6162656c3d5374617273)](https://github.com/CarbonPackages/Carbon.Link/stargazers)[![GitHub watchers](https://camo.githubusercontent.com/4af86006b525a9bb7bfef6c03582b8837d1d2f232f057c6ff33dbc18b836bd6e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f77617463686572732f436172626f6e5061636b616765732f436172626f6e2e4c696e6b2e7376673f7374796c653d736f6369616c266c6162656c3d5761746368)](https://github.com/CarbonPackages/Carbon.Link/subscription)

Carbon.Link Package for Neos CMS
================================

[](#carbonlink-package-for-neos-cms)

This package provides some fusion helper for link editor.

Installation
------------

[](#installation)

Most of the time you have to make small adjustments to a package (e.g. configuration in `Settings.yaml`). Because of that, it is important to add the corresponding package to the composer from your theme package. Mostly this is the site packages located under `Packages/Sites/`. To install it correctly go to your theme package (e.g.`Packages/Sites/Foo.Bar`) and run following command:

```
composer require carbon/link --no-update
```

The `--no-update` command prevent the automatic update of the dependencies. After the package was added to your theme `composer.json`, go back to the root of the Neos installation and run `composer update`. Et voilà! Your desired package is now installed correctly.

Questions
---------

[](#questions)

### What is the `node:// URI conversion requires a context node to be passed` error about?

[](#what-is-the-node-uri-conversion-requires-a-context-node-to-be-passed-error-about)

`Carbon.Link:Link` and the internal `Neos.Neos:NodeUri` make use of the commonly available `documentNode` context variable to obtain context information such as language and workspace and to calculate relative links. This variable is provided by default in the \\Neos\\Neos\\View\\FusionView, but not, for example, in the \\Neos\\Fusion\\View\\FusionView, which is mainly used for Model View Controller applications. Make sure that you manually retrieve the document node and add it to the view, e.g.

```
