Skip to content

Commit

Permalink
Localization and more info in the readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahelsaig committed Feb 26, 2023
1 parent 70d5137 commit fb801da
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Lombiq.HelpfulExtensions/Manifest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,6 @@
Category = "Development",
Description =
"Convert Orchard 1's export XML files into Orchard Core recipes. This feature contains the basics like " +
"CommonPart and BodyPart, but can be extended with additional converters that only have to handle more " +
"specialized export data."
"CommonPart and BodyPart (full list is in the Helpful Extensions repository readme), but can be extended " +
"with additional converters that only have to handle more specialized export data."
)]
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
method="post">

<ol>
<li>Go to Admin > Import/Export in the Orchard 1 site and select the Export tab.</li>
<li>Tick <i>Content and Content Definition</i> and then the <i>Content</i> checkbox for the desired types, e.g. <i>Blog Post</i>, <i>Comment</i> and <i>Tag Node</i>.</li>
<li>Click the <i>Export</i> button and save the <i>export.xml</i> file.</li>
<li>Upload the file here to receive a converted <i>export.recipe.json</i> file.</li>
<li>Go to Admin > Configuration > Import/Export > Package Import and upload the newly generated <i>export.recipe.json</i> file.</li>
<li>@T["Go to Admin > Import/Export in the Orchard 1 site and select the Export tab."]</li>
<li>@T["Tick <i>Content and Content Definition</i> and then the <i>Content</i> checkbox for the desired types, e.g. <i>Blog Post</i>, <i>Comment</i> and <i>Tag Node</i>."]</li>
<li>@T["Click the <i>Export</i> button and save the <i>export.xml</i> file."]</li>
<li>@T["Upload the file here to receive a converted <i>export.recipe.json</i> file."]</li>
<li>@T["Go to Admin > Configuration > Import/Export > Package Import and upload the newly generated <i>export.recipe.json</i> file."]</li>
</ol>

<div class="mb-3">
Expand Down
12 changes: 12 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ To extend the built-in functionality implement these services:
- `IOrchardContentConverter`: Used to set up a single new `ContentItem` using the data in the matching `<Content>` entry.
- `IOrchardExportConverter`: Used to update or filter the final list of content items. It has access to the entire export XML file.

The built-in converters handle the following O1 content parts:

- `CommonPart`
- `AutoroutePart`
- `BodyPart`
- `TitlePart`
- `IdentityPart`
- `ListPart`
- `GraphMetadata` (added by <https://github.com/Lombiq/Associativy-Core>)

Additionally, if a custom converter fills in the `OrchardIds` content part's `Parent` property on the generated content item, then it also adds it to the parent content item's `ListPart`.

### Flows Helpful Extensions

Adds additional styling capabilities to the OrchardCore.Flows feature by making it possible to add classes to widgets in the Flow Part editor. Just add `AdditionalStylingPart` to the content type using `FlowPart`.
Expand Down

0 comments on commit fb801da

Please sign in to comment.