IchHabRecht / mask_export

Export your mask elements as extension
GNU General Public License v2.0
45 stars 27 forks source link

Allow multiple partialRootPaths #203

Open artur-grigoryan-cgn opened 1 year ago

artur-grigoryan-cgn commented 1 year ago

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 commented 1 year ago

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/
}