For Visual PHP™ (for work in both the developer and the administration interface), we recommend using the Mozilla Firefox web browser, on the basis of which the whole software is developed because of stability, complying with the W3C standards and protecting elements of the browser.
Image Text – A Component for Inserting Text as Images Written in any TTF
Let’s imagine such situation when a designer creates a sensational design and all the panel names are designed in atypical typefaces and shaded. One of options would be using a font from the common font family in the browser instead of such headings. However, this typeface will never look like it does in the original page design. If we want to retain these typefaces, the only option is to cut these headings as an image. What to do if a customer has an idea that he would like to use a smaller type size, for example, or to add another panel for which you do not have any cuts available?
A new
Image Text component is available in Visual PHP™ that facilitates work when cutting any design. Thanks to this component, any text can be inserted into pages so that it has the accurate type appearance because it will be generated as an image on the side of the server, using the TTF font you select yourself and with the shading effect in addition to it.
A resulting image is an alpha transparent PNG with smoothed text; that is why this component can be used over any background. The size of a resulting image is adjusted by the component itself.
Component Properties
Basic
Text
Text that will be drawn as an image.
Font
A TTF file (*.ttf) that has to be loaded onto a server.
Size
A font size in pixels.
Shade
Shade Colour
The colour of the shade that will be displayed behind text.
Shade Size
The size of a shade in pixels.
Shade Smudging
This determines shade smudging in percents.
Shade Angle
An angle of 0-359° that a shade will have (0 right, 90 top, 140 left, 270 bottom).
CSS
class
The CSS class for an image to be generated.
style
The CSS inline styles for an image to be generated.
How to Get TTF Files from Windows
Fonts are stored in the c:/windows/fonts/ folder. But the names of the fonts are not clearly arranged there, that is why it is better to use the following procedure:
Open Control Panels (Start -> Control Panels).
Find and open Fonts (in Windows Vista and 7, you can use search because this panel is hidden under several groups).
Find the required type design (there are separate TTF files for bold and italic types and their combinations) and drag and drop it using a mouse, e.g. on the desktop or into another folder.
Load this *.ttf file by means of FTP onto a server, e.g. to the /repository/layout/ directory.
How to Convert OTFs (Open Type Font)
FontForge – An opensource font editor is available (http://fontforge.sourceforge.net/). This editor is available for the Windows, Linux, and Mac OSX platforms.
Examples of Image Text Component Outputs
Algerian Font
Brush Script MT Font
Shaded Snap ITC Font
Tempus Sans ITC with Various Angles
NOTICE
Some properties published in this article can only be functional with the latest core version. If you have any older core version, we recommend you to update to the latest version.
indexace pro multiselect pole (mySQL to běžně neumožňuje)
v Debug konzoli lze zapnout volbu Redirect, která zobrazí odkaz, na který bude stránka směrována včetně všech chybových, dump a jiných hlášek. Usnadňuje to tak například sledování odeslaných emailů před přesměrováním formuláře po jeho zpracování
Optimalizováno vyhledávání SEO odkazů z databáze
Optimalizovnán počet přístupů do databáze (více cachovaných objektů)
Nová URL cache
Optimalizace HTML cache
Možnost výběru způsobu uložení cache do DB, souborů
Boost metoda mazání adresářů
Možnost zadat vlastní id pro cache (umožňuje sdílet html cache napříč stránkami)
Možnost sdílet session napříč doménami (z důvodu zabezpečení je nutné tyto domény výslovně uvést)
Server weather.com decided to stop providing weather information for free and passed to the paid version (about $ 60 per month). For this reason, we were forced to modify the Weather component to pulling weather information from another data source, namely from the server www.worldweatheronline.com . This site also provides information about weather all around the world, but the amount of information is smaller than the original source.
For proper functionality of the Weather component please update core to version 1.7.9.638.