Skip to content

Commit 229f588

Browse files
authored
Merge pull request #7517 from umbraco/update-image-links
Updated image paths to current folder
2 parents f254a32 + df38d45 commit 229f588

File tree

66 files changed

+279
-279
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+279
-279
lines changed

13/umbraco-cms/fundamentals/design/partial-views.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ A Partial View (`.cshtml` file) is a regular view that can be used multiple time
1010

1111
You can create and edit partial views in the **Partial Views** folder from the **Settings** section of the Backoffice.
1212

13-
![Creating a new partial view](../../../../10/umbraco-cms/fundamentals/design/images/creating-partial-view.png)
13+
![Creating a new partial view](images/creating-partial-view.png)
1414

1515
In the **Create** menu, there are three options available:
1616

@@ -22,15 +22,15 @@ In the **Create** menu, there are three options available:
2222

2323
To create a partial view, go to the **Settings** section in the Umbraco backoffice and right-click the **Partial Views** folder. Choose **Create**. Select **New empty partial view** and enter a partial view name and click the **Save** button. You will now see the partial view markup in the backoffice editor.
2424

25-
![Created partial view](../../../../10/umbraco-cms/fundamentals/design/images/created-partial-view.png)
25+
![Created partial view](images/created-partial-view.png)
2626

2727
By default, the partial view is saved in the `Views/Partials` folder in the solution.
2828

2929
## Creating a Partial View from Snippet
3030

3131
To create a partial view from the snippet, go to the **Settings** section in the Umbraco backoffice and right-click the **Partial Views** folder. Choose **Create**. Select **New empty partial view from snippet**. Select the snippet you want to create a partial view for and enter a partial view name. The code snippet you selected is displayed in the backoffice editor. Click the **Save** button.
3232

33-
![Created partial view from snippet](../../../../10/umbraco-cms/fundamentals/design/images/created-partial-view-from-snippet.png)
33+
![Created partial view from snippet](images/created-partial-view-from-snippet.png)
3434

3535
By default, the partial view is saved in the `Views/Partials` folder in the solution. Umbraco provides the following partial view snippets:
3636

@@ -54,7 +54,7 @@ By default, the partial view is saved in the `Views/Partials` folder in the solu
5454

5555
To create a folder, go to the **Settings** section in the Umbraco backoffice and right-click the **Partial Views** folder. Choose **Create**. Select **Folder**. Enter a folder name and click the **Create** button.
5656

57-
![Created folder](../../../../10/umbraco-cms/fundamentals/design/images/Partial-Views-folder.png)
57+
![Created folder](images/Partial-Views-folder.png)
5858

5959
## Rendering a Partial View
6060

13/umbraco-cms/fundamentals/design/rendering-content.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ To use the `fallback` type, add the `@using Umbraco.Cms.Core.Models.PublishedCon
8787
* Each language can optionally be provided with a fall-back language, that will be used when content is not populated for the language requested and the appropriate overload parameters are provided.
8888
* It is possible to chain these language fall-backs, so requesting content for Portuguese, could fall-back to Spanish and then on to English.
8989

90-
![Configuring fall-back languages](../../../../10/umbraco-cms/fundamentals/design/images/language-fallback.png)
90+
![Configuring fall-back languages](images/language-fallback.png)
9191

9292
## Query content
9393

@@ -104,9 +104,9 @@ You can do this by querying content relative to your current page in template vi
104104
</ul>
105105
```
106106

107-
You can use the Query Builder in the template editor to build more advanced queries. ![Query button](../../../../10/umbraco-cms/fundamentals/design/images/button-v8.png)
107+
You can use the Query Builder in the template editor to build more advanced queries. ![Query button](images/button-v8.png)
108108

109-
![Query helper](../../../../10/umbraco-cms/fundamentals/design/images/query-v9.png)
109+
![Query helper](images/query-v9.png)
110110

111111
### More information
112112

13/umbraco-cms/fundamentals/design/stylesheets-javascript.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ description: >-
1010

