Kreatore.it

Sviluppo applicativi Lamp

Textpattern plugin and theme

mck_image_search

This plugin extend textpattern search to a images fileds

Features

Search results are customizable with Textpattern’s forms using images’ tags
A simple tag, <txp:mck_image_search />. The tag shows search results.
The search works with the standard core ?q HTTP GET search. Core conditionals and forms can work too, including <txp:if_search />.

Usage

After installing & activating the plugin, you can now use <txp:mck_image_search /> to display images on your search results page. It works same as <txp:article /> would.

List of Tags and attributes

<txp:mck_image_search />

The <txp:mck_image_search is a single or container tag that return the results of search into the images table.

Attributes

form: Default: search_image
grand_total: Omit setting result count. If the attribute is set to “0” (zero), search_result_count won’t be updated with the number of results. Default: 1
wraptag:HTML wraptag
break: HTML break
class: HTML class of wraptag

Example

<txp:if_search>
	<txp:mck_image_search>
		<txp:image_info type="caption" wraptag="div" />
	</txp:mck_image_search>
</txp:if_search>

Changelog

  • 1.0 First release

Thanks to

Jukka for his original plugin!

Download

Download Compressed Download Uncompressed

Altri Plugin

© 2011 Kreatore.it :: Sito web realizzato da Marco Casalegno

TXP | Admin | Home | Back to Top

Tutte le informazioni e le immagini sono rilasciate sotto licenza secondo la Creative Commons License 2.0.