|
PhraseThis is an important and frequently used table, holding various pieces of text, mostly found inside zoglair source code as string literals. Although this table's primary purpose is the localization (~translation) of the program's interface, it is also used as a storage of user text entities that are too few to justify their own separate tables, such as your site's menus. The phrase form contains the following fields:
Handy TipYou may use phrases as shortcuts/variables in your content. One fine example is the various thumbnails embedded in your articles. Let us say that you have chosen to use left-aligned, 200px-wide thumbnails. Instead of directly embedding an image thumbnail:
(123 is an example image id) ...you may use a phrase:
(to create this phrase, just click on the icon in the phrase grid, and fill the form as per the screenshot) What is your gain from doing this? Huge! If you ever change your mind about the alignment, dimensions or any other image parameter (class, styling, etc), you can edit your phrase accordingly, and have the result applied everywhere instantly! Can you imagine doing that manually over hundreds of articles? The name of the phrase is not restrictive. As long as it is a valid phrase name, you can name it as you want. You can also create as many phrases as you need. However, it is recommended that you use the |