User Tools

Site Tools


designers:changes_to_note

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
designers:changes_to_note [2013/02/23 00:24]
jonyo [main_page/listing_classified.tpl and listing_auction.tpl 7.1.0]
designers:changes_to_note [2014/09/25 16:55] (current)
Line 1: Line 1:
 ====== Changes to Note ====== ====== Changes to Note ======
  
-This page documents every system and module template change, to make it easier for those that have customized system and module templates We rarely make changes to main_page templatesbut when we do, we will note those here as well as in the full update instructions for that version update. +**Starting with 7.0.0**all template changes are documented in the [[http://home.jonathanfoote.com/geo/upgrade/versions/changelogs.php|changelogs]].  See the changelogs for template changes on versions newer than 7.0.0.
- +
-With regard to system or module template files, we [Geodesic Developers] try to avoid making huge changes since we know a lot of you have customized system and module templates.  However with new features being constantly added, things being fixed, changes are un-avoidable.  For tips on updating the software when you have customized System or Module templates, see [[tutorials/design_adv/replace_system_templates#Geo Updates & Customized Templates]].  Below we will try to document all the changes from version to version, as we make them If you think we missed something, let us know!+
  
 +This page documents every system or module template change (and rarely main_page templates), made in versions from **4.0.4 to 7.0.0**.  For tips on updating the software when you have customized System or Module templates, see [[tutorials:design_adv:replace_system_templates]].
 ===== To 4.0.4 ===== ===== To 4.0.4 =====
 There are a few slight changes to how some of the existing "core events" work. There are a few slight changes to how some of the existing "core events" work.
Line 2173: Line 2172:
  
 **Find:** **Find:**
-<code html><li><a href='/support/geocore-wiki/doku.php/id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,{$classifieds_file_name};a,cart;action,new;main_type,{$k};;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;/'>{$s}</a></li></code>+<code html><li><a href='/support/geocore-wiki/doku.php/id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,support;geocore-wiki;doku.php;id,{$classifieds_file_name};a,cart;action,new;main_type,{$k};;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;/'>{$s}</a></li></code>
  
 **Replace With:** **Replace With:**
Line 4208: Line 4207:
 </code> </code>
  
 +===== Newer Versions =====
  
-===== To 7.0.0 ===== +As mentioned at the top of this page:
- +
-Added pagination to display of large numbers of category-specific price plans +
- +
-<tip c n> +
-**NEW!** We have generated complete and accurate "template changes" in the changelog.  You can see the changes for 7.0.0 at+
- +
-http://geodesicsolutions.com/changelog/7.0/changelog.html#milestone_7-0-0 +
- +
-The below changes were made before we had the automatic changelog generated, and are provided below for reference.  We recommend using the new changelogs rather than this "hand-made" wiki page for versions 7.0.0 and up, as it is easier to see differences, and is most likely more accurate and "complete"+
-</tip> +
-==== system/user_management_information/price_plan_info.tpl 7.0.0 ==== +
- +
-**Find:** +
-<code html> +
-<div class="content_box"> +
- <h2 class="title">{$messages.738}</h2> +
- <p class="page_instructions">{$messages.739}</p> +
-  +
- {foreach from=$categories item=c} +
- <h1 class="subtitle">{$c.name}</h1> +
- {foreach from=$c.rows item=r} +
- <div class="{cycle values='row_odd,row_even'}"> +
- <label class="field_label">{$r.label}</label> +
- {$r.value} +
- </div> +
- {/foreach} +
- {/foreach} +
-</div> +
-</code> +
- +
-**Replace with:** +
-<code html> +
-<div class="content_box"> +
- {if $pagination}<a name="plan{$plan}"></a>{/if} +
- <h2 class="title">{$messages.738}</h2> +
- <p class="page_instructions">{$messages.739}</p> +
-  +
- {foreach from=$categories item=c} +
- <h1 class="subtitle">{$c.name}</h1> +
- {foreach from=$c.rows item=r} +
- <div class="{cycle values='row_odd,row_even'}"> +
- <label class="field_label">{$r.label}</label> +
- {$r.value} +
- </div> +
- {/foreach} +
- {/foreach} +
- {if $pagination}{$pagination}{/if} +
-</div> +
-</code> +
- +
-==== module/module_state_filter_1.tpl 7.0.0 ==== +
- +
-Updated to reflect new region structures +
- +
-**Find:** +
-<code html> +
-<option {if $o.sel}selected="selected"{/if} value="{$o.abbr}">{$o.name}</option> +
-</code> +
- +
-**Replace with:** +
-<code html> +
-<option {if $o.sel}selected="selected"{/if} value="{$o.value}">{$o.name}</option> +
-</code> +
- +
-==== module/shared/browsing_pic.tpl 7.0.0 ==== +
- +
-Updated to reflect new region structures +
- +
-**Find:** +
-<code html> +
-{if $cfg.cols.state&&$l.state} +
- <span class="{$headers.state.css}"> +
- <em>{$headers.state.text}</em> +
- {$l.state} +
- {if $headers.state.text}<br />{/if} +
- </span> +
-{/if} +
-{if $cfg.cols.zip&&$l.zip} +
- <span class="{$headers.state.css}"> +
- <em>{$headers.state.text}</em> +
- {$l.zip} +
- {if $headers.state.text}<br />{/if} +
- </span> +
-{/if} +
-  +
-{if $cfg.cols.country&&$l.country} +
- <span class="{$headers.country.css}"> +
- <em>{$headers.country.text}</em> +
- {$l.country} +
- <br /> +
- </span> +
-{/if} +
-</code> +
- +
-**Replace with:** +
-<code html> +
-{for $level=1 to $cfg.maxLocationDepth} +
- {$col = "region_level_$level"+
- {if $cfg.cols.$col} +
- <span class="{$headers.$col.css}"> +
- <em>{$headers.$col.text}</em> +
- {$l.$col} +
- <br /> +
- {/if} +
-{/for} +
-  +
-{if $cfg.cols.zip&&$l.zip} +
- <span class="{$headers.zip.css}"> +
- <em>{$headers.zip.text}</em> +
- {$l.zip} +
- {if $headers.zip.text}<br />{/if} +
- </span> +
-{/if} +
-  +
-  +
-  +
-{if $cfg.cols.location_breadcrumb&&$l.location_breadcrumb} +
- <span class="{$headers.location_breadcrumb.css}"> +
- <em>{$headers.location_breadcrumb.text}</em> +
- {$l.location_breadcrumb} +
- <br /> +
- </span> +
-{/if} +
-</code> +
- +
-==== system/browsing/common/listing_set.tpl 7.0.0 ==== +
- +
-Updated to reflect new region structures +
- +
-**Find:** +
-<code html> +
-{if $cfg.cols.state} +
- <td class="browse_table_column_header_city{if $cfg.sort_links && $headers.state.reorder != 37} sorted_by{/if}"> +
- {if $cfg.sort_links}<a class="{$headers.state.css}" href="{$cfg.browse_url}{$headers.state.reorder}">{/if} +
- {$headers.state.text} +
- {if $cfg.sort_links}</a>{/if} +
- </td> +
-{/if} +
-  +
-{if $cfg.cols.zip} +
- <td class="browse_table_column_header_zip{if $cfg.sort_links && $headers.zip.reorder != 41} sorted_by{/if}"> +
- {if $cfg.sort_links}<a class="{$headers.zip.css}" href="{$cfg.browse_url}{$headers.zip.reorder}">{/if} +
- {$headers.zip.text} +
- {if $cfg.sort_links}</a>{/if} +
- </td> +
-{/if} +
-  +
-{if $cfg.cols.country} +
- <td class="browse_table_column_header_country{if $cfg.sort_links && $headers.country.reorder != 39} sorted_by{/if}"> +
- {if $cfg.sort_links}<a class="{$headers.country.css}" href="{$cfg.browse_url}{$headers.country.reorder}">{/if} +
- {$headers.country.text} +
- {if $cfg.sort_links}</a>{/if} +
- </td> +
-{/if} +
-  +
-</code> +
- +
-**Replace with:** +
-<code html> +
-{if $cfg.cols.zip} +
- <td class="browse_table_column_header_zip{if $cfg.sort_links && $headers.zip.reorder != 41} sorted_by{/if}"> +
- {if $cfg.sort_links}<a class="{$headers.zip.css}" href="{$cfg.browse_url}{$headers.zip.reorder}">{/if} +
- {$headers.zip.text} +
- {if $cfg.sort_links}</a>{/if} +
- </td> +
-{/if} +
-  +
- +
-{for $level=1 to $cfg.maxLocationDepth} +
- {$col = "region_level_$level"+
- {if $cfg.cols.$col} +
- <td class="browse_table_column_header_{$col}"> +
- {$headers.{$col}.text} +
- </td> +
- {/if} +
-{/for} +
- +
-{if $cfg.cols.location_breadcrumb} +
- <td class="browse_table_column_header_location_breadcrumb"> +
- {$headers.location_breadcrumb.text} +
- </td> +
-{/if} +
-</code> +
- +
-**Find:** +
-<code html> +
-{if $cfg.cols.state} +
- <td class="center"> +
- {if $l.state}{$l.state}{else}{$cfg.empty}{/if} +
- </td> +
-{/if} +
-  +
-{if $cfg.cols.zip} +
- <td class="center"> +
- {if $l.zip}{$l.zip}{else}{$cfg.empty}{/if} +
- </td> +
-{/if} +
- +
-{if $cfg.cols.country} +
- <td class="center nowrap"> +
- {if $l.country}{$l.country}{else}{$cfg.empty}{/if} +
- </td> +
-{/if} +
-</code> +
- +
-**Replace With:** +
-<code html> +
-{if $cfg.cols.zip} +
- <td class="center"> +
- {if $l.zip}{$l.zip}{else}{$cfg.empty}{/if} +
- </td> +
-{/if} +
-  +
-{for $level=1 to $cfg.maxLocationDepth} +
- {$col = "region_level_$level"+
- {if $cfg.cols.$col} +
- <td class="center nowrap"> +
- {if $l.$col}{$l.$col}{else}{$cfg.empty}{/if} +
- </td> +
- {/if} +
-{/for} +
-  +
-  +
-{if $cfg.cols.location_breadcrumb} +
- <td class="center nowrap"> +
- {if $l.location_breadcrumb}{$l.location_breadcrumb}{else}{$cfg.empty}{/if} +
- </td> +
-{/if} +
-</code> +
- +
-==== system/cart/payment_choices/index.tpl 7.0.0 ==== +
- +
-Updated to reflect new region structures +
- +
-**Find:** +
-<code html> +
-<div class="row_even"> +
- <label class="field_label">{$messages.500274}</label> +
- {$states} +
-</div> +
-</code> +
- +
-**Replace with:** +
-<code html> +
-<div class="row_even" id="billing_state_wrapper"> +
- <label class="field_label">{$messages.500274}</label> +
- {$states} +
-</div> +
-</code> +
- +
-==== system/order_items/shared/listing_collect_details.tpl 7.0.0 ==== +
- +
-Updated to reflect new region structures +
- +
-**Find:** +
-<code html> +
-{if $fields->city->is_enabled && ($editCheck || $fields->city->can_edit)} +
- <div class="{if $error_msgs.city}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- <label for="city" class="field_label">{$messages.1129}</label> +
- {if $error_msgs.city} +
- <span class="error_message">{$messages.1130}</span> +
- {/if} +
-  +
- {if $editCheck || $fields->city->can_edit} +
- <input type="text" id="city" name="b[city]" size="{if $fields->city->text_length > 20}20{else}{$fields->city->text_length}{/if}" +
- maxlength="{$fields->city->text_length}" +
- value="{$session_variables.city}" class="field" /> +
- {else} +
- {$session_variables.city} +
- {/if} +
- </div> +
-{/if} +
-  +
-  +
-{capture name="country_field" assign="country_field"+
- {if $fields->country->is_enabled && ($editCheck || $fields->country->can_edit)} +
- <div class="{if $error_msgs.country}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- <label for="country" class="field_label">{$messages.115}</label> +
- {if $error_msgs.country} +
- <span class="error_message">{$messages.128}</span> +
- {/if} +
- {$country_html} +
- </div> +
- {/if} +
-{/capture} +
-  +
-{if $country_field_isFancy} +
- {$country_field} +
-{/if} +
-  +
-{if $fields->state->is_enabled && ($editCheck || $fields->state->can_edit)} +
- <div class="{if $error_msgs.state}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- <label for="state" class="field_label">{$messages.127}</label> +
- {if $error_msgs.state} +
- <span class="error_message">{$messages.117}</span> +
- {/if} +
- {$state_html} +
- </div> +
-{/if} +
-</code> +
- +
-**Replace with:** +
-<code html> +
-{if $region_selector && ($editCheck || $fields->region_level_1->can_edit)} {* allow editing based on "level 1" switch...for now... *} +
- <div class="{if $error_msgs.location}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- {if $error_msgs.location} +
- <span class="error_message">{$messages.501631}</span> +
- {/if} +
- {$region_selector} +
- </div> +
-{/if} +
-  +
-{if $fields->city->is_enabled && ($editCheck || $fields->city->can_edit) && !$geographicOverrides.city} +
- <div class="{if $error_msgs.city}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- <label for="city" class="field_label">{$messages.1129}</label> +
- {if $error_msgs.city} +
- <span class="error_message">{$messages.1130}</span> +
- {/if} +
-  +
- {if $editCheck || $fields->city->can_edit} +
- <input type="text" id="city" name="b[city]" size="{if $fields->city->text_length > 20}20{else}{$fields->city->text_length}{/if}" +
- maxlength="{$fields->city->text_length}" +
- value="{$session_variables.city}" class="field" /> +
- {else} +
- {$session_variables.city} +
- {/if} +
- </div> +
-{/if} +
-</code> +
- +
-Changes to structure of mapping fields +
- +
-**Find:** +
-<code html> +
-{if $fields->mapping_address->is_enabled || $fields->mapping_city->is_enabled ||  +
-$fields->mapping_state->is_enabled || $fields->mapping_country->is_enabled || +
-$fields->mapping_zip->is_enabled} +
-<br /> +
-<div class="content_box"> +
- <h2 class="title">{$messages.1622}</h2> +
- <p class="page_instructions">{$messages.1623}</p> +
-  +
- {if $fields->mapping_address->is_enabled} +
- <div class="{if $error_msgs.mapping_address}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- <label for="mapping_address" class="field_label">{$messages.1617}</label> +
- <input type="text" id="mapping_address" name="b[mapping_address]" value="{$session_variables.mapping_address}" class="field" /> +
- {if $error_msgs.mapping_address} +
- <span class="error_message">{$messages.500100}</span> +
- {/if} +
- </div> +
- {/if} +
- {if $fields->mapping_city->is_enabled} +
- <div class="{if $error_msgs.mapping_city}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- <label for="mapping_city" class="field_label">{$messages.1618}</label> +
- <input type="text" id="mapping_city" name="b[mapping_city]" value="{$session_variables.mapping_city}" class="field" /> +
- {if $error_msgs.mapping_city} +
- <span class="error_message">{$messages.500101}</span> +
- {/if} +
- </div> +
- {/if} +
- {capture name="mapping_country_field" assign="mapping_country_field"+
- {if $fields->mapping_country->is_enabled} +
- <div class="{if $error_msgs.mapping_country}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- <label for="mapping_country" class="field_label">{$messages.1620}</label> +
- {$mapping_country_dropdown} +
- {if $error_msgs.mapping_country} +
- <span class="error_message">{$messages.500103}</span> +
- {/if} +
- </div> +
- {/if} +
- {/capture} +
- {if $country_field_isFancy} +
- {$mapping_country_field} +
- {/if} +
-  +
- {if $fields->mapping_state->is_enabled} +
- <div class="{if $error_msgs.mapping_state}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- <label for="mapping_state" class="field_label">{$messages.1619}</label> +
- {$mapping_state_dropdown} +
- {if $error_msgs.mapping_state} +
- <span class="error_message">{$messages.500102}</span> +
- {/if} +
- </div> +
- {/if} +
- {if $fields->mapping_zip->is_enabled} +
- <div class="{if $error_msgs.mapping_zip}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- <label for="mapping_state" class="field_label">{$messages.1621}</label> +
- <input type="text" id="mapping_zip" name="b[mapping_zip]" value="{$session_variables.mapping_zip}" class="field" /> +
- {if $error_msgs.mapping_zip} +
- <span class="error_message">{$messages.500104}</span> +
- {/if} +
- </div> +
- {/if} +
- {if !$country_field_isFancy} +
- {$mapping_country_field} +
- {/if} +
-</div> +
-{/if} +
-</code> +
- +
-**Replace with:** +
-<code html> +
-{if $fields->mapping_location->is_enabled} +
- <br /> +
- <div class="content_box"> +
- <h2 class="title">{$messages.1622}</h2> +
- <p class="page_instructions">{$messages.1623}</p> +
-  +
- <div class="{if $error_msgs.mapping_location}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- <label for="mapping_location" class="field_label">{$messages.1617}</label> +
- <input type="text" id="mapping_location" name="b[mapping_location]" value="{$session_variables.mapping_location}" class="field" size="70" /> +
- {if $error_msgs.mapping_location} +
- <span class="error_message">{$messages.500100}</span> +
- {/if} +
- </div> +
-  +
- </div> +
-{/if} +
-</code> +
- +
-==== system/search_class/details_form.tpl 7.0.0 ==== +
- +
-Updated to reflect new region structures +
- +
-**Find:** +
-<code html> +
-{if $use_zip_distance_calculator || $queryFields.state || $queryFields.city || $queryFields.country || $show_optionals || $addonCriteria} +
-</code> +
- +
-**Replace with:** +
-<code html> +
-{if $region_selector || $use_zip_distance_calculator || $queryFields.state || $queryFields.city || $queryFields.country || $show_optionals || $addonCriteria} +
-</code> +
- +
-**Find:** +
-<code html> +
-{if $queryFields.state || $queryFields.city || $queryFields.country} +
- <h1 class="subtitle">{$messages.500809}</h1> +
-{/if} +
-{if $queryFields.state} +
- <div class="{cycle values='row_odd,row_even'}"> +
- <label class="field_label">{$messages.582}</label>  +
- <select name='b[by_state]' class="field"> +
- {foreach from=$states item=s} +
- <option value="{$s.value}" {if $s.selected}selected="selected"{/if}>{$s.label}</option> +
- {/foreach} +
- </select> +
- {$tooltip.4} +
- </div> +
-{/if} +
-{if $queryFields.city} +
- <div class="{cycle values='row_odd,row_even'}"> +
- <label for="by_city" class="field_label">{$messages.500808}</label>  +
- <input type="text" id="by_city" name="b[by_city]" maxlength="50" class="field" /> +
- </div> +
-{/if} +
-{if $queryFields.country} +
- <div class="{cycle values='row_odd,row_even'}"> +
- <label class="field_label">{$messages.578}</label>  +
- <select name='b[by_country]' class="field"> +
- {foreach from=$countries item=c} +
- <option value="{$c.value}" {if $c.selected}selected="selected"{/if}>{$c.label}</option> +
- {/foreach} +
- </select> +
- {$tooltip.5} +
- </div> +
-{/if} +
-</code> +
- +
-**Replace with:** +
-<code html> +
-{if $region_selector || $queryFields.city} +
- <h1 class="subtitle">{$messages.500809}</h1> +
-{/if} +
-{if $region_selector} +
- <div class="{cycle values='row_odd,row_even'}"> +
- {$region_selector} +
- </div> +
-{/if} +
-{if $queryFields.city} +
- <div class="{cycle values='row_odd,row_even'}"> +
- <label for="by_city" class="field_label">{$messages.500808}</label>  +
- <input type="text" id="by_city" name="b[by_city]" maxlength="50" class="field" /> +
- </div> +
-{/if} +
-</code> +
- +
-==== system/user_management/information/edit_user_form.tpl 7.0.0 ==== +
- +
-Updated to reflect new region structures +
- +
-**Find:** +
-<code html> +
-{if $rc->USE_REGISTRATION_CITY_FIELD} +
- <div class="{if $error.city}field_error_row{else}{cycle values='row_odd,row_even'}{/if}"> +
- <label class="{if $rc->REQUIRE_REGISTRATION_CITY_FIELD}required{else}field_label{/if}">{$messages.526}{if $rc->REQUIRE_REGISTRATION_CITY_FIELD} *{/if}</label> +
- <input type="text" name="c[city]" class="field" value="{$info.city|fromDB}" /> +
- {if $showCheckboxes}<input type="checkbox" name="d[expose_city]" value="1"{if $show->EXPOSE_CITY} checked="checked"{/if} /> {$messages.1574}{/if} +
- {if $error.city}<br /><span class="error_message">{$error.city}</span>{/if} +
- </div> +
-{/if} +
-{if $rc->USE_REGISTRATION_COUNTRY_FIELD && $fancyRegion} +
- <div class="{if $error.country}field_error_row{else}{cycle values='row_odd,row_even'}{/if}"> +
- <label class="{if $rc->REQUIRE_REGISTRATION_COUNTRY_FIELD}required{else}field_label{/if}">{$messages.529}{if $rc->REQUIRE_REGISTRATION_COUNTRY_FIELD} *{/if}</label> +
- {$region} +
- {if $showCheckboxes}<input type="checkbox" name="d[expose_country]" value="1"{if $show->EXPOSE_COUNTRY} checked="checked"{/if} /> {$messages.1574}{/if} +
- {if $error.country}<br /><span class="error_message">{$error.country}</span>{/if} +
- </div> +
-{/if} +
-{if $rc->USE_REGISTRATION_STATE_FIELD} +
- <div class="{if $error.state}field_error_row{else}{cycle values='row_odd,row_even'}{/if}"> +
- <label class="{if $rc->REQUIRE_REGISTRATION_STATE_FIELD}required{else}field_label{/if}">{$messages.527}{if $rc->REQUIRE_REGISTRATION_STATE_FIELD} *{/if}</label> +
- {$subRegion} +
- {if $showCheckboxes}<input type="checkbox" name="d[expose_state]" value="1"{if $show->EXPOSE_STATE} checked="checked"{/if} /> {$messages.1574}{/if} +
- {if $error.state}<br /><span class="error_message">{$error.state}</span>{/if} +
- </div> +
-{/if} +
-</code> +
- +
-**Replace with:** +
-<code html> +
-{if $regionSelector} +
- <div class="{if $error.city || $error.country || $error.state}field_error_row{else}{cycle values='row_odd,row_even'}{/if}"> +
- {$regionSelector} +
- {if $showCheckboxes}<input type="checkbox" name="d[expose_city]" value="1"{if $show->EXPOSE_CITY || $show->EXPOSE_COUNTRY || $show->EXPOSE_STATE} checked="checked"{/if} /> {$messages.1574}{/if} +
- </div> +
-{/if} +
-  +
-{if $rc->USE_REGISTRATION_CITY_FIELD && !$regionOverrides.city} +
- <div class="{if $error.city}field_error_row{else}{cycle values='row_odd,row_even'}{/if}"> +
- <label class="{if $rc->REQUIRE_REGISTRATION_CITY_FIELD}required{else}field_label{/if}">{$messages.526}{if $rc->REQUIRE_REGISTRATION_CITY_FIELD} *{/if}</label> +
- <input type="text" name="c[city]" class="field" value="{$info.city|fromDB}" /> +
- {if $showCheckboxes}<input type="checkbox" name="d[expose_city]" value="1"{if $show->EXPOSE_CITY} checked="checked"{/if} /> {$messages.1574}{/if} +
- {if $error.city}<br /><span class="error_message">{$error.city}</span>{/if} +
- </div> +
-{/if} +
-</code> +
- +
-**Remove:** +
- +
-<code html> +
-{if $rc->USE_REGISTRATION_COUNTRY_FIELD && !$fancyRegion} +
- <div class="{if $error.country}field_error_row{else}{cycle values='row_odd,row_even'}{/if}"> +
- <label class="{if $rc->REQUIRE_REGISTRATION_COUNTRY_FIELD}required{else}field_label{/if}">{$messages.529}{if $rc->REQUIRE_REGISTRATION_COUNTRY_FIELD} *{/if}</label> +
- {$region} +
- {if $showCheckboxes}<input type="checkbox" name="d[expose_country]" value="1"{if $show->EXPOSE_COUNTRY} checked="checked"{/if} /> {$messages.1574}{/if} +
- {if $error.country}<br /><span class="error_message">{$error.country}</span>{/if} +
- </div> +
-{/if} +
-</code> +
- +
-===== To 7.0.1 ===== +
- +
-<tip c n> +
-**NEW!** We have generated complete and accurate "template changes" in the changelog.  You can see the changes for 7.0.0 at: +
- +
-http://geodesicsolutions.com/changelog/7.0/changelog.html#milestone_7-0-1 +
- +
-The below changes were made before we had the automatic changelog generated, and are provided below for reference.  We recommend using the new changelogs rather than this "hand-made" wiki page for versions 7.0.0 and up, as it is easier to see differences, and is most likely more accurate and "complete"+
-</tip> +
-==== module/shared/browsing_pic.tpl 7.0.1 ==== +
- +
-Fix to add missing close span tag.  **Find:**<code html> {if $cfg.cols.$col} +
- <span class="{$headers.$col.css}"> +
- <em>{$headers.$col.text}</em> +
- {$l.$col} +
- <br /> +
- {/if}</code> +
-**Replace with:** +
-<code html> {if $cfg.cols.$col} +
- <span class="{$headers.$col.css}"> +
- <em>{$headers.$col.text}</em> +
- {$l.$col} +
- <br /> +
- </span> +
- {/if}</code> +
- +
-===== To 7.0.2 ===== +
- +
-<tip c n> +
-**NEW!** We have generated complete and accurate "template changes" in the changelog.  You can see the changes for 7.0.0 at: +
- +
-http://geodesicsolutions.com/changelog/7.0/changelog.html#milestone_7-0-2 +
- +
-The below changes were made before we had the automatic changelog generated, and are provided below for reference.  We recommend using the new changelogs rather than this "hand-made" wiki page for versions 7.0.0 and up, as it is easier to see differences, and is most likely more accurate and "complete"+
-</tip> +
-==== system/browsing/common/listing_set.tpl 7.0.2 ==== +
- +
-Changes to add <thead> and <tbody> to make it easier to customize with CSS text.  (see bug 523) +
- +
-**Find:** +
-<code html> {if !$hide_headers} +
- <tr class="results_column_header"></code> +
-**Replace with:** +
-<code html> {if !$hide_headers} +
- <thead> +
- <tr class="results_column_header"></code> +
- +
-Further down, **find**: +
-<code html> </tr> +
- {/if} +
-  +
- {* ---------END HEADER ROW--------- *} +
-  +
- {foreach from=$listings item=l key=id name=set}</code> +
-**Replace with:** +
-<code html> </tr> +
- </thead> +
- {/if} +
-  +
- {* ---------END HEADER ROW--------- *} +
- <tbody> +
- {foreach from=$listings item=l key=id name=set}</code> +
- +
-Then further down still, **find:** +
-<code html> {/foreach} +
-  +
-  +
- </table></code> +
-**Replace with:** +
-<code html> {/foreach} +
- </tbody> +
- </table></code> +
- +
-==== external/css/system/theme_styles.css 7.0.2 ==== +
- +
-Added new CSS to the end of the file: +
-<code css> +
-/* ******* Region Selectors ******** */ +
- +
-.region_selector { +
- display: inline-block; +
-+
- +
-.region_label { +
- width: auto; +
-+
- +
-.region_scalar_name { +
- height: 38px; +
- margin-top: 12px; +
- font-weight: bold; +
- display: inline-block; +
-+
- +
-.onlyRegionOnLevel, +
-.region_scalar_label, +
-.region_scalar_name, +
-select.field.onlyRegionOnLevel, +
-#breadcrumb li.onlyRegionOnLevel +
-+
- display: none; +
-+
-</code> +
- +
-==== module/shared/category_navigation.tpl 7.0.2 ==== +
- +
-Corrected links going to the wrong place, and changed their variable names to match. +
- +
-Change both instances of **{$current_category_url}** to **{$parent_category_url}** +
- +
-==== system/classes/Region/ajax_region_select_main.tpl 7.0.2 ==== +
- +
-Added a label, and moved various styles to CSS classes. +
- +
-**Find:** +
-<code html> +
-<div class="region_selector_wrapper" id="region_selector_wrapper" style="display: inline-block;"> +
-</code> +
-**Replace With:** +
-<code html> +
-<label class="field_label">{$regionsLabel}</label> +
-<div class="region_selector_wrapper" id="region_selector_wrapper" style="display: inline-block;"> +
-</code> +
- +
-**Find:** +
-<code html> +
-<div class="region_selector" style="display: inline-block; margin: 0px 5px;" id="region_fake_{$fake.id}"> +
-{if $fake.use_label}<label class="field_label" style="width: auto;">{$fake.label}</label>{/if}<br /> +
-</code> +
-**Replace With:** +
-<code html> +
-<div class="region_selector" id="region_fake_{$fake.id}"> +
-{if $fake.use_label}<label class="field_label region_label">{$fake.label}</label>{/if}<br /> +
-</code> +
- +
-==== system/classes/Region/ajax_region_select.tpl 7.0.2 ==== +
- +
-Add styling for single-region levels, and move some styles to CSS classes +
- +
-**Find:** +
-<code html> +
-<div class="region_selector" style="display: inline-block; margin: 0px 5px;" id="region_wrapper_{$level.id}"> +
- {if $level.use_label}<label class="field_label" style="width: auto;">{$level.label}</label>{/if}<br /> +
-  +
- {if $isScalarLevel} +
- {* This is the only region on this level -- Print the region's name directly (and store its ID for form submission) *} +
- <span class="region_scalar_name_level_{$level.id}" style="height: 38px; margin-top: 12px; font-weight: bold; display: inline-block;">{$regions.0.name}</span> +
-</code> +
-**Replace With:** +
-<code html> +
-<div class="region_selector" id="region_wrapper_{$level.id}"> +
- {if $level.use_label}<label class="field_label region_label{if $isScalarLevel} region_scalar_label{/if}">{$level.label}</label>{/if}<br /> +
-  +
- {if $isScalarLevel} +
- {* This is the only region on this level -- Print the region's name directly (and store its ID for form submission) *} +
- <span class="region_scalar_name region_scalar_name_level_{$level.id}">{$regions.0.name}</span> +
-</code> +
- +
-==== system/payment_gateways/seller_buyer/paypal/user_details.tpl 7.0.2 ==== +
- +
-Fixed a bug relating to saving a blank value in the input field. +
- +
-**Find:** +
-<code html> +
-if (data.email) { +
- element.update(data.email); +
-+
-</code> +
-**Replace With:** +
-<code html> +
-if (data.email && data.email.length > 0) { +
- element.update(data.email); +
-} else { +
- element.update(''); +
-+
-</code> +
- +
-===== To 7.0.3 ===== +
-<tip c n> +
-**NEW!** We have generated complete and accurate "template changes" in the changelog.  You can see the changes for 7.0.0 at: +
- +
-http://geodesicsolutions.com/changelog/7.0/changelog.html#milestone_7-0-3 +
- +
-The below changes were made before we had the automatic changelog generated, and are provided below for reference.  We recommend using the new changelogs rather than this "hand-made" wiki page for versions 7.0.0 and up, as it is easier to see differences, and is most likely more accurate and "complete"+
-</tip> +
-==== system/order_items/shared/jit_login_form.tpl 7.0.3 ==== +
- +
-Fixed the security image not appearing on the JIT page in some cases +
- +
-**Find:** +
-<code html> +
-{elseif !$allow_user_pass} +
- <p style="font-weight: bold;">{$messages.500770}</p> +
- <p style="font-size: 18pt;"><a href="{$loginURL}">{$messages.500771}</a>{$messages.500772}<a href="{$continueURL}">{$messages.500774}</a></p> +
-</code> +
-**Replace With:** +
-<code html> +
-{elseif !$allow_user_pass} +
- <p style="font-weight: bold;">{$messages.500770}</p> +
- <form action="{$continueURL}" id="continueForm" method="post"> +
- {if $errorMsg}<p class="error_message">{$errorMsg}</p>{/if} +
- {$securityImageHTML} +
- <p style="font-size: 18pt;"><a href="{$loginURL}">{$messages.500771}</a>{$messages.500772}<a href="{$continueURL}" onclick="$('continueForm').submit(); return false;">{$messages.500774}</a></p> +
- </form> +
-</code> +
- +
-==== [Storefront Addon] main_page/storefront_default_template.tpl 7.0.3 ==== +
- +
-Removed the JavaScript alert from form submissions (it was causing errors in Internet Explorer) and replaced it with text that appears directly on the page. +
- +
-**Find:** +
-<code html> +
-{if $storefront_welcome_note} +
- <div class="content_box row_even"> +
- {$storefront_welcome_note} +
- <div class="clr"></div> +
- </div> +
- <br /> +
-{/if} +
-</code> +
-**Replace With:** +
-<code html> +
-{if $updateResult} +
- <div class="success_box"> +
- {$updateResult} +
- </div> +
-{/if} +
- +
-{if $storefront_welcome_note} +
- <div class="content_box row_even"> +
- {$storefront_welcome_note} +
- <div class="clr"></div> +
- </div> +
- <br /> +
-{/if} +
-</code> +
- +
-==== system/order_items/shared/anonymous_data.tpl 7.0.3 ==== +
- +
-Added an EULA form. +
- +
-**Find:** +
-<code html> +
-<div class="center"> +
- <a href="{$process_form_url}" class="button">{$msgs.placementContinueLink}</a> +
-</div> +
-</code> +
-**Replace With:** +
-<code html> +
-<form action="{$process_form_url}" method="post"> +
- {if $use_eula} +
- {* user agreement field *} +
-  +
- <div class="anonymous_eula" style="margin-left: 5px;"> +
- {if $error}<div class="error_message">{$error}</div>{/if} +
- <p style="font-weight: bold;"><input type="checkbox" value="1" name="eula" /> {$msgs.eulaLabel}</p> +
-  +
- {if $eula_type == "div"+
- <div class="usage_agreement">{$eula_text}</div>  +
- {elseif $eula_type == "area"+
- <textarea name="registration_agreement" class="field usage_agreement" readonly="readonly" onfocus="this.blur();">{$eula_text}</textarea> +
- {/if} +
- </div> +
- {/if} +
- +
- <div class="center"> +
- <input type="submit" value="{$msgs.placementContinueLink}" class="button" /> +
- </div> +
-</form> +
-</code> +
- +
-==== module/module_title.tpl 7.0.3 ==== +
- +
-Change to not show HTML in category names in the page title. Replace all **{$category_name}** or **{$category_title}** with **{$category_name|strip_tags:false}** or **{$category_title|strip_tags:false}**, repsectively. +
- +
-==== system/search_class/details_form.tpl 7.0.3 ==== +
- +
-Changes for bug 625 to make it show search by zip when zipsearch addon not installed. +
- +
-**Find:** +
-<code html> {if $region_selector || $use_zip_distance_calculator || $queryFields.state || $queryFields.city || $queryFields.country || $show_optionals || $addonCriteria}</code> +
-**Replace with:** +
-<code html> {if $region_selector || $use_zip_distance_calculator || $queryFields.city || $queryFields.zip || $show_optionals || $addonCriteria}</code> +
- +
-Then further down, **find:** +
-<code html> {if $region_selector || $queryFields.city}</code> +
-**Replace with:** +
-<code html> {if $region_selector || $queryFields.city || ($queryFields.zip && !$use_zip_distance_calculator)}</code> +
-Then also **find:** +
-<code html> {if $show_optionals || $addonCriteria}</code> +
- +
-**replace with:** +
-<code html> {if !$use_zip_distance_calculator && $queryFields.zip} +
- <div class="{cycle values='row_odd,row_even'}"> +
- <label for="by_zip_code" class="field_label">{$messages.577}</label>  +
- <input type="text" id="by_zip_code" name="b[by_zip_code]" maxlength="50" class="field" /> +
- </div> +
- {/if} +
-  +
-  +
- {if $show_optionals || $addonCriteria}</code> +
- +
-==== system/emails/communication/notify_seller.tpl 7.0.3 ==== +
- +
-Changes for bug 627, **find:** +
-<code html>{$replyLink}<br /></code> +
-**Replace with:** +
-<code html><a href="{$replyLink}">{$replyLink}</a><br /></code> +
- +
-==== system/emails/communication/user_message.tpl 7.0.3 ==== +
- +
-Changes for bug 627, **find:** +
-<code html>{$privateReplyLink}<br /></code> +
- +
-**Replace with:** +
-<code html><a href="{$privateReplyLink}">{$privateReplyLink}</a><br /></code> +
-===== To 7.1.0 ===== +
-<tip c n> +
-**NEW!** We have generated complete and accurate "template changes" in the changelog.  You can see the changes for 7.0.0 at: +
- +
-http://geodesicsolutions.com/changelog/7.1/changelog.html#milestone_7-1-0 +
- +
-The below changes were made before we had the automatic changelog generated, and are provided below for reference.  We recommend using the new changelogs rather than this "hand-made" wiki page for versions 7.0.0 and up, as it is easier to see differences, and is most likely more accurate and "complete"+
-</tip> +
-==== system/browsing/common/listing_set.tpl 7.1.0 ==== +
- +
-First, **template re-named** to **system/browsing/common/grid_view.tpl** as part of bug 441.  The remaining changes noted here are to that re-named template. +
- +
-Changes to add "reserve NOT met" (See bug 552), also to make sure it doesn't try to show img tag for icons set to be blank. +
- +
-**Find:** +
-<code html> {if $l.icons.sold}<img src="{$cfg.icons.sold}" alt="" />{/if} +
-  +
- <a href="{$cfg.listing_url}{$id}" {if $cfg.popup}onclick="window.open(this.href,'_blank','width={$cfg.popup_width},height={$cfg.popup_height},scrollbars=1,location=0,menubar=0,resizable=1,status=0'); return false;"{/if}> +
- {$l.title} +
- </a> +
- {if $l.icons.verified}<img src="{$cfg.icons.verified}" alt="" />{/if} +
- {if $l.icons.buy_now}<img src="{$cfg.icons.buy_now}" alt="" />{/if} +
- {if $l.icons.reserve_met}<img src="{$cfg.icons.reserve_met}" alt="" />{/if} +
- {if $l.icons.no_reserve}<img src="{$cfg.icons.no_reserve}" alt="" />{/if} +
-  +
- {if $l.icons.attention_getter}<img src="{$l.attention_getter_url}" alt="" />{/if}</code> +
- +
-**Replace with: ** +
-<code html> {if $l.icons.sold && $cfg.icons.sold}<img src="{$cfg.icons.sold}" alt="" />{/if} +
-  +
- <a href="{$cfg.listing_url}{$id}" {if $cfg.popup}onclick="window.open(this.href,'_blank','width={$cfg.popup_width},height={$cfg.popup_height},scrollbars=1,location=0,menubar=0,resizable=1,status=0'); return false;"{/if}> +
- {$l.title} +
- </a> +
- {if $l.icons.verified && $cfg.icons.verified}<img src="{$cfg.icons.verified}" alt="" />{/if} +
- {if $l.icons.buy_now && $cfg.icons.buy_now}<img src="{$cfg.icons.buy_now}" alt="" />{/if} +
- {if $l.icons.reserve_met && $cfg.icons.reserve_met}<img src="{$cfg.icons.reserve_met}" alt="" />{/if} +
- {if $l.icons.reserve_not_met && $cfg.icons.reserve_not_met}<img src="{$cfg.icons.reserve_not_met}" alt="" />{/if} +
- {if $l.icons.no_reserve && $cfg.icons.no_reserve}<img src="{$cfg.icons.no_reserve}" alt="" />{/if} +
-  +
- {if $l.icons.attention_getter && $l.attention_getter_url}<img src="{$l.attention_getter_url}" alt="" />{/if}</code> +
- +
-Changes to the variable name, to use $listing instead of generic $l, since the browsing sub-template is now part of main_page templates (part of bug 441) need to make the variable name be more obvious. +
- +
-**Find ALL places that have:** <code>$l.</code> +
-**Replace ALL places with:** <code>$listing.</code> +
- +
-More changes for bug 441, this time to make it load up main page sub-template. +
- +
-**Find:** +
-<code html> <thead></code> +
- +
-**Replace with:** +
-<code html> <thead> +
- {if $main_page_grid_sub_template} +
- {include file=$main_page_grid_sub_template g_type='main_page' g_resource='' thead=1} +
- {else}</code> +
- +
-Then further down, **Find:** +
-<code html> </thead></code> +
- +
-**Replace with:** +
-<code html> {/if} +
- </thead></code> +
- +
-Further, **Find:** +
-<code html> {foreach from=$listings item=l key=id name=set} +
-  +
- <tr class="{$listing.css}"></code> +
- +
-**Replace with:** +
-<code html> {foreach $listings as $id => $listing} +
- {if $main_page_grid_sub_template} +
- {include file=$main_page_grid_sub_template g_type='main_page' g_resource='' tbody=1} +
- {else} +
- <tr class="{$listing.css}"></code> +
- +
-Still further, **find:** +
-<code html> </tr>  +
- {/foreach}</code> +
-**Replace with:** +
-<code html> </tr> +
- {/if} +
- {/foreach}</code> +
- +
-Changes for bug 661. +
-**Find:** +
-<code html> {if $cfg.cols.title} +
- <td class="{if $cfg.sort_links && $headers.title.reorder != 5}sorted_by {/if}{if $cfg.cols.description}half{else}title{/if}"> +
- {if $cfg.sort_links}<a class="{$headers.title.css}" href="{$cfg.browse_url}{$headers.title.reorder}">{/if} +
- {$headers.title.text} +
- {if $cfg.sort_links}</a>{/if} +
- {if $cfg.description_under_title}<br />{$headers.description.text}{/if} +
- </td> +
- {/if}</code> +
-**Change to:** +
-<code html> {if $cfg.cols.title} +
- <td class="{if $cfg.sort_links && $headers.title.reorder != 5}sorted_by {/if}{if $cfg.cols.description}half{else}title{/if}"> +
- {if $cfg.sort_links}<a class="{$headers.title.css}" href="{$cfg.browse_url}{$headers.title.reorder}">{/if} +
- {$headers.title.text} +
- {if $cfg.sort_links}</a>{/if} +
- {if $cfg.description_under_title}<br />{$headers.description.text}{/if} +
- </td> +
- {elseif $cfg.cols.icons} +
- <td class="browse_table_column_header_icons"></td> +
- {/if}</code> +
- +
-Then further, **Find:** +
-<code html> {if $cfg.description_under_title}<p class="listing_results_description">{$listing.description}</p>{/if} +
- </td> +
- {/if}</code> +
-**Replace with:** +
-<code html> {if $cfg.description_under_title}<p class="listing_results_description">{$listing.description}</p>{/if} +
- </td> +
- {elseif $cfg.cols.icons} +
- <td> +
- {if $listing.icons.sold && $cfg.icons.sold}<img src="{$cfg.icons.sold}" alt="" />{/if} +
- {if $listing.icons.verified && $cfg.icons.verified}<img src="{$cfg.icons.verified}" class="verified_icon" alt="" />{/if} +
- {if $listing.icons.buy_now && $cfg.icons.buy_now}<img src="{$cfg.icons.buy_now}" class="buy_now_icon" alt="" />{/if} +
- {if $listing.icons.reserve_met && $cfg.icons.reserve_met}<img src="{$cfg.icons.reserve_met}" class="reserve_met_icon" alt="" />{/if} +
- {if $listing.icons.reserve_not_met && $cfg.icons.reserve_not_met}<img src="{$cfg.icons.reserve_not_met}" class="reserve_not_met_icon" alt="" />{/if} +
- {if $listing.icons.no_reserve && $cfg.icons.no_reserve}<img src="{$cfg.icons.no_reserve}" class="no_reserve_icon" alt="" />{/if} +
-  +
- {if $listing.icons.attention_getter}<img src="{$listing.attention_getter_url}" class="attention_getter_icon" alt="" />{/if} +
- </td> +
- {/if}</code> +
- +
-Changes for bug 577, **find:** +
-<code> {include file='common/listing_tags.tpl' listing_tags_array=$listing.tags g_resource='browsing'}</code> +
-**Replace with:** +
-<code> {listing tag='listing_tags_links'}</code> +
-==== system/browsing/main.tpl 7.1.0 ==== +
- +
-Change to add "list" and "gallery" view links to switch between the modes when browsing. +
- +
-**Find: (at the top)** +
-<code html>{$category_cache} +
- +
-<br /></code> +
- +
-Directly **AFTER** that, **ADD**: +
-<code html>{include file='common/browse_mode_buttons.tpl'+
-{/if} +
-</code> +
- +
-Changes for gallery view, and to make it include sub-template rather than output pre-rendered templates. +
- +
-**Find:** +
-<code html> {$featured_classifieds}</code> +
- +
-**Replace with:** +
-<code html> {include file=$browse_tpl +
- listings=$featured_classifieds.listings +
- no_listings=$featured_classifieds.no_listings +
- addonHeaders=$featured_classifieds.addonHeaders +
- cfg=$featured_classifieds.cfg +
- headers=$featured_classifieds.headers}</code> +
- +
-**Find:** +
-<code html> {$classified_browse_result}</code> +
-**Replace with:** +
-<code html> {include file=$browse_tpl +
- listings=$classified_browse_result.listings +
- no_listings=$classified_browse_result.no_listings +
- addonHeaders=$classified_browse_result.addonHeaders +
- cfg=$classified_browse_result.cfg +
- headers=$classified_browse_result.headers}</code> +
- +
-**find:** +
-<code html> {$featured_auctions}</code> +
-**replace with:** +
-<code html> {include file=$browse_tpl +
- listings=$featured_auctions.listings +
- no_listings=$featured_auctions.no_listings +
- addonHeaders=$featured_auctions.addonHeaders +
- cfg=$featured_auctions.cfg +
- headers=$featured_auctions.headers}</code> +
- +
-**find:** +
-<code html> {$auction_browse_result}</code> +
-**replace with:** +
-<code html> {include file=$browse_tpl +
- listings=$auction_browse_result.listings +
- no_listings=$auction_browse_result.no_listings +
- addonHeaders=$auction_browse_result.addonHeaders +
- cfg=$auction_browse_result.cfg +
- headers=$auction_browse_result.headers}</code> +
- +
-Fix to not close divs when tabs are turned off using beta setting. +
- +
-**Find:** +
-<code html> {if $show_auctions}</div>{/if}</code> +
-**Replace with:** +
-<code html> {if $show_auctions&&!$disable_browsing_tabs}</div>{/if}</code> +
- +
-Then similar change further down, **find**: +
-<code html> {if $show_classifieds}</div>{/if}</code> +
-**Replace with:** +
-<code html> {if $show_classifieds&&!$disable_browsing_tabs}</div>{/if}</code> +
- +
-Changes for Bug 684, **Find:** +
-<code html><div id="content_column_wide"></code> +
-**Replace with:**<code html><div id="content_column_wide"> +
- {addon tag_type='core' tag='browsing_before_listings'+
- </code> +
- +
-==== system/browsing/newest_ads.tpl 7.1.0 ==== +
- +
-Changes to bring the "all/classified/auction" tabs over, the "list/gallery" views, and the "sort by dropdown" to the newest listing browsing pages.  Also changed to use {include} for each listing result rather than pre-rendering each listing result. +
- +
-Due to the huge amount of changes, rather than attempting to give "find/replace", since that would involve finding almost the entire template and replacing the whole thing...  Instead I will list what has "not changed": +
- +
-**Not changed - TOP:** +
-<code html>{$category_cache}</code> +
- +
-**Not changed - BOTTOM:** +
-<code html> </div> +
-{/if} +
- +
-{if $pagination} +
- {$messages.757} {$pagination} +
-{/if}</code> +
- +
-Everything between the TOP listed above and BOTTOM listed above, has changed.  See the new template for the new contents. +
- +
-==== system/browsing/featured_text_ads.tpl 7.1.0 ==== +
- +
-Changes to bring the "all/classified/auction" tabs over.  Also changed to use {include} for each listing result rather than pre-rendering each listing result. +
- +
-Due to the huge amount of changes, rather than attempting to give "find/replace", since that would involve finding almost the entire template and replacing the whole thing...  Instead I will list what has "not changed": +
- +
-**Not changed - TOP:** +
-<code html>{$category_cache}</code> +
- +
-**Not changed - BOTTOM:** +
-<code html> </div> +
-{/if} +
- +
-{if $pagination} +
- {$messages.757} {$pagination} +
-{/if}</code> +
- +
-Everything between the TOP listed above and BOTTOM listed above, has changed.  See the new template for the new contents. +
-==== system/browsing/tag.tpl 7.1.0 ==== +
- +
-Changes to bring gallery view and sorting to browsing tags. +
- +
-**Find:** +
-<code html><div class="content_box"></code> +
-**Replace with:** +
-<code html>{include file='common/browse_mode_buttons.tpl'+
- +
-<div class="content_box clear"></code> +
- +
-Then, **find** +
-<code html> {include file="common/listing_set.tpl"}</code> +
- +
-**Replace with:** +
-<code html> {include file=$browse_tpl}</code> +
-==== module/shared/browsing_pic.tpl 7.1.0 ==== +
- +
-Changes to use a shared gallery view template.  Replace entire template with: +
-<code html>{if $module.module_display_header_row} +
- <div class="content_box"> +
- <h1 class="title">{$header_title}</h1> +
- </div> +
-{/if} +
-<div class="featured_items"> +
- {include file='common/gallery_view.tpl' g_type='system' g_resource='browsing'+
-</div></code> +
- +
-==== system/browsing/common/category_block.tpl 7.1.0 ==== +
- +
-Changes for bug 512 +
- +
-**Find:** +
-<code html><li class="element"><a href="{$link}0">{$text.main_category}</a></li></code> +
-**Replace with:** +
-<code html><li class="element"><a href="{$link_top}">{$text.main_category}</a></li></code> +
- +
-==== module/shared/browsing.tpl 7.1.0 ==== +
- +
-Changes for bug 441 (rename listing_set.tpl to grid_view.tpl) +
- +
-**Find:** +
-<code html>{include file='common/listing_set.tpl' g_type='system' g_resource='browsing'}</code> +
- +
-**Replace with:** +
-<code html>{include file=$browse_tpl g_type='system' g_resource='browsing'}</code> +
- +
-==== module/shared/browsing_pic.tpl 7.1.0 ==== +
- +
-Changes for bug 441 to make it easy for someone to use a different browsing mode for pic modules. +
- +
-**Find:** +
-<code html> {include file='common/gallery_view.tpl' g_type='system' g_resource='browsing'}</code> +
- +
-**Replace with:** +
-<code html> {include file=$browse_tpl g_type='system' g_resource='browsing'}</code> +
- +
-==== system/browsing/affiliate.tpl 7.1.0 ==== +
- +
-NOTE:  Affiliate browsing is being deprecated, replaced by storefront module. +
- +
-Changes for bug 441, renaming listing_set.tpl to grid_view.tpl. +
- +
-**Find:** +
-<code> {include file="common/listing_set.tpl"}</code> +
- +
-**Replace with:** +
-<code> {include file="common/grid_view.tpl"}</code> +
- +
-==== system/browsing/featured_text_ads.tpl 7.1.0 ==== +
- +
-Changes for bug 441, renaming listing_set.tpl to grid_view.tpl. +
- +
-**Find (There will be 2 places with this exact line):** +
-<code> {include file='common/listing_set.tpl'</code> +
- +
-**Replace BOTH places with:** +
-<code> {include file='common/grid_view.tpl'</code> +
- +
- +
-==== system/browsing/search.tpl 7.1.0 ==== +
- +
-Changes for bug 441, to add different browsing views. +
- +
-**Find:** +
-<code><div class="content_box"></code> +
- +
-**Replace with:** +
-<code>{include file='common/browse_mode_buttons.tpl'+
- +
-<div class="clear"></div> +
- +
-<div class="content_box"></code> +
- +
-Then a little further, **find:** +
-<code> {include file="common/listing_set.tpl"}</code> +
- +
-Replace with: +
-<code> {include file=$browse_tpl}</code> +
- +
-==== system/browsing/sellers_other_ads.tpl 7.1.0 ==== +
- +
-Changes for bug 441, renaming listing_set.tpl to grid_view.tpl. +
- +
-**Find:** +
-<code> {include file="listing_set.tpl" g_resource="browsing/common"}</code> +
- +
-**Replace with:** +
-<code> {include file="grid_view.tpl" g_resource="browsing/common"}</code> +
- +
-==== system/listing_details/image_block/ 7.1.0 ==== +
- +
-All 3 files in this folder are very heavily modified for bug 577, both to make them work with jQuery, and to make sure they work when they appear multiple times on the page for different listings (so that they can work on browsing pages if desired). +
- +
-The changes are so much, it is almost a complete re-write, the find/replace would basically be to find the entire file and replace it with the new file contents. +
- +
-==== system/classes/Image/image_block_large.tpl 7.1.0 ==== +
- +
-Moved to folder **system/listing_details/** as part of bug 577. +
- +
-Also, **find:** +
-<code html><div id="largeImageBlock"> +
- {foreach from=$images item=image}</code> +
-**replace with:** +
-<code html><div id="largeImageBlock_{$listing_id}"> +
- {foreach $images as $image}</code> +
- +
-Then, **find** +
-<code html> {if $image.isImage} +
- <img src="{$image.image_url}" alt="{$image.image_text}" style="width: {$image.width}px; height: {$image.height}px;" /></code> +
-**Replace with:** +
-<code html> {if !$image.icon} +
- <img src="{$image.image_url}" alt="{$image.image_text}"{if $image.scaled.full} style="width: {$image.scaled.full.width}px; height: {$image.scaled.full.height}px;"{/if} /></code> +
- +
-==== system/classes/Image/image_block_large_link.tpl 7.1.0 ==== +
-Moved to folder **system/listing_details/** as part of bug 577. +
- +
-Also, **find:** +
-<code html><a href="#largeImageBlock" id="imageBlockLargeLink"></code> +
-**Replace with:** +
-<code html><a href="#largeImageBlock_{$listing_id}" class="largeImageBlockLink"></code> +
- +
-Then **Remove entire section:** +
-<code html>{literal} +
-<script type="text/javascript"> +
-//<![CDATA[ +
-//do some fancy scrolling +
-Event.observe(window,'load',function () { +
- var linkBox = $('imageBlockLargeLink'); +
- if (linkBox && typeof geoUtil.clickImageBlockLargeLink == 'function') { +
- linkBox.observe('click', geoUtil.clickImageBlockLargeLink); +
-+
-}); +
- +
-//]]> +
-</script> +
-{/literal} +
-</code> +
- +
-==== system/invoices/common/invoice_body.tpl 7.1.0 ==== +
- +
-Updated to use new date format setting. +
- +
-**Find**: +
-<code html> +
-{$invoice.invoice_date|date_format} +
-</code> +
-and +
-<code html> +
-{$invoice.invoice_due_date|date_format} +
-</code> +
- +
-**Replace with:** +
-<code html> +
-{$invoice.invoice_date|format_date:$short_date_format} +
-</code> +
-and +
-<code html> +
-{$invoice.invoice_due_date|format_date:$short_date_format} +
-</code> +
- +
-==== system/order_items/shared/listing_collect_details.tpl 7.1.0 ==== +
- +
-Changes to reduce duplicate code, moved some common template code into a sub-template. +
- +
-**Find:** +
-<code html> {if $moreDetails} +
- {foreach from=$moreDetails item='details'+
- {if $details.section_head} +
- {* Allow adding a section head above the next contents *} +
- {* Close the <div class="content_box"> and re-open it *}</div><br /> +
- <div class="content_box"> +
- {* TODO: Add way to add main title vs. sub-title! *} +
- <h1 class="title">{$details.section_head}</h1> +
- {* </div> is at bottom of the section. *} +
- {/if} +
- {if $details.section_desc} +
- {* Allow adding a section description as well *} +
- <p class="page_instructions">{$details.section_desc}</p> +
- {/if} +
- {if $details.full} +
- {$details.full} +
- {elseif $details.pre || $details.label || $details.value || $details.error} +
- <div class="{if $details.error}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- <label class="field_label">{if $details.pre}{$details.pre}{/if} {$details.label}</label> +
- {$details.value} +
- {if $details.error} +
- <span class="error_message">{$details.error}</span> +
- {/if} +
- </div> +
- {/if} +
- {/foreach} +
- {/if}</code> +
-**Replace with:** +
-<code html> {if $moreDetails} +
- {include file='shared/listing_collect_details.tpl' more=$moreDetails} +
- {/if}</code> +
- +
-Then further down, **Find:** +
-<code html> {if $moreDetailsEnd} +
- {*  Allow addons to insert stuff at the very end. *} +
- <br /> +
- <div class="content_box"> +
- {foreach from=$moreDetailsEnd item='details' name='moreDetailsEndLoop'+
- {if $details.section_head} +
- {* Allow adding a section head above the next contents *} +
- {if !$smarty.foreach.moreDetailsEndLoop.first}</div><br /><div class="content_box">{/if} +
-  +
- <h1 class="title">{$details.section_head}</h1> +
- {/if} +
- {if $details.section_desc} +
- {* Allow adding a section description as well *} +
- <p class="page_instructions">{$details.section_desc}</p> +
- {/if} +
- {if $details.full} +
- {$details.full} +
- {elseif $details.pre || $details.label || $details.value || $details.error} +
- <div class="{if $details.error}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- <label class="field_label">{if $details.pre}{$details.pre}{/if} {$details.label}</label> +
- {$details.value} +
- {if $details.error} +
- <span class="error_message">{$details.error}</span> +
- {/if} +
- </div> +
- {/if} +
- {/foreach} +
- </div> +
- {/if}</code> +
-**Replace with:** +
-<code html> {if $moreDetailsEnd} +
- {*  Allow addons to insert stuff at the very end. *} +
- <br /> +
- <div class="content_box"> +
- {include file='shared/listing_collect_more.tpl' more=$moreDetailsEnd} +
- </div> +
- {/if}</code> +
- +
-Part of bug 405, add ability to show stuff under location section. +
- +
-**Find:** +
-<code html> {else} +
- {$session_variables.zip_code} +
- {/if} +
- </div> +
- {/if}</code> +
- +
-**Replace with:** +
-<code html> {else} +
- {$session_variables.zip_code} +
- {/if} +
- </div> +
- {/if} +
-  +
- {if $moreDetailsLocation} +
- {include file='shared/listing_collect_more.tpl' more=$moreDetailsLocation} +
- {/if}</code> +
- +
- +
-For bug 688, **find:** +
-<code html> {if $editCheck || $fields->price->can_edit} +
- <div class="{cycle values='row_odd,row_even'}"> +
- <label class="field_label">{$messages.100134}</label> +
- {include file="shared/postcurrency_dropdown.tpl"+
- </div> +
- {/if}</code> +
-**Replace with:** +
-<code html> {if $editCheck || $fields->price->can_edit} +
- {if $currency_count>1} +
- <div class="{cycle values='row_odd,row_even'}"> +
- <label class="field_label">{$messages.100134}</label> +
- {/if} +
- {include file="shared/postcurrency_dropdown.tpl"+
- {if $currency_count>1}</div>{/if} +
- {/if}</code> +
- +
-Fix for bug 694: +
-**Find:** +
-<code html> <div class="{cycle values='row_odd,row_even'}"> +
- {if $sell_type == 1 && $editCheck} +
- <label for="classified_length" class="field_label"> +
- {$messages.125}<br />{$messages.126} +
- </label> +
- <select class="field" id="classified_length" name="b[classified_length]"> +
- {$duration_dropdown} +
- </select> +
- {/if} +
- </div> +
- {if $fields->title->is_enabled} +
- <div class="{if $error_msgs.classified_title}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- {if $use_auto_title} +
- <input type="hidden" id="classified_title" name="b[classified_title]" value="{$messages.500110}" /> +
- {else} +
- <label for="classified_title" class="field_label">{$messages.123}</label> +
-  +
- {if !$editCheck && !$fields->title->can_edit} +
- {$session_variables.classified_title} +
- {elseif !$use_textarea_in_title} +
- <input type="text" id="classified_title" class="field" name="b[classified_title]" +
- value="{$session_variables.classified_title}" size="{if $fields->title->text_length > 50}50{else}{$fields->title->text_length}{/if}" +
- maxlength="{$fields->title->text_length}" /> +
- {else} +
- <textarea id="classified_title" class="field" name="b[classified_title]" rows="1" +
- cols="{if $fields->title->text_length > 50}50{else}{$fields->title->text_length}{/if}">{$session_variables.classified_title}</textarea> +
- {/if} +
-  +
- {if $error_msgs.classified_title} +
- <span class="error_message">{$messages.116}</span> +
- {/if} +
- {/if} +
- </div> +
- {/if}</code> +
- +
-**Replace with: ** +
-<code html> {if $sell_type == 1 && $editCheck} +
- <div class="{cycle values='row_odd,row_even'}"> +
- <label for="classified_length" class="field_label"> +
- {$messages.125}<br />{$messages.126} +
- </label> +
- <select class="field" id="classified_length" name="b[classified_length]"> +
- {$duration_dropdown} +
- </select> +
- </div> +
- {/if} +
- {if $fields->title->is_enabled} +
- {if $use_auto_title} +
- <input type="hidden" id="classified_title" name="b[classified_title]" value="{$messages.500110}" /> +
- {else} +
- <div class="{if $error_msgs.classified_title}field_error_row {/if}{cycle values='row_odd,row_even'}"> +
- <label for="classified_title" class="field_label">{$messages.123}</label> +
-  +
- {if !$editCheck && !$fields->title->can_edit} +
- {$session_variables.classified_title} +
- {elseif !$use_textarea_in_title} +
- <input type="text" id="classified_title" class="field" name="b[classified_title]" +
- value="{$session_variables.classified_title}" size="{if $fields->title->text_length > 50}50{else}{$fields->title->text_length}{/if}" +
- maxlength="{$fields->title->text_length}" /> +
- {else} +
- <textarea id="classified_title" class="field" name="b[classified_title]" rows="1" +
- cols="{if $fields->title->text_length > 50}50{else}{$fields->title->text_length}{/if}">{$session_variables.classified_title}</textarea> +
- {/if} +
-  +
- {if $error_msgs.classified_title} +
- <span class="error_message">{$messages.116}</span> +
- {/if} +
- </div> +
- {/if} +
- {/if}</code> +
-==== system/order_items/shared/postcurrency_dropdown.tpl 7.1.0 ==== +
- +
-For bug 688: **Find:** +
-<code html><select name="b[currency_type]" id="currency_type" class="place_an_ad_details_data field"> +
- {foreach from=$currencies item=currency} +
- <option value="{$currency.type_id}"{if $currency.type_id==$currency_type} selected="selected"{/if}>{$currency.postcurrency}</option> +
- {/foreach} +
-</select></code> +
-**Replace with:** +
-<code html>{if $currencies_count>1} +
- <select name="b[currency_type]" id="currency_type" class="place_an_ad_details_data field"> +
- {foreach from=$currencies item=currency} +
- <option value="{$currency.type_id}"{if $currency.type_id==$currency_type} selected="selected"{/if}>{$currency.postcurrency}</option> +
- {/foreach} +
- </select> +
-{elseif $currencies_count==1} +
- <input name="b[currency_type]" id="currency_type" type="hidden" value="{$currencies.0.type_id}" /> +
-{/if}</code> +
- +
-For bug 145, the entire JS portion of the template has been re-written, see the new template as it involves changing most of the template. +
-==== system/classes/Region/ajax_region_select_main.tpl 7.1.0 ==== +
-Changes for bug 145, to use jQuery instead of prototype; and changes for bug 405, to allow additional regions to work.  Changes are too extensive to give find/replace. +
- +
-==== system/classes/Region/ajax_region_select.tpl 7.1.0 ==== +
-Changes for bug 145, to use jQuery instead of prototype; and changes for bug 405, to allow additional regions to work.  Changes are too extensive to give find/replace. +
- +
-==== system/search_class/details_form.tpl 7.1.0 ==== +
- +
-Re-designed advanced search page layout to not be quite so confusing.  Almost the entire top half of the template is re-designed, to much to list find/replace here. +
-==== system/user_management/* 7.1.0 ==== +
- +
-Almost all of the templates in the user_management sub-folder, change for bug 695 to add the "my_account" class. +
- +
-In each of the "main" system templates in user_management, **Near the TOP**, **find:** +
-<code html><h1 class="title"></code> +
-Note: if find multiple places in a single template... Only the ones followed by text with default of "My Account" should be changed.  in such places, **replace with:** +
-<code html><h1 class="title my_account"></code> +
- +
- +
-==== main_page/listing_classified.tpl and listing_auction.tpl 7.1.0 ==== +
- +
-Changed the way the core events for adding action/sharing buttons work +
- +
-**Find:** +
-<code html> +
-{foreach from=$addonActionButtons item=btn} +
- {$btn} +
-{/foreach} +
-</code> +
- +
-**Replace With:** +
-<code html> +
-{listing tag='listing_action_buttons' addon='core'+
-{listing tag='listing_social_buttons' addon='core'+
-</code> +
- +
-===== Newer Versions =====+
  
 We no longer maintain this page.  **Instead**, each new version has a changelog with complete "template changes" included!  These are generated automatically as part of the changelog, so they will be more accurate and "complete" than what we were doing here, since the changes in this wiki were added "by hand" by the developers, and sometimes changes were missed.  You can see template changes starting in version 7.0.0 in the changelogs at http://geodesicsolutions.com/changelog/changelogs.php We no longer maintain this page.  **Instead**, each new version has a changelog with complete "template changes" included!  These are generated automatically as part of the changelog, so they will be more accurate and "complete" than what we were doing here, since the changes in this wiki were added "by hand" by the developers, and sometimes changes were missed.  You can see template changes starting in version 7.0.0 in the changelogs at http://geodesicsolutions.com/changelog/changelogs.php
  
designers/changes_to_note.1361579060.txt.gz · Last modified: 2014/09/25 16:55 (external edit)