DARKF3D3 Posted February 24, 2023 Share Posted February 24, 2023 Hi, do you know if there's a hook I can use in a module to show content on the top bar of the back office, next to the "quick access" link and the search bar? Link to comment Share on other sites More sharing options...
WebDesk Solution Posted February 28, 2023 Share Posted February 28, 2023 (edited) Hello @DARKF3D3 For the display content topbar next to Quick access and search bar, the Hook is displayBackOfficeTop, and that hook is available in {{admin folder}}\themes\default\template\header.tpl file Change the hook position whenever you want to in the top header {if isset($displayBackOfficeTop)}{$displayBackOfficeTop}{/if} Review the screenshot for reference: https://prnt.sc/6Ou_jKnhPFxy. Hope this helps! Edited February 28, 2023 by WebDesk Solution (see edit history) 1 Link to comment Share on other sites More sharing options...
DARKF3D3 Posted March 1, 2023 Author Share Posted March 1, 2023 Thank you, that's exactly what I was looking for! Link to comment Share on other sites More sharing options...
DARKF3D3 Posted March 1, 2023 Author Share Posted March 1, 2023 Hi @WebDesk Solution I just tryied using displayBackOfficeTop, but the content of my module it's not showed next to the searchbar like in your screenshot, but at the end of the top bar, just after the account icon. Link to comment Share on other sites More sharing options...
WebDesk Solution Posted March 2, 2023 Share Posted March 2, 2023 Hello @DARKF3D3 To display the content next to the search bar. you need to go the {{admin folder}}\themes\default\template\ path in your project directory and you will find this line {if isset($displayBackOfficeTop)}{$displayBackOfficeTop}{/if} inside the header.tpl file. Please check the screenshot for more reference: https://prnt.sc/l6pLKgUiBUqM If you find our reply helpful, please hit Like it. Link to comment Share on other sites More sharing options...
DARKF3D3 Posted March 2, 2023 Author Share Posted March 2, 2023 But If I'm not wrong this involve core file modify. I cannot hook a module of that position without editing ps core files. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now