Skip to content

Commit

Permalink
DOC Remove links to legacy lessons (#568)
Browse files Browse the repository at this point in the history
We'd love to replace these with updated links, but we simply don't have
the time to create new lessons right now. Being 2 major releases out of
date, it's time to remove these links.
  • Loading branch information
GuySartorelli authored Aug 22, 2024
1 parent e79597d commit 9f9712d
Show file tree
Hide file tree
Showing 32 changed files with 2 additions and 171 deletions.
6 changes: 0 additions & 6 deletions en/00_Getting_Started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ Your website should be available on your domain now (e.g. `https://www.example.c
For more information on how to maintain your installation or install projects, check
out [Using Silverstripe with Composer](composer).

## Guided installation

If you are unsure on how this all works, please jump on our [lessons](https://www.silverstripe.org/learn/lessons/v4/).
Webserver setup is covered in
[Lesson 4: Setting up a local dev environment](https://www.silverstripe.org/learn/lessons/v4/up-and-running-setting-up-a-local-silverstripe-dev-environment-1).

## Keep learning

[CHILDREN]
Expand Down
34 changes: 0 additions & 34 deletions en/01_Lessons/index.md

This file was deleted.

5 changes: 0 additions & 5 deletions en/02_Developer_Guides/00_Model/01_Data_Model_and_ORM.md
Original file line number Diff line number Diff line change
Expand Up @@ -857,11 +857,6 @@ The way the ORM stores the data is this:

To retrieve a `Computer` record, Silverstripe CMS joins the `Product` and `Product_Digital_Computer` tables by their `ID` columns.

## Related lessons

- [Introduction to the ORM](https://www.silverstripe.org/learn/lessons/v4/introduction-to-the-orm-1)
- [Adding custom fields to a page](https://www.silverstripe.org/learn/lessons/v4/adding-custom-fields-to-a-page-1)

## Related documentation

- [Data Types and Casting](/developer_guides/model/data_types_and_casting)
Expand Down
5 changes: 0 additions & 5 deletions en/02_Developer_Guides/00_Model/02_Relations.md
Original file line number Diff line number Diff line change
Expand Up @@ -1253,11 +1253,6 @@ This defaults to `false` for most `DataObject`'s.
It is also possible to control the visibility of the `File Tracking` tab by setting the `show_file_link_tracking` config.
## Related lessons
- [Working with data relationships -- has_many](https://www.silverstripe.org/learn/lessons/v4/working-with-data-relationships-has-many-1)
- [Working with data relationships -- many_many](https://www.silverstripe.org/learn/lessons/v4/working-with-data-relationships-many-many-1)
## Related documentation
- [Introduction to the Data Model and ORM](data_model_and_orm)
Expand Down
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/00_Model/03_Lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,6 @@ $list->push($sig);
$numItems = $list->Count();
```

## Related lessons

- [Lists and pagination](https://www.silverstripe.org/learn/lessons/v4/lists-and-pagination-1)

## API documentation

- [SS_List](api:SilverStripe\ORM\SS_List)
Expand Down
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/00_Model/05_Extending_DataObjects.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,3 @@ class Player extends DataObject
> [!WARNING]
> Note: There are no separate methods for `onBeforeCreate()` and `onBeforeUpdate()`. Please check `$this->isInDb()` to toggle
> these two modes, as shown in the example above.
## Related lessons

- [Working with data relationships - $has_many](https://www.silverstripe.org/learn/lessons/v4/working-with-data-relationships-has-many-1)
5 changes: 0 additions & 5 deletions en/02_Developer_Guides/00_Model/06_SearchFilters.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,6 @@ $players = Player::get()->filter([
> ]);
> ```
## Related lessons
- [Introduction to ModelAdmin](https://www.silverstripe.org/learn/lessons/v4/introduction-to-modeladmin-1)
- [Building a search form](https://www.silverstripe.org/learn/lessons/v4/building-a-search-form-1)
## API documentation
- [SearchFilter](api:SilverStripe\ORM\Filters\SearchFilter)
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/00_Model/08_SQL_Select.md
Original file line number Diff line number Diff line change
Expand Up @@ -583,10 +583,6 @@ The following PHP types are used to return database content:
- strings returned as strings
- dates / datetimes returned as strings

## Related lessons

- [Building custom SQL](https://www.silverstripe.org/learn/lessons/v4/beyond-the-orm-building-custom-sql-1)

## Related documentation

- [Introduction to the Data Model and ORM](data_model_and_orm)
Expand Down
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/01_Templates/01_Syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -619,10 +619,6 @@ for adding notes for other developers but for things you don't want published in
$EditForm <%-- Some hidden comment about the form --%>
```

## Related lessons

- [Creating your first theme](https://www.silverstripe.org/learn/lessons/v4/creating-your-first-theme-1)

## Related documentation

[CHILDREN Exclude="How_Tos"]
Expand Down
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/01_Templates/02_Common_Variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -418,10 +418,6 @@ Silverstripe CMS log-in form. If you are on such a page (and the form is impleme
the `$Form` variable will contain the HTML content of the form.
Placing it just below `$Content` is a good default.

## Related lessons

- [Adding dynamic content](https://www.silverstripe.org/learn/lessons/v4/adding-dynamic-content-1)

## Related documentation

- [Casting and Formatting Variables](casting)
Expand Down
5 changes: 0 additions & 5 deletions en/02_Developer_Guides/01_Templates/03_Requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,11 +472,6 @@ $themeFilePath = ThemeResourceLoader::inst()->findThemedResource('images/spinner

You can also get file paths specifically for JavaScript and CSS files using the [`findThemedJavascript()`](api:SilverStripe\Core\Manifest\ModuleResourceLoader::findThemedJavascript()) and [`findThemedCss()`](api:SilverStripe\Core\Manifest\ModuleResourceLoader::findThemedCss()) methods.

## Related lessons

- [Creating your first theme](https://www.silverstripe.org/learn/lessons/v4/creating-your-first-theme-1)
- [AJAX behaviour and ViewableData](https://www.silverstripe.org/learn/lessons/v4/ajax-behaviour-and-viewabledata-1)

## API documentation

- [Requirements](api:SilverStripe\View\Requirements)
Expand Down
7 changes: 0 additions & 7 deletions en/02_Developer_Guides/01_Templates/04_Rendering_Templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,3 @@ class MyPageController extends PageController
> [!WARNING]
> A common mistake is trying to loop over an array directly in a template - this won't work. You'll need to wrap the array in some `ViewableData` instance as mentioned above.
## Related lessons

- [Controller actions/DataObjects as pages](https://www.silverstripe.org/learn/lessons/v4/controller-actions-dataobjects-as-pages-1)
- [AJAX behaviour and ViewableData](https://www.silverstripe.org/learn/lessons/v4/ajax-behaviour-and-viewabledata-1)
- [Dealing with arbitrary template data](https://www.silverstripe.org/learn/lessons/v4/dealing-with-arbitrary-template-data-1)
- [Creating filtered views](https://www.silverstripe.org/learn/lessons/v4/creating-filtered-views-1)
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,3 @@ Module names are derived from their local `composer.json` files using the follow
- The value of the `name` attribute in `composer.json`
- The value of `extras.installer-name` in `composer.json`
- The basename of the directory that contains the module

## Related lessons

- [Working with multiple templates](https://www.silverstripe.org/learn/lessons/v4/working-with-multiple-templates-1)
5 changes: 0 additions & 5 deletions en/02_Developer_Guides/01_Templates/06_Themes.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,3 @@ The final step is to [submit your theme to Packagist](https://packagist.org/abou
## Links
- [Silverstripe CMS themes on Packagist](https://packagist.org/search/?type=silverstripe-theme)
## Related lessons
- [Creating your first project](https://www.silverstripe.org/learn/lessons/v4/creating-your-first-project)
- [Migrating static templates into your theme](https://www.silverstripe.org/learn/lessons/v4/migrating-static-templates-into-your-theme-1)
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/01_Templates/09_Casting.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,3 @@ Text / HTMLText methods:
version of emails.
- [`LimitSentences(<num>)`](api:SilverStripe\ORM\FieldType\DBText::LimitSentences()) - limits output to the first `<num>` sentences in the content. This method internally calls `Plain()`,
converting HTML content into plain text.

## Related lessons

- [Dealing with arbitrary template data](https://www.silverstripe.org/learn/lessons/v4/dealing-with-arbitrary-template-data-1)
2 changes: 0 additions & 2 deletions en/02_Developer_Guides/01_Templates/How_Tos/02_Pagination.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,6 @@ Note that this is not an exhaustive list, as any public method on `PaginatedList
| `$LastPage` | Returns true if you're currently on the last page |
| `$CurrentBool` | Returns true if you're currently on that page |

## Related lessons

## API documentation

- [`PaginatedList`](api:SilverStripe\ORM\PaginatedList)
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/01_Templates/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,3 @@ templates from your controllers.
## How to's

[CHILDREN Folder=How_Tos]

## Related lessons

- [Migrating static templates into your theme](https://www.silverstripe.org/learn/lessons/v4/migrating-static-templates-into-your-theme-1)
5 changes: 0 additions & 5 deletions en/02_Developer_Guides/02_Controllers/01_Introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,11 +304,6 @@ You'd now be able to access methods of the controller in the page's template
<p>{$getExample}</p>
```

## Related lessons

- [Controller actions/DataObjects as pages](https://www.silverstripe.org/learn/lessons/v4/controller-actions-dataobjects-as-pages-1)
- [Creating filtered views](https://www.silverstripe.org/learn/lessons/v4/creating-filtered-views-1)

## Related documentation

- [Execution Pipeline](../execution_pipeline)
Expand Down
5 changes: 0 additions & 5 deletions en/02_Developer_Guides/02_Controllers/02_Routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,11 +490,6 @@ That URL ends up passing the request through a series of nested request handlers
1. `tree` matches `tree` in `TreeDropdownField.allowed_actions`, so `TreeDropdownField::tree()` is called
1. `TreeDropdownField::tree()` returns an `HTTPResponse` with its body containing JSON

## Related lessons

- [Creating filtered views](https://www.silverstripe.org/learn/lessons/v4/creating-filtered-views-1)
- [Controller actions / DataObjects as pages](https://www.silverstripe.org/learn/lessons/v4/controller-actions-dataobjects-as-pages-1)

## Links

- [Controller](api:SilverStripe\Control\Controller) API documentation
Expand Down
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/03_Forms/00_Introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,10 +436,6 @@ class MyFormPageController extends PageController
}
```

## Related lessons

- [Introduction to frontend forms](https://www.silverstripe.org/learn/lessons/v4/introduction-to-frontend-forms-1)

## API documentation

- [Form](api:SilverStripe\Forms\Form)
Expand Down
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/03_Forms/01_Validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -396,10 +396,6 @@ class MyPage extends Page
> You can also update the `CompositeValidator` by creating an `Extension` and implementing the
> `updateCMSCompositeValidator()` method.
## Related lessons

- [Introduction to frontend forms](https://www.silverstripe.org/learn/lessons/v4/introduction-to-frontend-forms-1)

## API documentation

- [RequiredFields](api:SilverStripe\Forms\RequiredFields)
Expand Down
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/04_Configuration/00_Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,3 @@ class MyServiceTest extends SapphireTest
## API documentation

- [Config](api:SilverStripe\Core\Config\Config)

## Related lessons

- [DataExtensions and SiteConfig](https://www.silverstripe.org/learn/lessons/v4/data-extensions-and-siteconfig-1)
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/04_Configuration/01_SiteConfig.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,3 @@ provide the users a place to configure site-wide settings then the `SiteConfig`
## API documentation

- [SiteConfig](api:SilverStripe\SiteConfig\SiteConfig)

## Related lessons

- [DataExtensions and SiteConfig](https://www.silverstripe.org/learn/lessons/v4/data-extensions-and-siteconfig-1)
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,3 @@ For more information see our docs on [Environment Management](../../getting_star

Data which isn't sensitive that can be in version control but is mostly static such as constants is best suited to be
included through the [Configuration API](configuration) based on the standard environment types (dev / test / live).

## Related lessons

- [Up and running](https://www.silverstripe.org/learn/lessons/v4/up-and-running-setting-up-a-local-silverstripe-dev-environment-1)
- [Advanced environment configuration](https://www.silverstripe.org/learn/lessons/v4/advanced-environment-configuration-1)
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/05_Extending/01_Extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,10 +444,6 @@ class CustomisedSomeExtension extends SomeExtension
> manifest has been loaded, which may not work consistently due to the "extra methods" cache having already been
> populated.

## Related lessons

- [DataExtensions and SiteConfig](https://www.silverstripe.org/learn/lessons/v4/data-extensions-and-siteconfig-1)

## Related documentation

- [Injector](injector/)
Expand Down
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/07_Debugging/00_Environment_Types.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,3 @@ if (Director::isLive()) {
// is in dev mode
}
```

## Related lessons

- [Advanced environment configuration](https://www.silverstripe.org/learn/lessons/v4/advanced-environment-configuration-1)
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/07_Debugging/01_Error_Handling.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,3 @@ SilverStripe\Dev\Backtrace:
You should include any functions or methods here which have arguments that may be sensitive. If you are the author of a
module that other developers may use, it is best practice to include this configuration in the module. Developers should
not be expected to scan every Silverstripe module they use and add those declarations in their project configuration.

## Related lessons

- [Advanced environment configuration](https://www.silverstripe.org/learn/lessons/v4/advanced-environment-configuration-1)
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/14_Files/01_File_Management.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,3 @@ storage.
SilverStripe\Assets\File:
keep_archived_assets: true
```

## Related lessons

- [Working with files and images](https://www.silverstripe.org/learn/lessons/v4/working-with-files-and-images-1)
4 changes: 0 additions & 4 deletions en/02_Developer_Guides/14_Files/02_Images.md
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,3 @@ Look at [Template inheritance](../templates/Template_Inheritance) for more infor
- [Image](api:SilverStripe\Assets\Image)
- [DBFile](api:SilverStripe\Assets\Storage\DBFile)
- [ImageManipulation](api:SilverStripe\Assets\ImageManipulation)

## Related lessons

- [Working with files and images](https://www.silverstripe.org/learn/lessons/v4/working-with-files-and-images-1)
Original file line number Diff line number Diff line change
Expand Up @@ -562,10 +562,6 @@ class MyAdmin extends ModelAdmin
}
```

## Related lessons

- [Intoduction to ModelAdmin](https://www.silverstripe.org/learn/lessons/v4/introduction-to-modeladmin-1)

## Related documentation

- [GridField](../forms/field_types/gridfield)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ that is used to manage the object.

This method exists so that when a user clicks on a link in the preview panel, the CMS
edit form for the page the link leads to can be loaded. Unless your `DataObject` is
[acting like a page](https://www.silverstripe.org/learn/lessons/v4/controller-actions-dataobjects-as-pages-1)
acting like a page
this will likely not apply, but as this method is mandatory and public we may as well
set it up correctly.

Expand Down Expand Up @@ -208,7 +208,7 @@ We will need to add a new action to the `ModelAdmin` to provide the actual previ
For now, assume that action will be called `cmsPreview`. We can very easily craft a valid
URL using the `Link` method on the `MyAdmin` class.

Note that if you had set up this model to [act like a page](https://www.silverstripe.org/learn/lessons/v4/controller-actions-dataobjects-as-pages-1),
Note that if you had set up this model to act like a page,
you could simply `return $this->Link($action)`. In that case the new action would not need
to be added to your `ModelAdmin`.

Expand Down
8 changes: 0 additions & 8 deletions en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,6 @@ Silverstripe has a wide range of options for getting support:
- Discuss new features, API changes and the development [roadmap](https://www.silverstripe.org/software/roadmap/)
on the ["feature ideas" category](https://forum.silverstripe.org/c/feature-ideas) in our forums

## Building your first Silverstripe web application

Once you have completed the [Getting Started](/getting_started) guide and have got Silverstripe installed and running,
the following [Tutorials](https://silverstripe.org/learn/lessons) will lead through the basics and core concepts of
Silverstripe.

Make sure you know the basic concepts of PHP before attempting to follow the tutorials.

## Silverstripe concepts

The [Developer Guides](/developer_guides) contain more detailed documentation on certain Silverstripe topics, 'how to'
Expand Down

0 comments on commit 9f9712d

Please sign in to comment.