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

Can't control Assets tab in Form Customization #33

Open
PuddingtonBeer opened this issue Nov 7, 2014 · 2 comments
Open

Can't control Assets tab in Form Customization #33

PuddingtonBeer opened this issue Nov 7, 2014 · 2 comments

Comments

@PuddingtonBeer
Copy link

I'd like to remove the Assets tab for specific page templates, at least while it's necessary to use snippets to handle assets attached to the resource.

More accurately, for my current project I only want the Assets tab to appear for one specific template, a gallery template in this case.

I also wonder if it's possible to register the Assets tab as a region. It's currently not listed under Regions on the Form Customization page. Is this a modx limitation?

It'd also be nice to be able to rename the Assets tab. Something like "Photos" would suit better in my specific case. [EDIT:] Just discovered I can rename the tab in Lexicon Management, which is nice, but global.

@PuddingtonBeer PuddingtonBeer changed the title Can't disable Assets tab in Form Customization Can't control Assets tab in Form Customization Nov 7, 2014
@fireproofsocks
Copy link
Member

A relatively easy workaround is to modify the assman plugin to check for the template before drawing the tab.

Renaming will be possible when the plugin is properly localized for i18n (translations/lexicons)

@sebastian-marinescu
Copy link

Unfortunately this issue is keeping me from using this otherwise great Extra.

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

No branches or pull requests

3 participants