Archive for December, 2006

Changes Made to PHP ‘classes’

Thursday, December 14th, 2006
  1. Favourites page - add delete heading (user_management_favorites.php)
  2. Removed Category Headings  (module_display_main_category_navigation_1.php)
  3. Added ‘Choice()’ function to auto-insert area codes (register_class.php)
  4. Added function ‘onClick=’return confirmSubmit()’ to submit button (auction_bid_class.php)
  5. Added button to Preview Ad (classified_sell_class.php)

 Not sure - need to check if we upgrade:

  1.  Links to example listings (classified_sell_class.php)

Alternative Help

Sunday, December 10th, 2006

An alternative method of displaying Help to that described in the Extensions - Help section, has been used in the Seller Info area. In this case:

  • The icon at images/misc/question_mark.gif is used to launch the Help.
  • A JavaScript function is attached to the onClick event.
  • The function win() is called to open show_help.php, with a sample syntax being “win(’show_help.php?a=102826&l=22′). L=22 means Australian English language.
  • The win() function simply opens a new window, displays the text from the referenced database field, and adds a close button for the window.

See also: Context Sensitive Help

Context Sensitive Help

Thursday, December 7th, 2006

To create a help pop-up:

  1. Create an HTML file (eg name buy_now.htm)
  2. FTP it into \helpfiles
  3. Insert pic: images/misc/question_mark.gif
  4. Insert link: href=javascript:win(’helpfiles/buy_now.htm’)

See also: Extensions and Alternative Help.