The reply form has the id "messages-reply-form" and gets toggled (shown/hidden) on a click on the reply button. But there's no css style defined for this id as far as I know. So, changing the look of the site only shouldn't result in a problem.
Without knowing what you have changed exactly it's difficult to give an pointers about what might be the problem. My only suggestion would be to debug the issue by reducing the number of changes to narrow down which modification causes the problem. So, proceed step by step starting with no actual changes in your plugin and then add only a part of the modifications at a time to find out when it starts to fail.
Check the error log for relevant entries. In require_once() you have a relative path. Depending on the location of the file of your code the relative path might be wrong.
The code as such looks right. Without knowing how you implement it exactly, I can't say if the way you do it is right or not. For example, if you add your code in a view of an Elgg plugin you wouldn't need to boot the Elgg engine explicitely. The best way to proceed also depends on what you want to achieve in the first place. If you want to add the output of popular groups on the index/home page of your Elgg site, you would rather add the code for example to the view of the index page.
Thanks, Ismayil
I do have hypeNotifications installed :) However, when I try the 'send test email' function of hypeNotifications, with an attachment, the attachment doesn't arrive - so perhaps I have another issue going on...
So, to pass the attachment to the email function of HypeNotifications, would I simply include
notify_user($to, $from, $subject, $body, $attachment);
...in the mail action of grouptools? ...not having any success with that...:(
Thank you again... I'm learning.... slowly...
Jamie
From hypeNotifications readme:
To add attachments to your email, add an array of ElggFile
objects to notification parameters:
notify_user($to, $from, $subject, $body, array( 'attachments' => array( $file1, $file2, ) ));
Thanks :) Which I've done.... but how to do I retrieve $file1, $file2 etc to make this array?
Once again, thank you for your patience...
Jamie
Should be an easy fix, the date input can have configurable options passed to it and the year range is one of those options.
You can create a date of birth input by just wrapping the date view
$vars['datepicker_options'] = [
'yearRange' => (date('Y') - 120) . ':' . date('Y')
];
echo elgg_view('input/date', $vars);
As I already wrote in my first posting, this input field is not provided by Elgg core. So, you use some 3rd party plugin that adds it. Without knowing what plugins you use, how should we be able to point you to the file? Give at least the info which plugin adds the birthday field.
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.