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

Allow multiple partialRootPaths #203

Open
artur-grigoryan-cgn opened this issue Nov 15, 2022 · 1 comment
Open

Allow multiple partialRootPaths #203

artur-grigoryan-cgn opened this issue Nov 15, 2022 · 1 comment

Comments

@artur-grigoryan-cgn
Copy link

Hello,
i try to use two extension wich got created with mask_export and i would like to use elements from the first one in the second one. The problem is that i can't do something like this:

plugin.tx_scelements.view.partialRootPath.10 = EXT:ext_1/Resources/Private/Partials/
plugin.tx_scelements.view.partialRootPath.20 = EXT:ext_2/Resources/Private/Partials/

Is there any solution for my problem?

Regards
Artur

@IchHabRecht
Copy link
Owner

Hi @artur-grigoryan-cgn,

I'm not exactly sure what you want to do. Bu you can configure additional partial paths for each of your content elements:

tt_content.mymaskexport_content_element.partialRootPaths {
	10 = EXT:ext_1/Resources/Private/Partials/
	20 = EXT:ext_2/Resources/Private/Partials/
}

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

2 participants