back-end customization

  • okkhalid
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 1 day ago #79062 by okkhalid
back-end customization was created by okkhalid
Hello, from where I can hide the following items:

Copyright line
useful links box
configuration icon, and update icon




Thanks,

Please Log in or Create an account to join the conversation.

More
10 years 19 hours ago #79076 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic back-end customization
In short, you will need to edit the code. Look at the file administrator/components/com_eventbooking/view/dashboard/tmpl. there are few files in that folder which you can look at and remove the information you don't want

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • okkhalid
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 11 months ago #79203 by okkhalid
Replied by okkhalid on topic back-end customization
Can not find the footer info, where does the footer info stored?


Event Booking version 2.4.1, Copyright (C) 2010 - 2016 Ossolution Team



Thanks, :)

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #79204 by Brian F
Replied by Brian F on topic back-end customization
Does editing "/components/com_eventbooking/helper/helper.php" around Line 3746 "public static function displayCopyRight()" do the trick?

Please Log in or Create an account to join the conversation.

  • okkhalid
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 11 months ago #79206 by okkhalid
Replied by okkhalid on topic back-end customization
Great, Thank you it does the job.

One more last thing, where I can edit the menu of the header.
as I would like to remove the configuration from the tab menu.


Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #79214 by Brian F
Replied by Brian F on topic back-end customization
That one is a little trickier. That file (html.php) is in the same 'helper' folder: "/components/com_eventbooking/helper/html.php" but you'll notice it queries the menu items from the "#__eb_menus" table. I guess theoretically you could delete the "EB_CONFIGURATION" row from the "#__eb_menus" table, but I usually don't like modifying the tables myself.

Tuan may have a better idea, but since you're already editing core files you could add some jQuery to the Isis template (or copy/clone it and edit the template copy) by adding hide() code to the "/administrator/templates/isis/js/template.js" file right above the "});" that is the second line from the bottom. At the bottom of that file right above:
Code:
}); })(jQuery);

you could add either an a[href=""] equals selector:
Code:
$('#mp-dropdown-menu a[href="index.php?option=com_eventbooking&view=configuration"]').parent().hide(); // Hide Configuration menu item }); })(jQuery);

or if you prefer a shorter string, an a[href*=""] contains selector:
Code:
$('#mp-dropdown-menu a[href*="configuration"]').parent().hide(); // Hide Configuration menu item }); })(jQuery);

There again, Tuan may have a better idea.

Please Log in or Create an account to join the conversation.

  • okkhalid
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 11 months ago #79216 by okkhalid
Replied by okkhalid on topic back-end customization
Oh, is that possible to remove the entire tab menu?
if that makes easier, please help.
what I should remove?
Thank you so much.

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #79221 by Brian F
Replied by Brian F on topic back-end customization
That would be easier, in the "/components/com_eventbooking/helper/html.php" file, around Line 582, comment out the line: echo $html;
The following user(s) said Thank You: Zubaile Abdullah

Please Log in or Create an account to join the conversation.

  • okkhalid
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
9 years 11 months ago #79222 by okkhalid
Replied by okkhalid on topic back-end customization
Great and Thank you so much Brian :)

Please Log in or Create an account to join the conversation.

More
9 years 11 months ago #79223 by Brian F
Replied by Brian F on topic back-end customization
You’re welcome. Now that I’ve looked more at the html.php helper file’s query code, if you’d like to keep the tab menu and remove the Configuration menu item, or such, right after around Line 521 “->where('menu_parent_id = 0’)” in the html.php file, you could try adding:
Code:
->where('menu_name != "EB_CONFIGURATION"') // Remove Configuration menu item
The following user(s) said Thank You: okkhalid

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc