Content block with separate title?

Posted by Community Admin on 05-Aug-2018 19:21

Content block with separate title?

All Replies

Posted by Community Admin on 03-Jan-2012 00:00

We have a lot of "pods" like the item attached. Generic content, with a "title" property. In the attached image, you'll see one of our Sitefinity 3.7 "genericContentPod" controls. The "Program Guide" text is from a PodTitle property of the genericContentPod, control, and the inner content, "There are two ways..." + buttons, is HTML entered into a Sitefinity generic content web control that exists in the genericContentPod usercontrol we created.

What would be the best approach to replicate this in Sitefinity 4.4? We'd like to retain the ability for our marketing team to drag a "pod" on to the page, and edit the content and title.

Thanks in advance!

Michael Snyder
Manager of Public Website Development, Connections Education

Posted by Community Admin on 03-Jan-2012 00:00

IMO...custom layout control :)

As I see it, two options:
1) Custom layout control is your "Pod"...so that's fully styled and contains two placeholders...one for the title, one for the content.  They'd then drag a "Content Widget" into the title placeholder and insert the text for the title that way.  Also drag a Plus side is it makes it SUPER flexible...(you could also make a custom "Pod Title" widget and have them drag that into the title)

2) Create a custom Widget and designer that has Title and content edit fields...way more work since you'd have to do the custom designer, content pickers, etc...

Posted by Community Admin on 05-Jan-2012 00:00

Hello Michael,

Steve is right suggesting these two options. The best solution would be to create a custom widget with custom .ascx template. You can expose two properties to it - for title and description. It is not absolutely necessary to create your own designer - if you do not attach a custom designer Sitefinity will display the default property editor grid (the one that you see when editing a widget and clicking on the Advanced button). This editor will allow you to enter the needed values for the widget.

All the best,
Lubomir Velkov
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

Posted by Community Admin on 06-Jan-2012 00:00
This thread is closed