Today is Tuesday 12 November 1320
article-item

com_finder

/html/com_finder/search/default.php

<div class="finder<?php echo $this->pageclass_sfx; ?>">
	<?php if ($this->params->get('show_page_heading')) : ?>
		<h1 class="center">
			<?php if ($this->escape($this->params->get('page_heading'))) : ?>
				<?php echo $this->escape($this->params->get('page_heading')); ?>
			<?php else : ?>
				<?php echo $this->escape($this->params->get('page_title')); ?>
			<?php endif; ?>
		</h1><hr />
	<?php endif; ?>
	<?php if ($this->params->get('show_search_form', 1)) : ?>
		<div id="search-form">
			<?php echo $this->loadTemplate('form'); ?>
		</div>
	<?php endif; ?>
	<?php // Load the search results layout if we are performing a search. ?>
	<?php if ($this->query->search === true) : ?>
		<div id="search-results">
			<?php echo $this->loadTemplate('results'); ?>
		</div>
	<?php endif; ?>
</div>

/html/com_finder/search/default_form.php

<div class="center">
	<form id="finder-searc" action="<?php echo JRoute::_($this->query->toUri()); ?>" method="get" class="form-inline">
		<?php echo $this->getFields(); ?>
		<?php // DISABLED UNTIL WEIRD VALUES CAN BE TRACKED DOWN. ?>
		<?php if (false && $this->state->get('list.ordering') !== 'relevance_dsc') : ?>
		<input type="hidden" name="o" value="<?php echo $this->escape($this->state->get('list.ordering')); ?>" />
		<?php endif; ?>
		
		<fieldset class="">
			<div class="form-group form-group-sp">  
				<label for="q">
					<span><strong><?php echo JText::_('COM_FINDER_SEARCH_TERMS'); ?></strong></span>
				</label>
				
				<input type="text" name="q" id="f" size="35" value="<?php echo $this->escape($this->query->input); ?>" class="form-control input-sp" />
				
				<?php if ($this->escape($this->query->input) != '' || $this->params->get('allow_empty_query')) : ?>
				<button name="Search" type="submit" class="btn btn-primary">
					<span class="icon-search icon-white"></span>
					<?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?>
				</button>
				<?php else : ?>
				<button name="Search" type="submit" class="btn btn-primary disabled">
					<span class="icon-search icon-white"></span>
					<?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?>
				</button>
				<?php endif; ?>
				
				<?php if ($this->params->get('show_advanced', 1)) : ?>
				<a href="#advancedSearch" data-toggle="collapse" class="btn">
					<span class="icon-list" aria-hidden="true"></span>
					<?php echo JText::_('COM_FINDER_ADVANCED_SEARCH_TOGGLE'); ?>
				</a>
				<?php endif; ?>
				
			</div>
		</fieldset>    
		<?php if ($this->params->get('show_advanced', 1)) : ?>
		<div id="advancedSearch" class="collapse<?php if ($this->params->get('expand_advanced', 0)) echo ' in'; ?>">
			<hr />
			<?php if ($this->params->get('show_advanced_tips', 1)) : ?>
			<div id="search-query-explained">
				<div class="advanced-search-tip">
					<?php echo JText::_('COM_FINDER_ADVANCED_TIPS'); ?>
				</div>
				<hr />
			</div>
			<?php endif; ?>
			<div id="finder-filter-window">
				<?php echo JHtml::_('filter.select', $this->query, $this->params); ?>
			</div>
		</div>
		<?php endif; ?>
	</form>
</div>

/html/com_finder/search/default_result.php

<li>
	<h4 class="result-title <?php echo $mime; ?>">
		<a href="<?php echo JRoute::_($route); ?>">
			<strong><?php echo $this->result->title; ?></strong>
		</a>
	</h4>
	<?php if ($show_description && $description !== '') : ?>
		<p class="result-text<?php echo $this->pageclass_sfx; ?>">
			<?php echo $description; ?>
		</p>
	<?php endif; ?>
	<?php if ($this->params->get('show_url', 1)) : ?>
		<div class="h5 result-url<?php echo $this->pageclass_sfx; ?>">
      			<?php echo $this->baseUrl, JRoute::_($this->result->route); ?>
 		</div>
	<?php endif; ?>
</li>

monkAbout the Joomla Overrides Challenge

In association with Viviana Menzel, we've created the unofficial Joomla Overrides Challenge.

The final goal of this partnership is to show how Joomla can be really powerful with the overrides. Of course, we also have fun and we increase our Joomla skills. There is nothing to win and the participants have nothing to lose.

Each month, we create an new override based on an extension or on an project. That's why I've created this website to display some of my overrides created in this challenge. Whatever is your Joomla level, if you want to join us and participate you're very welcome. Don't hesitate to contact Viviana or me :)