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 Both sides next revision
litespeed_wiki:cache:litemage:troubleshooting:templates-ajax-based-navigation-error [2016/05/09 17:57]
Long Hu
litespeed_wiki:cache:litemage:troubleshooting:templates-ajax-based-navigation-error [2016/05/09 17:58]
Long Hu
Line 6: Line 6:
  
  
-**Solution**:  ​Modifying ​the theme'​s template with a single line change as the following example sm_market theme (located under app/​design/​frontend/​sm_market/​default/​template/​page/​html/​pager.phtml):​+**Solution**:  ​Modify ​the theme'​s template with a single line change as the following example sm_market theme (located under app/​design/​frontend/​sm_market/​default/​template/​page/​html/​pager.phtml):​
  
 Original Original
Line 28: Line 28:
 Which will now ensure that the full page URL is used for each page request. This guarantees that each HTML and AJAX request will have their own unique URL and therefore, their own unique cached copies. Which will now ensure that the full page URL is used for each page request. This guarantees that each HTML and AJAX request will have their own unique URL and therefore, their own unique cached copies.
  
-Note: The sm_market theme appends additional information to the end of a URL to notify the back-end when it wants to make an AJAX request. For example, an AJAX request for page 2 of "​test.html"​ would become "​test.html?​p=2&​isLayerAjax=1"​ when using the sm_market theme. This appended information will vary from theme to theme.+**Notes**: The sm_market theme appends additional information to the end of a URL to notify the back-end when it wants to make an AJAX request. For example, an AJAX request for page 2 of "​test.html"​ would become "​test.html?​p=2&​isLayerAjax=1"​ when using the sm_market theme. This appended information will vary from theme to theme.
  
  • Admin
  • Last modified: 2017/05/09 12:26
  • by Lisa Clarke