Forums / Developer / Search stats and tag cloud

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Search stats and tag cloud

Author Message

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

laurent le cadet

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