Questions tagged [placeholders]

For questions related to Sitecore placeholders, including dynamic placeholders and non-dynamic placeholders

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
6
votes
0answers
194 views

SXA Dynamic Placeholders not working when creating multiple placeholders inside of a single rendering

I am currently working in Sitecore 9.1.1 with SXA 1.9. I am trying to build out a Rendering Variant that points to a datasource item with sub-items. These sub-items are child items to the datasource ...
5
votes
0answers
354 views

Adding component with inner placeholder breaks placeholder settings

I have component manifest.addComponent({ name: 'MyComponentWithPlaceholder', icon: SitecoreIcon.DocumentTag, fields: [ { name: 'heading', type: CommonFieldTypes.SingleLineText }, ], ...
4
votes
0answers
121 views

Restricting access to Placeholder CustomData

I'd like to override Placeholder method @Html.Sitecore().Placeholder("keyName"). I want to achieve special behaviour to update CustomData (Editable checkbox in Placeholder item) value. Eventhough ...
2
votes
0answers
272 views

Programmatically add a placeholder including its rendering hierarchy

I am creating a custom placeholder, that always renders the contents of a placeholder on a specific Sitecore item, no matter what page the custom placeholder is added to. I have been using this blot ...
2
votes
2answers
209 views

Did we lose row/column compatible renderings in Sitecore 9 dynamic placeholders?

I have two row rendering Row_1 <div> @Html.Sitecore().DynamicPlaceholder("section") </div> Row_2 <div> <div> @Html.Sitecore().DynamicPlaceholder("section") ...
2
votes
0answers
324 views

Max number of components in a Dynamic Placeholder with Sitecore 9

Is there a way to set a minimum and max amount of components that can be inserted into a Dynamic Placeholder in Sitecore 9? There is a count and maxCount for the amount of placeholders that can be set ...
2
votes
0answers
442 views

CreateCyclePreventer throwing NullReferenceException with final rendering details

I'm running into a weird issue with Sitecore 8.2 Update-6 where after I modify an item (with MVC controls) using the Sitecore Experience Editor I start getting NullReferenceExceptions when I view the ...
1
vote
0answers
86 views

Sitecore error “Server cannot modify cookies after HTTP headers have been sent.”

I am trying to Insert a new form. When I am trying to select a placeholder for the form, following error is showing : when I had installed the WFFM, I went to "Restrict placeholder" and added my ...
1
vote
0answers
879 views

Dynamic Placeholder and Placeholder Settings

I created a project from the scratch and I had to add the Dynamic placeholders. But the only thing, I was unable to do, is to set for the Dynamic placeholders, some kind of placeholder Settings. Is ...
0
votes
0answers
165 views

MVC Layout model is empty after Glass Mapper Upgrade

We recently upgraded from Sitecore 8.2.0 to Sitecore 9.2.0. Along with other packages, we also upgraded to the latest compatible version of Glass Mapper 5 for Sitecore 9.2.0. We use Simple Injector ...
0
votes
0answers
68 views

SXA renderings not displayed in placeholder

I am using sitecore 9 with SXA 1.7, when creating package using siterocks and deploying it to another environment, the renderings are displayed in preview mode but when open page as anonymous user ...