Set up In-context editing to work with Data Definition Fields (only getting metadata)
I currently have a block based layout and each block has all the working parts (data definition, velocity format, etc.). i'm trying to use In-Context editing and am only able to provide access to metadata fields. How can i get the Data Definitions in there for editing?
Example:
Main-Content (Data definition):
banner-image (field)
alt-tag (field)
text (field)
We would like to be able to edit these in-context just like metadata fields.
There is plenty of articles that say it's possible "if configured", but there seems to be no "how to" on this.
In-context editing example:
http://www.hannonhill.com/kb/In-Context-Editing/index.html
Discussions are closed to public comments.
If you need help with Cascade CMS please
start a new discussion.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Ryan Griffith on 11 Sep, 2015 05:16 PM
Hi Edgar,
As long as your Content Type is configured with a Data Definition, you can add Data Definition fields just like the Metadata fields:
I have attached a screenshot for reference as to what things should look like.
Please let me know if you have any questions.
Thanks!
2 Posted by edgar.alcantara on 11 Sep, 2015 06:51 PM
Hi Ryan,
That was helpful. At first we only got the pencil for metadata. After applying one (any random one) of our data definitions I could see the pencil for Data Definitions. Unfortunately any Data Definition I applied was for one of the regions and this caused me to only be able to select fields for that data definition in all of my regions.
Our Current setup:
We have multiple regions, each with their own blocks, Data Definitions, formats, etc. Not using one central "DEFAULT" region that contains everything, because we tried to go modular, especially on the home page, which has a lot of modules (blocks/regions).
Screenshots attached:
img1: Modular Home page (each region to be edited in-context)
img2: I applied slideshow data definition to content type for example
img3: Here you can see that the chosen data definition's fields are the only choices I have regardless of which region.
Is there something I can do to get each Region to have it's own Data Definition fields to choose from within Content Type.
Please let me know.
Thanks,
Edgar A.
3 Posted by Ryan Griffith on 11 Sep, 2015 07:41 PM
Hi Edgar,
Currently, the Data Definition fields will only be based on the Data Definition that is associated with the Content Type, so there's no way around that at the moment.
That being said, the user should be able to edit the Block that is attached to that region in-context if the following conditions are met:
Please let me know if you have any questions.
Thanks!
4 Posted by edgar.alcantara on 18 Sep, 2015 02:37 PM
This worked for us....thanks for all the great help.
edgar.alcantara closed this discussion on 18 Sep, 2015 02:38 PM.