How To Add A Permanent Article Search Field In Administration

For Joomla! 3.x Coding related discussions, you could also use: http://groups.google.com/group/joomla-dev-general

Moderators: ooffick, General Support Moderators

Forum rules
Locked
User avatar
websitedons
I've been banned!
Posts: 389
Joined: Sat May 27, 2017 9:42 am

How To Add A Permanent Article Search Field In Administration

Post by websitedons » Tue Jun 27, 2017 4:38 pm

The hardcore blogger with thousands of posts needs to get to posts quickly to make corrections before the public sees the error. Being able to search for articles while in any area of the Joomla administration, will boost the speed of article edit.
perpetual-article-search-field.jpg
The Method
1. Make a duplicate of the default admin template
2. Edit index.php and add the search field as the first child element within the <header> element.

Code: Select all

<header class="header<?php echo $header_is_light ? ' header-inverse' : ''; ?>">
<form action="index.php?option=com_content&view=articles" method="post">
	<div class="btn-wrapper input-append">
		>input name="filter[search]" id="filter_search" value="" placeholder="Search" data-original-title="" title="" type="text">
		<button type="submit" class="btn hasTooltip" title="" data-original-title="Search">
			<span class="icon-search"></span>
		</button>
	</div>
</form>
</header>
Be sure use the correct lesser than symbol for the input tag line.
You do not have the required permissions to view the files attached to this post.

Locked

Return to “Joomla! 3.x Coding”