1111
You can create and edit stylesheets in the Stylesheets folder in the Settings section of the Backoffice.
1212

13-
![Creating a new stylesheet](../../../../10/umbraco-cms/fundamentals/design/images/1-creating-stylesheet.png)
13+
![Creating a new stylesheet](images/1-creating-stylesheet.png)
1414

1515
In the Create menu, these options are available:
1616

@@ -24,15 +24,15 @@ It is currently not possible to use any CSS preprocessor (such as Syntactically
2424

2525
After creating a new stylesheet, you would work with it as you would with templates or JavaScript files - using the built-in backoffice text editor. When you're working with stylesheets, you also have access to the Rich Text Editor, which allows you to create CSS styles and get a real-time preview.
2626

27-
![Stylesheet Rich Text Editor (RTE)](../../../../10/umbraco-cms/fundamentals/design/images/2-rte-editor.png)
27+
![Stylesheet Rich Text Editor (RTE)](images/2-rte-editor.png)
2828

2929
The rules you create in the Rich Text Editor section will carry over to the Code tab.
3030

31-
![Stylesheet RTE tab](../../../../10/umbraco-cms/fundamentals/design/images/3-rte-editor-p2.png) ![Stylesheet Code tab](../../../../10/umbraco-cms/fundamentals/design/images/3-rte-editor-p3.png)
31+
![Stylesheet RTE tab](images/3-rte-editor-p2.png) ![Stylesheet Code tab](images/3-rte-editor-p3.png)
3232

3333
To reference your newly included stylesheet in a template file, navigate to Templates, pick the template you like (css files are usually referenced in the layout or home templates) and link to it with the `link` tag.
3434

35-
![Linking CSS in template](../../../../10/umbraco-cms/fundamentals/design/images/4-link-css-v9.png)
35+
![Linking CSS in template](images/4-link-css-v9.png)
3636

3737
By default, the stylesheets will be saved in the `wwwroot/css` folder in the solution. To reference them you can use either of the methods used in the above screenshot.
3838

@@ -58,21 +58,21 @@ If your RTE is styled differently on the frontend of the site, the backoffice st
5858

5959
To create and edit JavaScript files in the Backoffice, head on over to the Scripts folder in the Settings section of the Backoffice.
6060

61-
![Creating a new JavaScript](../../../../10/umbraco-cms/fundamentals/design/images/8-create-js.png)
61+
![Creating a new JavaScript](images/8-create-js.png)
6262

6363
From here you can add a new JavaScript file, or a new folder.
6464

6565
Add a new JavaScript file and write your code:
6666

67-
![Sample JS script](../../../../10/umbraco-cms/fundamentals/design/images/9-myscript.png)
67+
![Sample JS script](images/9-myscript.png)
6868

6969
Then, navigate to the template where you would like to include your JS file.
7070

7171
```html
7272
<script src="/scripts/myScript.js"></script>
7373
```
7474

75-
![Reference the script in template](../../../../10/umbraco-cms/fundamentals/design/images/10-reference-script-v9.png)
75+
![Reference the script in template](images/10-reference-script-v9.png)
7676

7777
By default all JavaScript files will be stored in the `wwwroot/scripts` folder in the solution.
7878

13/umbraco-cms/fundamentals/design/templates/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ By default, all document types should have a template attached - but in case you
1212

1313
Open the **Settings** section inside the Umbraco backoffice and right-click the **Templates** folder. Choose **Create**. Enter a template name and click the **Save** button. You will now see the default template markup in the backoffice template editor.
1414

15-
![Created template](../../../../../10/umbraco-cms/fundamentals/design/templates/images/create-template-v8.png)
15+
![Created template](images/create-template-v8.png)
1616

1717
## Allowing a Template on a Document Type
1818

1919
To use a template on a document, you must first allow it on the content's type. Open the Document Type you want to use the template, go to the Templates tab and select the template under the **Allowed Templates** section.
2020

21-
![Allowing template](../../../../../10/umbraco-cms/fundamentals/design/templates/images/allow-template-v8.png)
21+
![Allowing template](images/allow-template-v8.png)
2222

2323
## Inheriting a Master Template
2424

@@ -40,7 +40,7 @@ A template can inherit content from a master template by using the ASP.NET views
4040

4141
We then create a new template called **textpage** and in the template editor, click on the **Master Template** button and set its master template to the template called **MasterView**:
4242

43-
![Inherit template](../../../../../10/umbraco-cms/fundamentals/design/templates/images/inherit-template-v8.png)
43+
![Inherit template](images/inherit-template-v8.png)
4444

4545
This changes the `Layout`value in the template markup, so **textpage** looks like this:
4646

@@ -103,7 +103,7 @@ By default, when rendering a named section, the section is not mandatory. To mak
103103
@RenderSection("Head", true)
104104
```
105105

106-
![Create partial](../../../../../10/umbraco-cms/fundamentals/design/templates/images/render-named-sections-v10.png)
106+
![Create partial](images/render-named-sections-v10.png)
107107

108108
On your child page template call `@section Head {}` and then type your markup that will be pushed into the Master Template:
109109

@@ -123,7 +123,7 @@ Another way to reuse HTML is to use partial views - which are small reusable vie
123123

124124
Like templates, create a partial view, by right-clicking **Partial Views** and selecting **Create**. You can then either create an empty partial view or create a partial view from a snippet.
125125

126-
![Create partial](../../../../../10/umbraco-cms/fundamentals/design/templates/images/create-partial-v8.png)
126+
![Create partial](images/create-partial-v8.png)
127127

128128
The created partial view can now be injected into any template by using the `@Html.Partial()` method like so:
129129

13/umbraco-cms/fundamentals/design/templates/named-sections.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ To define a Named Section, follow these steps:
3131
1. Go to **Settings**.
3232
2. Navigate to a template and click **Sections**.
3333

34-
<figure><img src="../../../../../10/umbraco-cms/fundamentals/design/templates/images/Sections-option.png" alt=""><figcaption></figcaption></figure>
34+
<figure><img src="images/Sections-option.png" alt=""><figcaption></figcaption></figure>
3535
3. Select **Define a named section** and enter the **Section Name**.
3636

37-
<figure><img src="../../../../../10/umbraco-cms/fundamentals/design/templates/images/Define-named-section.png" alt=""><figcaption></figcaption></figure>
37+
<figure><img src="images/Define-named-section.png" alt=""><figcaption></figcaption></figure>
3838
4. Click **Submit**.
3939

4040
## Render a Name Section
@@ -52,9 +52,9 @@ To render a Named Section, follow these steps:
5252
1. Go to **Settings**.
5353
2. Navigate to a template and click **Sections**.
5454

55-
<figure><img src="../../../../../10/umbraco-cms/fundamentals/design/templates/images/Sections-option.png" alt=""><figcaption></figcaption></figure>
55+
<figure><img src="images/Sections-option.png" alt=""><figcaption></figcaption></figure>
5656
3. Select **Render a named section** and enter the **Section Name**.
5757

58-
<figure><img src="../../../../../10/umbraco-cms/fundamentals/design/templates/images/Render-named-sections.png" alt=""><figcaption></figcaption></figure>
58+
<figure><img src="images/Render-named-sections.png" alt=""><figcaption></figcaption></figure>
5959
4. \[Optional] Select **Section is mandatory**. This means that the child templates need to have the named section defined for them to work.
6060
5. Click **Submit**.

13/umbraco-cms/fundamentals/setup/install/iis.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ The guide will assume you already have IIS configured and know your way around i
1212

1313
First, you need to ensure you have "Development time IIS support installed". To check this, go to the Visual Studio installer, click modify and check on the right side under "ASP.NET and web development":
1414

15-
![Checking the IIS module exists](../../../../../10/umbraco-cms/fundamentals/setup/install/images/iis-module.png)
15+
![Checking the IIS module exists](images/iis-module.png)
1616

1717
Once that is installed you should set up a new IIS site - and make sure to add the hostname to your hosts file as well. Here is my setup for an example:
1818

19-
![IIS site example](../../../../../10/umbraco-cms/fundamentals/setup/install/images/iis-site.png)
19+
![IIS site example](images/iis-site.png)
2020

2121
{% hint style="info" %}
2222
For the path you want to point it at the root of your site - where the `.csproj` file is.
@@ -106,8 +106,8 @@ You can add a new profile called IIS, and point it at your local domain. Here it
106106

107107
At this point IIS will be added to the launch profiles, and you can run the site from Visual Studio by choosing IIS in the dropdown:
108108

109-
![Launch profiles](../../../../../10/umbraco-cms/fundamentals/setup/install/images/launchprofiles.png)
109+
![Launch profiles](images/launchprofiles.png)
110110

111111
And finally the site is running from your local IIS:
112112

113-
![Local IIS site](../../../../../10/umbraco-cms/fundamentals/setup/install/images/voila.png)
113+
![Local IIS site](images/voila.png)
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,42 @@
11
# Install using Visual Studio Code
22

3-
Follow these steps to set up an Umbraco project with VS Code. The benefit of using VS Code is that it is super quick to get up and running.
3+
Follow these steps to set up an Umbraco project with Visual Studio Code. The benefit of using Visual Studio Code is that it is super quick to get up and running.
44

5-
## Installing and setting up VS Code
5+
## Installing and setting up Visual Studio Code
66

7-
1. Go to [https://code.visualstudio.com/](https://code.visualstudio.com/) and download VS Code for free.
8-
2. Once installed, launch VS Code.
9-
3. Click the extensions menu at the bottom on the left side. Then search for **C#** and install it.
7+
1. Go to [https://code.visualstudio.com/](https://code.visualstudio.com/) and download Visual Studio Code for free.
8+
2. Once installed, launch Visual Studio Code.
9+
3. Click the extensions menu at the bottom on the left side. Then search for **C#** and install it.
1010

11-
![VS Code install extension](../../../.gitbook/assets/Marketplace.jpg)
11+
![Visual Studio Code install extension](../../../.gitbook/assets/Marketplace.jpg)
1212

1313
## Creating your Umbraco project
1414

1515
Follow the [Templates Guide](install-umbraco-with-templates.md) to create your project folder.
1616

17-
## Configure VS Code to run the Umbraco project
17+
## Configure Visual Studio Code to run the Umbraco project
1818

19-
Open your project folder in VS Code, your project will look something like this:
19+
Open your project folder in Visual Studio Code, your project will look something like this:
2020

2121
![Fresh Umbraco installation](../../../.gitbook/assets/VS_Code_Explorer.png)
2222

23-
Now we need to tell VS Code how to run your project.
23+
Now we need to tell Visual Studio Code how to run your project.
2424

2525
Open the command palette, you can use the shortcut `Ctrl+Shift+P`, and type in `Tasks: Configure` and select the `Tasks: Configure Task` option:
2626

27-
![Configure task option](../../../../../10/umbraco-cms/fundamentals/setup/install/images/VsCode/ConfigureTask.png)
27+
![Configure task option](images/VsCode/ConfigureTask.png)
2828

2929
Select "Create task.json from template"
3030

31-
![Create task from template](../../../../../10/umbraco-cms/fundamentals/setup/install/images/VsCode/TaskJsonFromTemplate.png)
31+
![Create task from template](images/VsCode/TaskJsonFromTemplate.png)
3232

3333
Now select ".NET Core" as your template.
3434

35-
![Create .NET Core Template](../../../../../10/umbraco-cms/fundamentals/setup/install/images/VsCode/NetcoreTemplate.png)
35+
![Create .NET Core Template](images/VsCode/NetcoreTemplate.png)
3636

37-
After this VS Code will have created a folder called `.vscode` that contains a file called `tasks.json`, it's this file that tells VS Code how to build your project.
37+
Visual Studio Code creates a folder called `.vscode` that contains a file called `tasks.json`. The `tasks.json` file tells Visual Studio Code how to build your project.
3838

39-
Now that we've told VS Code how to build your project, we need to tell it how to launch it. VS Code can do this for you. First, select the little play button in the left side menu, and then select the "create a launch.json file" link.
39+
Now that we've told Visual Studio Code how to build your project, we need to tell it how to launch it. Visual Studio Code can do this for you. First, select the little play button in the left side menu, and then select the "create a launch.json file" link.
4040

4141
![Creating launch.json file](../../../.gitbook/assets/Create_LaunchJson_file.jpg)
4242

@@ -56,26 +56,26 @@ Now you'll see a green play button appear with a dropdown where ".NET Core Launc
5656

5757
<figure><img src="../../../.gitbook/assets/Dropdown_option.jpg" alt=""><figcaption><p>Green Play button options</p></figcaption></figure>
5858

59-
If you navigate to the Files section, a new `launch.json` file is created in the `.vscode` folder. When you press F5, the `launch.json` file tells VS Code to build your project, run it, and then open a browser .
59+
If you navigate to the Files section, a new `launch.json` file is created in the `.vscode` folder. When you press F5, the `launch.json` file tells Visual Studio Code to build your project, run it, and then open a browser .
6060

6161
<figure><img src="../../../.gitbook/assets/launchJson.jpg" alt=""><figcaption></figcaption></figure>
6262

6363
With that, you're ready to run the project! Press F5, or click the little green play button in the **Run and Debug** section to run your brand new Umbraco site locally.
6464

6565
## Umbraco Web Installer
6666

67-
This section continues from where we left off but covers the installation and configuration of Umbraco inside your web browser when you run Umbraco for the first time.
67+
This section covers the installation and configuration of Umbraco inside your web browser when you run Umbraco for the first time.
6868

6969
You will see the install screen where you will need to fill in some data before Umbraco can be installed.
7070

7171
![Web Installer - Lets Get Started](../../../.gitbook/assets/Install_Umbraco.jpg)
7272

7373
When the installer is done, you will be logged into the backoffice.
7474

75-
<figure><img src="../../../../../10/umbraco-cms/fundamentals/setup/install/images/VsCode/dashboard-v8.PNG" alt=""><figcaption></figcaption></figure>
75+
<figure><img src="images/VsCode/dashboard-v8.PNG" alt=""><figcaption></figcaption></figure>
7676

7777
Congratulations, you have installed an Umbraco site!
7878

7979
{% hint style="info" %}
80-
You can log into your Umbraco site by entering the following into your browser: http://yoursite.com/umbraco/.
80+
You can log into your Umbraco site by entering the following into your browser: `http://yoursite.com/umbraco/`.
8181
{% endhint %}

13/umbraco-cms/fundamentals/setup/install/unattended-install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ After completing the steps above you can now initialize the installation by boot
9191

9292
Once it has completed, you should see the following when visiting the frontend of the site.
9393

94-
<figure><img src="../../../../../10/umbraco-cms/fundamentals/setup/install/images/unattended/final-screen.png" alt=""><figcaption></figcaption></figure>
94+
<figure><img src="images/unattended/final-screen.png" alt=""><figcaption></figcaption></figure>
9595

9696
## Configuration options
9797

13/umbraco-cms/fundamentals/setup/install/visual-studio.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ For more information check the first 2 steps of [Install Umbraco with .NET CLI](
3737

3838
Go to **File > New > Project** and search for `Umbraco` in the _Search for templates_ field.
3939

40-
![The Create a new project dialog in Visual Studio.](../../../../../10/umbraco-cms/fundamentals/setup/install/images/VS/create-project.png)
40+
![The Create a new project dialog in Visual Studio.](images/VS/create-project.png)
4141

4242
Once you select **Umbraco Project (Umbraco HQ)** navigate to the next step by clicking _Next_.
4343

0 commit comments

Comments
 (0)