From f6f96a630e55b23b33ed4779a8a8a86fa58c6b86 Mon Sep 17 00:00:00 2001 From: Juan Molina Date: Thu, 25 Oct 2012 17:21:31 +0300 Subject: [PATCH] Update docs/en/changelogs/3.0.0.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed broken links. Hash links were not working. I don’t know how to hide heading-anchor-link links. Tried to correct some layout errors (code quotes). --- docs/en/changelogs/3.0.0.md | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/en/changelogs/3.0.0.md b/docs/en/changelogs/3.0.0.md index edc290af0..7d11106ca 100644 --- a/docs/en/changelogs/3.0.0.md +++ b/docs/en/changelogs/3.0.0.md @@ -27,7 +27,7 @@ The detailed change logs are broken down by pre-release: * [3.0.0-rc3](/changelogs/rc/3.0.0-rc3) - 27 June 2012 - * [3.0.0-rc2](changelogs/rc/3.0.0-rc2) - 26 June 2012 + * [3.0.0-rc2](/changelogs/rc/3.0.0-rc2) - 26 June 2012 * [3.0.0-rc1](/changelogs/rc/3.0.0-rc1) - 18 June 2012 * [3.0.0-beta3](/changelogs)/beta/3.0.0-beta3) - 28 May 2012 * [3.0.0-beta2](/changelogs/beta/3.0.0-beta2) - 20 April 2012 @@ -40,15 +40,15 @@ The detailed change logs are broken down by pre-release: ### Common Upgrade Tasks - * Rename foder from `sapphire/`to `framework/`, replace own paths with `FRAMEWORK_DIR` (in PHP) or `$ModulePath(framework)` (in templates). Update paths in `.htaccess` or `web.config` ([more](#sapphire-rename)) + * Rename foder from `sapphire/`to `framework/`, replace own paths with `FRAMEWORK_DIR` (in PHP) or `$ModulePath(framework)` (in templates). Update paths in `.htaccess` or `web.config` ([more](/changelogs/3.0.0#sapphire-rename)) * Replace `<% control %>` in your templates with `<% loop %>` and `<% with %>` ([more](/reference/templates-upgrading-guide#control)) - * Replace `DataObjectSet` with `DataList` or `ArrayList` ([more](#deprecated-classes)) - * Rewrite `ComplexTableField` and `DataObjectManager` instances to `GridField` - * Rewrite `Director::redirect()` and `Director::redirectBack()` calls ([more] (#director-static-functions-deprecated-director-redirect-and-director-redirectback-in-particular) - * Use `::get()` rather than `DataObject::get()` ([more](#new-orm-datalist)) - * Use new syntax for `DataObjectDecorator::extraStatics` ([more](#extensions)) - * Change CMS tab paths from `Root.Content.Main` to `Root.Main`, move some field changes to new `SiteTree->getSettingsFields()` method ([more](#tab-paths)) - * Add new modules if using specific core features like Widget, RestfulServer, PageComment or Translatable + * Replace `DataObjectSet` with `DataList` or `ArrayList` ([more](/changelogs/3.0.0#deprecated-classes)) + * Rewrite `ComplexTableField` and `DataObjectManager` instances to `GridField` ([more](/changelogs/3.0.0#gridfield-replacement-for-tablelistfield-and-complextablefield-gridfield)) + * Rewrite `Director::redirect()` and `Director::redirectBack()` calls ([more](/changelogs/3.0.0#director-static-functions-deprecated-e-g-redirect-and-redirectback) + * Use `::get()` rather than `DataObject::get()` ([more](/changelogs/3.0.0#new-orm-datalist)) + * Use new syntax for `DataObjectDecorator::extraStatics` ([more](/changelogs/3.0.0#extensions)) + * Change CMS tab paths from `Root.Content.Main` to `Root.Main`, move some field changes to new `SiteTree->getSettingsFields()` method ([more](/changelogs/3.0.0#tab-paths)) + * Add new modules if using specific core features like Widget, RestfulServer, PageComment or Translatable ([more](/changelogs/3.0.0#moved-widget-api-into-new-widgets-module-widgets)) ### sapphire renamed to framework {#sapphire-rename} @@ -215,7 +215,7 @@ for the presence of records, please call the count() method on the `DataList`: if(!DataObject::get('SiteTree', '"ParentID" = 5')->count()) echo "Page 5 has no children"; Beware that `DataList->remove()` will delete an entry from the database. -See the ["datamodel" documentation](../../topics/datamodel) for more details. +See the ["datamodel" documentation](../topics/datamodel) for more details. ### New ORM: Changes to manipulation of SQL queries {#new-orm-sql-queries} @@ -354,7 +354,7 @@ the detailed changelog for this release. Many interface components have changed unfortunately there is no clear upgrade path for every interface detail. As a starting point, have a look at the new templates in `cms/templates` and `framework/admin/templates`, as well as the new [jQuery.entwine](https://github.com/hafriedlander/jquery.entwine) -based JavaScript logic. Have a look at the new ["Extending the CMS" guide](../howto/extending-the-cms), +based JavaScript logic. Have a look at the new ["Extending the CMS" guide](../howto/extend-cms-interface), ["CSS" guide](../topics/css), ["JavaScript" guide](../topics/javascript) and ["CMS Architecture" guide](/reference/cms-architecture) to get you started. @@ -477,7 +477,7 @@ as well as the HTML form element itself.
- + After (abbreviated):
@@ -569,11 +569,11 @@ You can now call the `_t()` function in both templates and code with a namespace The new syntax supports injecting variables into the translation. For example: :::php - _t( + _t( 'i18nTestModule.INJECTIONS2', "Hello {name} {greeting}", array("name"=>"Paul", "greeting"=>"good you are here") - ); + ); We've written the injection logic in a way that keeps backwards compatible with existing translations. This means that you can migrate from `sprintf()` to the new injection