It would look like this:
My question is:
How can I add this to console?
Thanks,
~HLK
Remember to make a note of any changes you do so that you can replace them after an update.
Well i took a quick look and i dont think youll be able to add this to other than the end of or very beginning of the button array without some difficult coding mods. I could be wrong of course but when i looked at the array that made the buttons there are some fuction calls that you have to set up those values as well so its not just plug and play.
Probably the easiest way to do this (not tested but seems logical) is to just add your link with its own css style if you need it to the end of the button array display.
if you take a look in ow_system_plugins/base/views/components/console.html
you will see this (i have notated where i THINK you can add your button)
<div class="ow_console clearfix">
<div class="ow_console_body clearfix">
<div style="ow_floatright">
<!-- stick your button code here it should put it at the beginning of the buttons(left) -->
{foreach from=$items item="item"}
{$item}
{/foreach}
<!-- stick your button code here it should display it at the far right of the buttons -->
</div>
</div>
</div>
again this is untested but let us know please...
thanks hope this helps.
Thanks for you tip, but I pretend to do it correctly, in others words, by plugin, as I pretend to put it on store later.
I tried to look at privacy plugin, that adds a item to {Username} (Helike in that case) menu.
But I simply could not understood what happened on that plugin as well I couldn't figure out how to make it appers on console instead of inside a menu.