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
2 weeks 4 days ago #173721 by Fábio Jordan
Fábio Jordan created the topic: Suggestion: K2 search field in Module K2 Stats (admin)
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.

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
2 weeks 4 days ago #173722 by Fotis
Fotis replied the topic: Suggestion: K2 search field in Module K2 Stats (admin)
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 ;)

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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
2 weeks 4 days ago #173725 by Fábio Jordan
Fábio Jordan replied the 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.

  • Fotis
  • Fotis's Avatar
  • Online
  • Administrator
  • JoomlaWorks Support Team
More
2 weeks 4 days ago #173728 by Fotis
Fotis replied the topic: Suggestion: K2 search field in Module K2 Stats (admin)
Mui obrigado :)

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum