This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
developers:changes_to_note:start [2014/01/24 21:54] jonyo [New listing field type of yesno for listings 7.4] |
developers:changes_to_note:start [2014/09/25 16:55] (current) |
||
---|---|---|---|
Line 449: | Line 449: | ||
<code html> | <code html> | ||
<div class=' | <div class=' | ||
- | <a class=' | + | <a class=' |
</ | </ | ||
*}</ | *}</ | ||
Line 456: | Line 456: | ||
<code html> | <code html> | ||
<div class=' | <div class=' | ||
- | <a class=' | + | <a class=' |
</ | </ | ||
Line 825: | Line 825: | ||
Where # is the category ID... The query is simplified for brevity, obviously having ... is not a valid query. | Where # is the category ID... The query is simplified for brevity, obviously having ... is not a valid query. | ||
+ | ==== Category Name / Description / Image in Language Table 7.4 ==== | ||
+ | |||
+ | In past versions, the category name and description were duplicated, set in the main geodesic_categories table and also in the languages table (now called geodesic_categories_languages as noted in next change). | ||
+ | |||
+ | Also note that the image has moved to the geodesic_categories_languages table as well. | ||
+ | |||
+ | ==== geodesic_classifieds_categories_languages renamed to geodesic_categories_languages 7.4 ==== | ||
+ | |||
+ | As the title says, the table **geodesic_classifieds_categories_languages** is now named **geodesic_categories_languages**. | ||
==== geoCategory:: | ==== geoCategory:: | ||
Line 843: | Line 852: | ||
==== JS function geoUtil.autoSubmitForm() moved 7.4 ==== | ==== JS function geoUtil.autoSubmitForm() moved 7.4 ==== | ||
- | In the ongoing task to convert existing functionality to use jQuery instead of Prototype, the old function geoUtil.autoSubmitForm() has been converted to jQuery and moved to gjUtil.autoSubmitForm(). | + | In the ongoing task to convert existing functionality to use jQuery instead of Prototype, the old function geoUtil.autoSubmitForm() has been converted to jQuery and moved to gjUtil.autoSubmitForm() |
+ | |||
+ | ==== JS geoUtil.instrBtns removed 7.4 ==== | ||
+ | |||
+ | As part of bug 1212: The " | ||
+ | |||
+ | ==== JS geoTabs Replaced 7.4 ==== | ||
+ | |||
+ | The old geoTabs has been replaced by a in-house jQuery plugin, gjTabs. | ||
+ | |||
+ | What you need to note, if you have any custom " | ||
+ | |||
+ | **Old Way:** | ||
+ | <code js> | ||
+ | //function to run when the tab with id of tabId is activated | ||
+ | };</ | ||
+ | |||
+ | **New Way:** | ||
+ | <code js> | ||
+ | //function to run when the tab with id of tabId is activated | ||
+ | });</ | ||
+ | |||
+ | **Hint:** If want to make it backwards / forwards compatible((This is NOT recommended for new development as it can get hairy, since new version only jQuery will be available)), | ||
+ | <code js>var myCallback = function () { | ||
+ | //function to run when the tab with id of tabId is activated | ||
+ | }; | ||
+ | if (typeof geoTabs !== ' | ||
+ | //use old way | ||
+ | geoTabs.tabCallbacks.tabId = myCallback; | ||
+ | } else { | ||
+ | //new way | ||
+ | jQuery('# | ||
+ | }</ |