okay i would really appreciate some help at why this doesnt work :
Code:
<?
/*
Plugin name: Map for search result pages (powersearch)
Plugin URI: http://www.nicecoder.com
Description: This plugin displays and marks listings on powersearch result page.
Version: 1.0
Author: matt
Author URI: -
*/
function Generatemap(){
global $plug, $dbConn, $site_url, $lat, $lon, $tpl, $indexu;
// code here that builds up google maps code onto a variable called displaymap_out , i can echo this and it displays exactly as i need it, so i know the php hook is working.
}
$plug->SetHook('hook_php_link_class_display_begin', 'Generatemap');
$plug->SetHtmlHook('hook_html_power_search_result_begin', $displaymap_out);
it never displays with the html hook (bold) everything is in place on the template file - am i doing it right?
?>