Actions

Difference between revisions of "Potential backward compatibility issues in Joomla 1.7 and Joomla Platform 11.2"

From Joomla! Documentation

(Add References)
Line 1: Line 1:
 
= Platform =  
 
= Platform =  
 +
*JPATH_PLATFORM is now used instead of JPATH_LIBRARIES
  
 
== JDocument ==
 
== JDocument ==
Line 12: Line 13:
 
== JURI ==
 
== JURI ==
 
*The unused parameter $akey has been removed from JURI::buildQuery().<ref>[https://github.com/joomla/joomla-platform/commit/14ebbbd702c2d79098057647fcc4603157896509 Remove an unused paramet in JURI::buildQuery(). (GitHub)]</ref>
 
*The unused parameter $akey has been removed from JURI::buildQuery().<ref>[https://github.com/joomla/joomla-platform/commit/14ebbbd702c2d79098057647fcc4603157896509 Remove an unused paramet in JURI::buildQuery(). (GitHub)]</ref>
 +
 +
== JLoader ==
 +
*JLoader can't load files multiple times anymore.<ref>[https://github.com/joomla/joomla-platform/commit/bfef02de71db7aa5cb46ffdff92778fd6f14f621 Use include_once instead of include in JLoader (GitHub)]</ref>
  
 
= CMS =
 
= CMS =

Revision as of 16:02, 30 May 2011

Contents

Platform

  • JPATH_PLATFORM is now used instead of JPATH_LIBRARIES

JDocument

  • getHeadData(), setHeadData() and mergeHeadData() are from now on only present in JDocumentHTML. They have been removed from JDocument and JDocumentXML.[1]

JDocumentHTML

  • JDocumentHTML::$_links has changed to a multidimensional array. Also the rendering of the link elements has been moved from JDocumentHTML to JDocumentRenderHead.[2]

JDocumentRendererMessage

  • A div element with the ID "system-message-container" is always rendered, whether there are messages or not. This ID should not be used in any extension or template.[3]

JURI

  • The unused parameter $akey has been removed from JURI::buildQuery().[4]

JLoader

  • JLoader can't load files multiple times anymore.[5]

CMS

Refernces

  1. Remove getHeadData(), setHeadData() and mergeHeadData() from JDocument since it only applies to JDocumentHTML. (GitHub)
  2. Move the rendering of HTML link elements to JDocumentRendererHead. (GitHub)
  3. Modify JDocumentRendererMessage to always render <div id="system-message-container"></div>. This makes it possible to render messages via JavaScript. (GitHub)
  4. Remove an unused paramet in JURI::buildQuery(). (GitHub)
  5. Use include_once instead of include in JLoader (GitHub)