Results 1 to 4 of 4

Thread: Version 6 questions

  1. #1
    Join Date
    Nov 2004
    Posts
    1,822

    Default Version 6 questions

    Im really liking the new plugin system, i think its good enough to make some fantastic easy to install mods... this is what people really want, mods that dont require hacking skills AND are good for future upgrades...

    Anyway, i would like to know if its possible to get a list of the hooks in the html files (so people making templates can put them in the correct places - otherwise it could be a disaster)

    Secondly what are the <%t%> <%/t%> tags wrapped around labels doing?
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  2. #2
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    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?

    ?>
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  3. #3
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    As Dody stated the hooks will be coming with the release of v6.

  4. #4
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    I know im testing version 6 and writing mods for it, but it doesnt work... well it half works...
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

Similar Threads

  1. 5.4.0 questions
    By frost13 in forum v5.x
    Replies: 3
    Last Post: 04-21-2007, 02:14 PM
  2. Few questions before I buy again
    By friendly in forum Pre-Sales Questions
    Replies: 1
    Last Post: 03-05-2007, 09:52 PM
  3. questions
    By wild boar in forum Pre-Sales Questions
    Replies: 8
    Last Post: 04-01-2004, 12:42 AM
  4. difference between the full version and the lite version
    By Frisk151 in forum Pre-Sales Questions
    Replies: 3
    Last Post: 08-04-2003, 09:21 AM
  5. A few Questions !?
    By ideavirus in forum v5.x
    Replies: 7
    Last Post: 07-06-2003, 04:26 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •