Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TS setup uses long-deprecated singular path format #75

Closed
NamelessCoder opened this issue Nov 7, 2016 · 2 comments
Closed

TS setup uses long-deprecated singular path format #75

NamelessCoder opened this issue Nov 7, 2016 · 2 comments

Comments

@NamelessCoder
Copy link

Should use templateRootPaths, partialRootPaths etc.

@NamelessCoder
Copy link
Author

Corrected settings for setup.ts:

plugin.tx_frontendediting {
    view {
        layoutRootPaths.10 = {$plugin.tx_frontendediting.view.layoutRootPaths.10}
        templateRootPaths.10 = {$plugin.tx_frontendediting.view.templateRootPaths.10}
        partialRootPaths.10 = {$plugin.tx_frontendediting.view.partialRootPaths.10}
    }
}

@NamelessCoder
Copy link
Author

For constants.ts:

plugin.tx_frontendediting {
    view {
        # cat=Internal Notes/general/1000; type=string; label=Layout Root Path: Path to layouts
        layoutRootPaths.10 = EXT:frontend_editing/Resources/Private/Layouts/
        # cat=Internal Notes/general/1010; type=string; label=Partial Root Path: Path to partials
        partialRootPaths.10 = EXT:frontend_editing/Resources/Private/Partials/
        # cat=Internal Notes/general/1020; type=string; label=Template Root Path: Path to templates
        templateRootPaths.10 = EXT:frontend_editing/Resources/Private/Templates/Toolbars/Toolbars.html
    }
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant