We have moved to Github. Please open tickets there.

#3806 closed Defect (worksforme)

ToolBar Logo Link ;-)

Reported by: dhrup2000 Owned by:
Priority: normal Milestone: Needs Review
Component: Core Version: 1.8
Severity: trivial Keywords:
Cc: brett@… Difficulty:

Description

elgglib.php

elgg_register_menu_item('topbar', array('name' => 'elgg_logo',...
sets up the logo link a wee bit 'restrictively' :-

$logo_url = elgg_get_site_url() . "_graphics/elgg_toolbar_logo.gif";
elgg_register_menu_item('topbar', array(

'name' => 'elgg_logo',
'href' => 'http://www.elgg.org/',
'text' => "<img src=\"$logo_url\" alt=\"Elgg logo\" width=\"38\" height=\"20\" />",
'priority' => 1,
'link_class' => 'elgg-topbar-logo',

));


This means that for all those Elggsters who wanna actually use Elgg,
BUT want to *dump the "Elgg" name LOLZ ;-)
They have to edit the Core elgglib.php code.

I think the typo is the

'href' => 'http://www.elgg.org/'

probably should be

'href' => elgg_get_site_url()

This has got to be the most trivial trac report ever ;-)
I am inclined to say --
Let them eat muffins and hack and break their sites ! (kidding..)
But - this was triggered by someone posting earlier today
the code *hack into elgglib.php

The severity should really be "Trivial E3 " ;-)

Regards,
DC.

Change History (1)

comment:1 Changed 21 months ago by ewinslow

  • Resolution set to worksforme
  • Status changed from new to closed

This is working as intended. See elgg_unregister_menu_item().

Note: See TracTickets for help on using tickets.