Page 1 of 1
Shortcut to place cursor in Search box?
Posted: 2016-08-19, 23:05
by VLMin
Greetings! Is there a shortcut to place the cursor in the Search box? By analogy, in the wikis (Wikipedia, Wikiquote, etc.), the shortcut shift-alt-F works (in Windows, at least).
Thanks!
Re: Shortcut to place cursor in Search box?
Posted: 2016-08-20, 05:24
by KNTRO
Hi
VLMin,
Is
Ctrl+
K what are you looking for?
Best regards.
Re: Shortcut to place cursor in Search box?
Posted: 2016-08-20, 18:00
by VLMin
KNTRO wrote:Hi
VLMin,
Is
Ctrl+
K what are you looking for?
Best regards.
LOL, you just made realize how unclear my question was! I meant the
Forum search box that appears in the upper right-hand corner of every forum page. ctrl-K (or ctrl-L or, in Windows, alt-D) lands the cursor in the
browser search box (or in the address bar, if the search box has been combined or removed).
Thank you!
Best regards,
Re: Shortcut to place cursor in Search box?
Posted: 2016-08-20, 18:31
by VLMin
in the phpBB forum, I received this
it will work in phpbb styles if you put the correct code for it wherever the search box code is displayed.
you don't normally edit the core style files but if you did, you would open the prosilver/template/overall_header.html file in a text editor.
find:
Code: Select all
<fieldset>
<input name="keywords" id="keywords"
replace with:
Code: Select all
<fieldset>
<input accesskey="f" name="keywords" id="keywords"
To whomever has access to the PM Forum setup, does this (seemingly small) change workable, and is it something you would be willing to implement?
Re: Shortcut to place cursor in Search box?
Posted: 2016-08-20, 20:31
by New Tobin Paradigm
Why not.. instead of asking us to change the forum, you could use the search engine I created for the forum then do your searches from your browser with the browser search box focus key combo.
Re: Shortcut to place cursor in Search box?
Posted: 2016-08-21, 08:01
by Moonchild
I'm not going to change the forum to create ambiguity in browser behavior (making a shortcut key's behavior dependent on the site you visit) unless it would make sense. In this case, it does not.
If you want to search the forum, you can even (as an alternative to the forum search plugin) use Ctrl+K with DDG as search engine selected and prefix your search with !pmf
Re: Shortcut to place cursor in Search box?
Posted: 2016-08-22, 19:09
by VLMin
That's a reasonable solution. Thanks for the tip!
Re: Shortcut to place cursor in Search box?
Posted: 2016-08-22, 19:36
by KNTRO
You can even try that right from the address bar!
Ctrl+L to focus at the address bar, and then enter, for instance, !pmf youtube html5 and hit the Enter key.
Re: Shortcut to place cursor in Search box?
Posted: 2016-08-23, 10:42
by VLMin
Thank you, KNTRO . I have the two bars combined, so for me ctrl-K and ctrl-L produce the same apparent result.
Best regards,