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

appendBefore() und appendAfter() Position als int #1

Open
psi-4ward opened this issue Jan 19, 2012 · 0 comments
Open

appendBefore() und appendAfter() Position als int #1

psi-4ward opened this issue Jan 19, 2012 · 0 comments
Assignees
Milestone

Comments

@psi-4ward
Copy link

Die Methoden appendBefore() und appendAfter() sollten als Positions-Parameter auch einen Integer-Wert unterstützen. So könnte man sagen "nach Stelle 2 einfügen". Damit hat man das Problem nicht, dass die Felder am Schluss eingefügt werden, falls des notierte Feld nicht existiert.

<?php
MetaPalettes::appendBefore('tl_settings', 3, array(
  'my_custom_settings' => array(':hide', 'my_custom_field1', 'my_custom_field2', 'my_custom_field3')
));
@zonky2 zonky2 added this to the Future milestone Feb 8, 2022
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