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 [2013/07/09 15:08] jonyo [New {footer_html} and {add_footer_html} tags 7.3] |
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 800: | Line 800: | ||
* If you have embedded JS inside templates (which is fine in certain circumstances), | * If you have embedded JS inside templates (which is fine in certain circumstances), | ||
* Calls to **geoView-> | * Calls to **geoView-> | ||
+ | |||
+ | ==== Changed User_management_information_display_user_data 7.3 ==== | ||
+ | |||
+ | Added ability to return array of arrays, to allow each order item OR addon that uses the hook, to return multiple rows to be displayed on the user information page. | ||
+ | |||
+ | ===== To 7.4 ===== | ||
+ | |||
+ | ==== Category saved differently for listings 7.4 ==== | ||
+ | |||
+ | === Inserting / Updating Listings === | ||
+ | |||
+ | This is likely to break any addons that insert or update listings, that set the category. | ||
+ | |||
+ | If it only sets the session_variables and lets the "built in" order item(s) insert the listing, no changes are needed as you would still just set the $session_variables[' | ||
+ | |||
+ | === Browsing / Filtering by Category === | ||
+ | |||
+ | If browsing / filtering by category, no longer use the " | ||
+ | |||
+ | <code mysql> | ||
+ | Where # is the category ID. We would recommend to use that as a "sub query" to your main query, similar to this: | ||
+ | |||
+ | <code mysql> | ||
+ | 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:: | ||
+ | |||
+ | As part of bug 1082, the method geoCategory:: | ||
+ | |||
+ | ==== geoCategory:: | ||
+ | |||
+ | As part of bug 1082, the method geoCategory:: | ||
+ | |||
+ | ==== geoSite:: | ||
+ | |||
+ | As part of bug 1082, the method geoSite:: | ||
+ | |||
+ | ==== New listing "field type" of " | ||
+ | |||
+ | As part of bug 1128, there are 2 new fields for classifieds (and auctions), " | ||
+ | |||
+ | ==== 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() 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('# | ||
+ | }</ | ||