forked from juek/Simple-Blog
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
gtbu edited this page Aug 2, 2025
·
2 revisions
Welcome to the Simple-Blog-3.06 wiki!
The configuration of this Gadget is often not quite easy. The getgadget-call should be in the sidebar-code of the theme.
In the bootstrap4-theme (settings.php) the gadget is called
// Simple Blog Gadgets in Text Areas
ob_start();
gpOutput::GetGadget('Simple_Blog');
$area_content = ob_get_clean();
gpOutput::Area('Simple-Blog-Gadget', $area_content);
ob_start();
gpOutput::GetGadget('Simple_Blog_Categories');
$area_content = ob_get_clean();
gpOutput::Area('Simple-Blog-Categories-Gadget', $area_content);
ob_start();
gpOutput::GetGadget('Simple_Blog_Archives');
$area_content = ob_get_clean();
gpOutput::Area('Simple-Blog-Archives-Gadget', $area_content);
Since php8.1 are the obsolete date-time-functions a problem. A strftime.php with the namespace intltime was added.
With the Typesetter 5.3.1 - master of August 25 the symfony polyfills add such missing functions.
Here an example of a working configuration:
