Keyword

Suggestion: K2 search field in Module K2 Stats (admin)

  • Fábio Jordan
  • Fábio Jordan's Avatar Topic Author
  • Offline
  • Senior Member
  • Nothing like a good coffee to make a better web
More
5 years 3 days ago #173721 by Fábio Jordan
Hi.

I have a suggestion. I change my mod_k2_stats (in backend) to show a search field directly on top of it.

Since I like to enter in the backend and start searching for some items, I like to have that tool in the first page of Joomla Administration, instead of clicking in K2 items and then using the search.

It's pretty simple and maybe you should insert something like that in next K2 version. Here's the code:

<div class="buscaAdmin">
<form action="<?php echo JRoute::_('index.php?option=com_k2&search=') ?>" method="post" name="adminForm" id="adminForm">
<div class="btn-wrapper input-append">
<input type="text" name="search" value="<?php echo $lists ?>" class="text_area" title="<?php echo JText::_('K2_FILTER_BY_TITLE'); ?>" placeholder="<?php echo JText::_('K2_FILTER'); ?>" />
<button id="k2SubmitButton" class="btn"><?php echo JText::_('K2_GO'); ?></button>
</div>
</form>
</div>

Hope you like it.

Regards.
Attachments:

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

More
5 years 3 days ago #173722 by JoomlaWorks
The 2 backend modules will actually be merged into a new (single) super-module in v3.0.0 which will come early (Jan - Feb) 2020. I'll keep this one as a surprise ;)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Fábio Jordan
  • Fábio Jordan's Avatar Topic Author
  • Offline
  • Senior Member
  • Nothing like a good coffee to make a better web
More
5 years 3 days ago #173725 by Fábio Jordan
Replied by Fábio Jordan on topic Suggestion: K2 search field in Module K2 Stats (admin)
Great to know!

Actually, I use this hack for more than a year now, but always forget to post here haha

Well, guess I get here a little late, but there's the code if anyone wants to use.

And congrats on K2 2.10, it's awesome!

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

More
5 years 3 days ago #173728 by JoomlaWorks
Mui obrigado :)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum