Forums / Developer / Search stats and tag cloud
laurent le cadet
Wednesday 10 October 2007 2:43:30 am
Hi,
I would like to reuse the search stats functionnalities for a tag cloud.I pointed to design/admin/templates/search/stats.tpl but I don't know from where the variable $most_frequent_phrase_array comes.
Any hint?
Laurent.
Pascal Specht
Wednesday 10 October 2007 3:51:29 am
Hi Laurent,
Did you have a look at: \kernel\search\stats.php
$mostFrequentPhraseArray =& eZSearchLog::mostFrequentPhraseArray( $viewParameters );
[...]
$tpl->setVariable( "most_frequent_phrase_array", $mostFrequentPhraseArray );
Pascal
Wednesday 10 October 2007 7:33:24 am
hum well,
It appears that users can access this search table while using search/stats url.My pupose is to use that as a include template...
I don't know how to do that :( (extension ?)
Any help will be welcome.
Laurent