Skip to content

Tiny custom lexicon for MODx Revolution includes essential words and phrases

License

Notifications You must be signed in to change notification settings

martinkryl/modx-essential-lexicon

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

MODx Essential Custom Lexicon

Tiny custom lexicon for MODx Revolution includes essential words and phrases .) (alpha)

Lexicon includes:

  • Essential phrases (eg. More Info, View more, Hot news, ...)
  • Days of the week
  • Months
  • Registration form
  • ...

Installation

Just download the source code from GitHub and copy to your MODx folder.

path-to-your-modx-installation/core/lexicon/*

Documentation

Usage example

[[%learn_more? &language=`[[++cultureKey]]` &namespace=`core` &topic=`app`]]

Language variable examples

  • Placeholder: [[++cultureKey]] (easy to use with Babel addon)
  • Snippet: $modx->getOption('cultureKey'); or return $modx->context->key;

Customizing strings in manager

  • Step 1: Login to your MODx Manager
  • Step 2: Go to System -> Lexicon
  • Step 3: Switch topic to app

Notice: In MODX Revolution, however, the strings are still in the files, but if you change the strings properly, the new version is stored in the MODX database, where it will survive any upgrades. Bobs's Guide

License

I welcome you to customize this according to your needs or add other language. Pull requests for any improvements would be great!

Created by

About

Tiny custom lexicon for MODx Revolution includes essential words and phrases

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%