-
Upgrade essences to ingredientsIn Alchemy 7.0 Ingredients will be the only option for new elements. Existing elements can be updated with these simple steps: Update element definitionsIn your
Example - name: article
taggable: true
- contents:
- - name: intro
- type: EssenceText
- - name: headline
- type: EssenceText
+ ingredients:
+ - role: intro
+ type: Text
+ - role: headline
+ type: Text
settings:
linkable: true
- - name: image
- type: EssencePicture
+ - role: image
+ type: Picture
settings:
size: 450x300
crop: true
- - name: text
- type: EssenceRichtext
+ - role: text
+ type: Richtext
- - name: date
- type: EssenceDate
+ - role: date
+ type: Datetime Update element partialAll helpers provided by the Global helpersIf you are using global helpers and not using the All global helpers using Examples
Have a look into the modules defining the helpers Old helpers
New helpers
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Shouldn't be the title " How to upgrade Elements to use ingredients instead of essences" instead of "How to upgrade Elements to use essences instead of ingredients"? |
Beta Was this translation helpful? Give feedback.
-
I have found that the |
Beta Was this translation helpful? Give feedback.
-
To help the upgrade we introduced a task that visualizes the current element usage of your Alchemy installation.
This will list all elements with its current count and displays a note about usage of contents vs. ingredients. Example output of a very large Alchemy installation we currently migrate.
It is safe to run this on your production machine. This should help to plan the migration. |
Beta Was this translation helpful? Give feedback.
-
if anyone is interested in upgrading their elements file with the new 7.0.1 upgrade this converter does the trick for me: |
Beta Was this translation helpful? Give feedback.
-
After updating Alchemy to v7.0.0 I am getting this error if I try to use my custom ingredient in a view with:
Should I add something more for the ingredient definition? I have found no documentation about that in the release notes of v7. |
Beta Was this translation helpful? Give feedback.
To help the upgrade we introduced a task that visualizes the current element usage of your Alchemy installation.
This will list all elements with its current count and displays a note about usage of contents vs. ingredients.
Example output of a very large Alchemy installation we currently migrate.