Yes we share some variables between frontend and backend.
You could fix it in your theme by also extending the admin.css and changing the font color or background color just for the admin side.
The Theme Sandbox is there to show all the different element the developers can use in Elgg. Also for designers so they can design a nice template/theme for a customer.
A link to the Theme Sandbox can be found in the Administration section, then under the menu item Information -> Theme Sanbox. Or go to https://yourelggsite.ext/theme_sanbox
To bypass Laminas email transport in Elgg and integrate direct Amazon SES via custom Symfony DI container override, follow this exact implementation flow. This replaces Elgg's default Laminas mailer with your custom transport factory, enabling amazonses config while avoiding Symfony Mailer Bridge conflicts.
elgg-services.php (in your plugin's root or core override path):
Bootstrap.php (plugin's main boot file):
EmailTransport.php (namespace MyPlugin\Core\Notifications\Email\Transport):
AmazonSesEmailTransport.php (namespace MyPlugin\Notifications\Email, implements Laminas\Mail\Transport\TransportInterface):
SimpleEmailService.php (namespace MyPlugin\Notifications\Email\AmazonSes):
SimpleEmailServiceEnvelope.php (same namespace):
SimpleEmailServiceError.php (same namespace):
$CONFIG->{'email.transport'} = 'amazonses';
$CONFIG->{'email.amazonses_region'} = 'us-east-1';
$CONFIG->{'email.amazonses_access_key_id'} = 'YOUR_KEY';
$CONFIG->{'email.amazonses_secret_access_key'} = 'YOUR_SECRET';
Deploy in plugin (autoload PSR-4 namespaces), clear caches, test elgg_send_email(). Handles attachments/multipart, events-extensible.
Thanks, Nikolai, looks like a new plugin to intercept the email process...
I also found a realtively easy fix ...
Remove this line:
'Content-Transfer-Encoding' => '8bit',
from /var/www/html/vendor/elgg/elgg/engine/classes/Elgg/EmailService.php
tested and works fine exept that it coould be refreshed on the next Elgg update...
Forgot about saving...
Add a new event in your custom plugin:
elgg-plugin.php
'events' => [ 'fields' => [ 'object:page' => [ \MyPlugin\Pages\FieldsHandler::class => ['priority' => 501], ], ], ],
Create a new file \mod\my_plugin\classes\MyPlugin\Pages\FieldsHandler.php
<?php
namespace MyPlugin\Pages;
class FieldsHandler {
public function __invoke(\Elgg\Event $event): ?array {
$result = $event->getValue();
foreach ($result as $k => $field) {
if (elgg_extract('name', $field) === 'write_access_id') {
unset($result[$k]);
}
}
$result = array_values($result);
return $result;
}
}Note: your custom plugin must be placed under 'Pages' plugin on the /admin/plugins page.
At first glance it looks like a javascript loading issue. You already mentioned the chart.js from Poll not loading.
Check the browser console (F12) to see if there are any more javascript issues.
Try to isolate the issue to a single plugin (by disabling plugins one by one) and hopefully you can find the origin of the issue.
We have several website where all these plugins are active at the same time and don't have an issue. If you find it, please contact us.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.