Collections icon indicating copy to clipboard operation
Collections copied to clipboard

Feature request: Custom button labels.

Open jmacdonald-spectacle opened this issue 3 years ago • 3 comments

I'd like to be able to change the labels of some of the buttons in a collection view. Particularly the 'open' button.

One approach might be to use the same method as input items for tvs. For example: Products==open

jmacdonald-spectacle avatar Oct 01 '21 21:10 jmacdonald-spectacle

What buttons you mean? Can you send a screenshot?

theboxer avatar Feb 11 '22 12:02 theboxer

The buttons in the General settings are set here:

image

and are viewed in the collection like this:

image

I'd like to be able to change the labels on the buttons.

jmacdonald-spectacle avatar Feb 11 '22 12:02 jmacdonald-spectacle

https://github.com/modxcms/Collections/blob/4aa35b229787a0ec76dfcc50da578cf01ff69b1a/core/components/collections/processors/mgr/selection/getlist.class.php#L145

I believe that the labels of these buttons are handled by generic modx lexicon entries.

If they would be handled by collections own lexicon, we could update our lexicon files to meet our personal needs.

P.S. "Open" is my least favourite button. Can't say how often i clicked it instead of "edit"...

patrickatwsrn avatar Mar 11 '22 12:03 patrickatwsrn