Step 1 - Create a new content type
Start by creating the content type through the Dexterity Types control panel.Site Setup > Dexterity Types
Select and clone the "Page".
.. ..
Then add a "youtube_url" field.
After adding your first "Youtube page" you'll notice that the default view isn't showing us the "youtube_url" field that we added. We'll fix that in the next step.
Step 2 - Create a custom rapido view
To create a custom view (sometimes called an "extra view"), start by creating a rapido app, we'll call ours views and to this we'll add a youtube-page block.
See the structure in the gist below:
..
..
The video below explores the building blocks of our custom view. After some tinkering we settle on the id youtube-page-view for our view.
.. ..
No comments:
Post a Comment