Documentation

OnSeoCountersGetList

handler function();

The event OnSeoCountersGetList connects a custom software counter.

Example

public static function MyOnSeoCountersGetList() 
{ 
  $value = rand(100, 500); 
  return  
      '<div style="width: 150px; text-align: center; border: solid 1px red; margin: 1px; padding: 5px;">Test counter: <b>'.$value.'</b></div>' 
      .'<!--/Start webdew.ro/--><a href="http://www.webdew.com/utils.php"><img src="http://www.webdew.ro/pagerank/free-pagerank-display.php?a=getCode&s=goo" title="Free PageRank Display Code" border="0px" alt="PageRank" /></a><!--/End webdew.ro/-->'; 
} 
 
addEventHandler('seo', 'OnSeoCountersGetList', 'MyOnSeoCountersGetList');


© «Bitrix24», 2001-2024
Up