Documentation · ViewHelper reference

XSD schema file | vhs master

Extension / Path / ResourcesViewHelper

Path: Relative Extension Resource Path

Site Relative path to Extension Resources/Public folder. /

  • Tag usage example

    <v:extension.path.resources extensionName="NULL" path="NULL">
    	<!-- tag content - may be ignored! -->
    </v:extension.path.resources>
  • Inline usage example

    {v:extension.path.resources(extensionName: 'NULL', path: 'NULL')}

Arguments

Argument Description Type
extensionName

Name, in UpperCamelCase, of the extension to be checked

string
path

Optional path to append after output of \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath

string
Required attribute

Revision history

commit dbf27436aceba79b309ca64d0a03fd317b854226
Author: Claus Due <*****@wildside.dk>
Date:   Fri Nov 2 16:25:28 2012 +0100

    [FEATURE] Extension ViewHelpers
    
    Includes: Absolute, Relative, SiteRelative and Resource path
    ViewHelpers to resolve paths, and Loaded condition ViewHelper to check
    if an extension (by UpperCamelCase name) is loaded.

commit 5356fe4833a099221a89f9408c05816701108715
Author: Claus Due <*****@wildside.dk>
Date:   Sat Feb 9 20:00:05 2013 +0100

    [DOC] Doc comments for all Path / Extension ViewHelpers

commit 61ebcca0ca30cc24d7507dc778ebe67a92ee0818
Author: Claus Due <*****@wildside.dk>
Date:   Thu Feb 14 00:30:06 2013 +0100

    [BUGFIX] Incorrect path returned by Extension / Path / Resources ViewHelper

commit e0c74bbcdb720d8365cfd17ea474e65d0837beb7
Author: Claus Due <*****@wildside.dk>
Date:   Sun Mar 24 23:10:25 2013 +0100

    [FEATURE] Add path attribute on Extension / Path / Resource ViewHelper

commit da31bad1d9bb058c072ddb5591e8ed907a1ae8e1
Author: Claus Due <*****@namelesscoder.net>
Date:   Tue Dec 31 23:08:37 2013 +0100

    [TASK] Happy new year!

commit d2e531da034976e6db1478eef5a8478595fd16fe
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Jan 5 00:45:10 2014 +0100

    [TASK] Migrate to using namespace core class names

commit da7677bc74f14e9a9300e4ba4487e52c3cb97642
Author: Claus Due <*****@namelesscoder.net>
Date:   Sun Apr 20 01:13:33 2014 +0200

    [TASK] Switch to namespaces

commit 8bb2fc5ee124ba19b0a0ab8e061c9a153fc4651f
Author: Xaver Maierhofer <*****@xwissen.info>
Date:   Sun Jan 18 17:56:13 2015 +0100

    [TASK] Reference Copyright to license.md file