Elgg 1.9 Themes
CLICK HERE ->>->>->> https://urlca.com/2tlzc9
Boolean values are cast to integers when saved: false is stored as 0 and true is stored as 1.This has breaking implications for private settings, which were previously stored as empty strings for false values.Plugins should write their own migration scripts to alter DB values from empty strings to 0 (for private settings thatare expected to store boolean values) to ensure that elgg_get_entities() can retrieve these valueswith private_setting_name_value_pairs containing false values. This applies to plugin settings, as well asany private settings added to entities.
elgg_register_library and elgg_load_library have been removed.These functions had little impact on performance (especially with OPCache enabled), and made it difficult for other plugins to work with APIs contained in libraries.Additionally it was difficult for developers to know that APIs were contained in a library while there being autocompleted by IDE.
one_column, one_sidebar, two_sidebar and content layouts have been removed - instead layout rendering has been centralized in the default. Updated default layout provides full control over the layout elements via $vars.For maximum backwards compatibility, calls to elgg_view_layout() with these layout names will still yield expected output, but the plugins should start using the default layout with an updated set of parameters.
The twitter_api plugin has been removed from the Elgg core. The plugin is still available as the Composer packageelgg/twitter_api, in order to install it add the following to youcomposer.json require section:
The legacy_urls plugin has been removed from the Elgg core. The plugin is still available as the Composer packageelgg/legacy_urls, in order to install it add the following to youcomposer.json require section:
elgg_set_email_transport() can now be used to replace the default Sendmail transport with another instance of\\Zend\\Mail\\Transport\\TransportInterface, e.g. SMTP, in-memory, or file transport. Note that this functionmust be called early in the boot process. Note that if you call this function on each request, usingplugin settings to determine transport config may not be very efficient - store these settings inas datalist or site config values, so they are loaded from boot cache.
Also note, CSS views served via /cache URLs are pre-processed using CSS Crush . If you make references to CSS variables or other elements, the definition must be located within the same view output. E.g. A variable defined in elgg.css cannot be referenced in a separate CSS file like colorbox.css. 59ce067264