Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vokseverk/Vokseverk.PartialTextString

A property editor for Umbraco that lets you add pre- and postfix text to a standard TextString editor.
https://github.com/vokseverk/Vokseverk.PartialTextString

property-editor umbraco

Last synced: 2 months ago
JSON representation

A property editor for Umbraco that lets you add pre- and postfix text to a standard TextString editor.

Awesome Lists containing this project

README

        

# Partial TextString for Umbraco

A text input with a '(555)' prefix inside a square with the Vokseværk ‘fire-heart’ logo

This is a small extension to a standard "Textbox" editor, that allows
you to specify a prefix and/or suffix string to show alongside the editor.

Sometimes that's much better than trying to use the description to explain
that you should only type in e.g. the username for an email account or similar.

## Requirements

This package should work in both Umbraco 7 and Umbraco 8.

## Screenshots

### In use on a document

![The Partial TextString editor](images/partialtextstring-screen.jpg)

### Data Type configuration

![The Partial TextString Config Screen](images/partialtextstring-config-screen.jpg)

## Developing & Building

On macOS you can run the `build.sh` script from the terminal, which will
build a ZIP file in the `dist` folder that is installable from
Umbraco 8's _Packages_ section or Umbraco 7's _Developer > Packages_ section.

The build script versions the files so it's easier to test the package inside
an Umbraco installation by uninstalling the existing version and then
installing a new build. Existing data-types keep their data as long as their
alias and/or storage type isn't changed.

To update the version number, increment the `packageVersion` entity in the
`src/package.ent` file.