Custom Content Type Template
Hi All,
It is my first project on Sitefinity, so I am quite new to the CMS.
We have created a custom content type called “Case study”, in which the content has to be laid out in a number of different formats.
We have also created a several Custom content types (“Quote”, “Testimonial”, “Text with left
image”, “Text with right image”) as children of the Custom content type “Case study”.
So the problem we have is the following:
1) We want to be able to add as many of these elements as we need, in any order we need to each
"Case study”, and show them all together in it. When we are trying to modify the template and put all the child content type in one template we are getting error message, Quote, testimonial is not part of provider. we need to show all the fields for each one in the same page.
Can any give me an example how to do it?
Hello Tauseef,
In order to achieve your needs, you can:
- Create a module with the content types you need
- Create a 'common' content type (in that or other Module) that has fields of type Related data
- Each field has the content type you need
More information is available here.
Regards,
Svetoslav Manchev
Telerik
Thanks Svetoslav for you feedback.
We are almost there. We only need to show the full 'Related Content' on the same page, not as a hyperlink. Can you please guide me?
Again thanks for your help.
Kind regards,
Tauseef
Hi Tauseef,
You can select the option "Display selected Items on the frontend using..." > Dynamic content widget.
This is available during custom filed creation or on custom field edit.
Regards,
Svetoslav Manchev
Telerik
Hi Svetoslav
Thanks for your reply!
Sorry I didn't clarify myself in last post.
I have created a 'Project' module, in this module there are four different content types.
1. Project (Screenshot - Project_ContentType.jpg)
2. CustomRow (screenshot - CustomRow_ContentType.jpg)
3. ProjectQuote (Screenshot - ProjectQuote_ContentType.jpg)
4. ProjectContentWithImage (screenshot - ProjectContentWithImage_ContentType.jpg)
Please see screenshots, I have created 'ContentRow' field as related data in the Project module which is providing link between Project contentType and ProjectQuote and ProjectContentWithImage.
I want to display Project Content Type fields along with ProjectQuote and ProjectContentWithImage Content Types fields. I am unable to link Project with ProjectQuote and ProjectContentWithImage.
I want to display on one page rather than displaying the links of related content type.
I have used "Display select Items as frontend using Dynamic content widget"
Kind regards,
Tauseef