Owner: ihayredinov
Group members: 2184
Are you new to Elgg and wish to build a new plugin or to customize an existing one to your liking? Do you need an advise, a tip or an idea? Are you looking for the best approach in achieving the results you need? And most importantly, are you ready to do the work yourself, spend time learning programming languages, understanding the script and respecting the coding standards?
If you answered yes, then this group is for you.
Those of us, who have been in this community long enough, understand the value of sharing the knowledge and educating the newcomers - at the end of the day it saves all of us time and effort.
Please read the GUIDELINES before posting:
http://community.elgg.org/pages/view/835629/group-guidelines
Advanced way is to override this file in your custom plugin.
(You can start with this skeleton plugin.)
Create a new folder 'assets' in your data directory.
Put your logo to this folder, e.g.:
assets/topbar_logo.png
Copy the mentioned file to your custom plugin and change code on:
$asset_src = elgg_get_simplecache_url('assets/topbar_logo.png');
$logo = elgg_format_element('img', [
'src' => $asset_src,
'alt' => elgg_get_site_entity()->getDisplayName(),
]);
echo elgg_format_element('div', [
'class' => 'elgg-heading-site'
], elgg_view('output/url', [
'text' => $logo,
'href' => elgg_get_site_entity()->getURL(),
'title' => elgg_get_site_entity()->getDisplayName(),
]));
Thanks Nikolai,
It's very hard, but i will try
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.