Etiketcim ing. olmadığı için bişey anlamadım
anladığım;
OK, you could create plugin using hook search_complete and this code:
Then in the template, keywords is an array of arrays, like is described in this comment from the get_words function:Alıntıif (get_class($this) == 'vb_Search_Resultsview')
{
$this->template->register('keywords', $criteria->get_keywords());
}
Alıntı* Return the parsed keywords to filter
*
* @return array. An array of array("word" => $word, "joiner" => $joiner)
* where $word is the keyword and $joiner indicates how the word should be
* joined to the query. $joiner should be one of "AND", "OR", or "NOT"
* with the exception of the first item for which $joiner is NULL.
* It is up to the search implementation to define exactly how to treat
* the words specified.
*/
public function get_keywords()
So for instance I could put this in the template:
Then when I search for test OR moderators (for example), I get this output:Alıntı<vb:each from="keywords" value="keyword">
Keyword: {vb:raw keyword.joiner} {vb:raw keyword.word}<BR />
</vb:each>
ne demekse.AlıntıKeyword: test
Keyword: OR moderators
Forumlar
Blog
Store
Giriş & Kayıt ol
-
Hoş geldin Kayıtsız Üye
Facebook ile Baglan & Kayıt ol
Üyeliğinizi aktifleştirmek için e-posta iste
Üyeliğinizi aktif durma getirebilmek için e-posta adresinizin kontrol edilmesi gereklidir. Bu alandan kayıt sırasında vermiş olduğunuz e-posta adresinizi vererek tekrar aktifleştirme postası talep edebilirsiniz ve üyeliğinizi aktif hale getirebilirsiniz...
Facebook ile BaglanBize Yazin