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/02/17 18:53] jonyo [Category saved differently 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 827: | Line 827: | ||
==== Category Name / Description / Image in Language Table 7.4 ==== | ==== 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). | + | 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 |
+ | |||
+ | 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 847: | Line 853: | ||
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() as part of bug 1163 | 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() as part of bug 1163 | ||
+ | |||
+ | ==== 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('# | ||
+ | }</ | ||
+ |