Welcome to Elgg!
The data folder can be placed anywhere, but not in the same directory where Elgg is installed.
For example, we do this:
/var/www/app/www/ // Elgg root /var/www/app/data/ // Elgg data
- where /var/www (in Linux/Apache) or htdocs (in XAMPP/WAMP) is the web server's root folder. Put HTML, PHP, CSS, and other site files there so the server can find and serve them to visitors via HTTP requests. Without files in this folder, the website simply won't load.
Elgg docs:
https://learn.elgg.org/en/stable/intro/install.html
Create a data folder https://learn.elgg.org/en/stable/intro/install.html#create-a-data-folder
Subdirectory https://learn.elgg.org/en/stable/intro/install.html#i-installed-in-a-subdirectory-and-my-install-action-isn-t-working
Videos:
So, at the moment i have my installtion like this :-
/www/domainame.co.uk/G/ This is where my files are stored.
The other folders i have are:-
>Backup
>Logs
>mail
>Stats
>sys
>tmp
>www
Where would i place my data folder from the above folder?
Thank you
>Backup
>Logs
>Stats
>sys
>tmp
>www
> data // here's
Don't forget about the permissions
Directories must be executable to be read and written to. The suggested permissions depend upon the exact server and user configuration. If the data directory is owned by the web server user, the recommended permissions are 750.
https://learn.elgg.org/en/stable/intro/install.html#create-a-data-folder
One question still, though: Is it possible to install additional CKEditor features, like the TOC feature for example?
Yes, you can enable different features of CKeditor on the settings page.
Some features (like TOC) may not be available because they're paid plugins. Elgg comes with the full CKEditor 5 editor with all the free plugins.
Usually we use this class constructor:
class MyObject extends \ElggObject {
const SUBTYPE = 'my_object';
protected function initializeAttributes() {
parent::initializeAttributes();
$this->attributes['subtype'] = self::SUBTYPE;
}
}
Yes, i have this class constructor. "ElggCoaching" with subtype as "coaching"
Rohit,
It looks like you did everything correct.
You mentioned that your plugin is still disabled, that is why you get the warning. The system can't find your custom class. Once you plugin is active it should go away.
However, I believe I may also need to migrate existing river items, because even though the updated class is
ElggCoaching, the entities are still being treated asElggObjectinstead of the new class.
No need, once you activate your plugin the system will handle this. (There is no reference in the river table to an Entity class).
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.