15 votes
Accepted

What do you use instead of placeholder settings in SXA?

Sitecore Experience Accelerator uses a different approach for that. You can define your access rights for each rendering/group of renderings by changing the access rights to Available Renderings ...
Alan Płócieniak's user avatar
14 votes
Accepted

Component not showing as an option to add to a placeholder?

Ensure that the component (either the sublayout, view rendering item or the controller rendering item) has it's "editable" checkbox checked.
Phil Burton's user avatar
  • 1,314
9 votes

How can I prevent nested placeholders from being wrapped by a bootstrap row tag?

My investigation has shown that it can be easily done by configuration. Individual placeholders can be explicitly excluded from wrapping: <?xml version="1.0" encoding="utf-8" ?> <...
Friederike Heinze's user avatar
8 votes
Accepted

Benefits of static vs dynamic binding of renderings

What is static- and dynamic bindings in general? Static binding means adding a rendering to a page in a raw way, e.g. in an mvc view: @Html().RenderAction("Controller", "Action"); ...
Andrey Bobrov's user avatar
8 votes
Accepted

Why does empty @Html.Sitecore().Placeholder("main") generate <div class="row"></div>?

For Bootstrap 3, I think these were hardcoded on the body view, but for Bootstrap 4, on this item - /sitecore/system/Settings/Feature/Experience Accelerator/Bootstrap 4/Bootstrap 4 Grid Definition you ...
Elena Mosoff's user avatar
7 votes

How do I make my placeholder area more visible and larger?

One approach which we took on a previous project was to include some additional markup in Experience Editor mode and then apply some CSS to style those elements in a way that highlights them and makes ...
jammykam's user avatar
  • 13.8k
6 votes

Add Here not Visible in Placeholder in Experience Editor

Sitecore really should ship with some CSS to make sure that placeholders don't shrink to 0px width. I've had this numerous times, and you can't click on something that's 0px wide. Try adding this to ...
Jeff Darchuk's user avatar
6 votes
Accepted

Placeholder settings on sub-renderings

I think the most common extension is to use the rules engine. You create a processor for the GetPlaceholderRenderings pipeline that uses the rules engine to add/remove renderings. Here are some ...
Ben Golden's user avatar
  • 3,303
6 votes
Accepted

Add Rendering parameters to placeholder

You can't put rendering parameters on a placeholder, no. You can put rendering parameters on the rendering that contains the placeholder, though. And, if needed, you could create a "wrapper ...
Ben Golden's user avatar
  • 3,303
6 votes
Accepted

Dynamically change placeholder at runtime

You can do this using conditional rendering rules. You would need to add the Form to the page twice, but it will only get rendered once. Take this example. I have 2 promo renderings and I want them ...
Richard Seal's user avatar
  • 20.4k
6 votes
Accepted

Placeholders of same name all using same data source

If you're going to use a placeholder multiple times on a given page you need to use a Dynamic Placeholder instead. That will append a suffix to the placeholder value when the rendering is added to ...
Lyle Jordan's user avatar
5 votes

Benefit of dynamic binding for components like header and footer

This is more of an opinion based question. But I will list the positives and negatives below. A lot of these depend on your preference. I have personally gone with both approaches, so I know that ...
Dylan Young's user avatar
  • 4,314
5 votes

How to have nested placeholders when using dynamic placeholders

It's not really an answer to your direct question, but it's a solution. I am using Fortis dynamic placeholder for MVC right now. Works out of the box. Zero problems with nesting. Site: http://fortis....
Chris Auer's user avatar
  • 13.1k
5 votes

How to name dynamic placeholders if they are based on bootstrap column widths

Your placeholder keys should not depend on your markup at all. They should be based on something more abstract like how the placeholder is intended to be used. You should also consider how you want ...
Ben Golden's user avatar
  • 3,303
5 votes
Accepted

Change rendering parameters based on placeholder

You can make use of the Parameters field on the View/Controller Rendering templates to pass in some additional values and then use these in your View/Controller to then run whatever logic you need. ...
jammykam's user avatar
  • 13.8k
5 votes
Accepted

Add or edit controls in a placeholder through code

If memory serves, the GetPlaceholder() method dates from the WebForms era of Sitecore. I don't think it works correctly with MVC layouts, as pages don't get rendered in the same way any more. I tried ...
JermDavis's user avatar
  • 847
4 votes

Change rendering parameters based on placeholder

You can reach your placeholder like this: RenderingContext.Current.Rendering.Placeholder. It's a string. if (RenderingContext.Current.Rendering.Placeholder == "main") do stuff;
Mark Cassidy's user avatar
  • 25.1k
4 votes
Accepted

Sitecore Page Editor Issues with Move and Add Components

Summary To summarise the comments on this question, which provide a reasonable answer. 7.5 does not have the fix applied. 7.2 update 6 does. They recommend upgrading to 8 for improved functionality ...
Anicho's user avatar
  • 1,419
4 votes

Adjust component parameters based on placeholder

You're quite right about why it's not working - MVC renderings don't execute the global conditional rendering rules. This is not something I've had to do, but here's a suggestion. Someone might be ...
Kasaku's user avatar
  • 4,164
4 votes

Benefit of dynamic binding for components like header and footer

The real benefit is to allow your editors to change the header to meet their needs without needing a specific template. Example is a landing page for a campaign that requires a smaller header/menu. ...
Chris Auer's user avatar
  • 13.1k
4 votes

Can we apply placeholder settings for rendering variants?

welcome to SSE. The short answer is, yes you can. Here is the reference material: https://doc.sitecore.net/sitecore_experience_accelerator/building_the_layout/renderings/...
Richard Seal's user avatar
  • 20.4k
4 votes

SXA headless with (partial) design: placeholder not found

We literally had the same problem with SC10.3, SXA and JSS 21.0. The issue was due two things: In .\src\lib\layout-service-factory.ts change the configurationName property from default to sxa-jss. ...
VadimG's user avatar
  • 286
3 votes
Accepted

XHTML markup is incorrect near placeholder "header" Error, only for "header" key

This problem was related to some jquery function, in the header html, a section has id=”header” and some jquery functions are based on this id in a custom jquery file “jquery.layout.js”.Our ...
Mahendra Shekhawat's user avatar
3 votes

Adjust component parameters based on placeholder

Just to add onto @Kasaku's response, if you are looking to create a processor for the <renderPlaceholder> pipeline that will run rules then you will either want to create a new processor to run ...
Zachary Kniebel's user avatar
3 votes
Accepted

Placeholder settings wildcard keys

With the new dynamic placeholders of Sitecore 9, you can add a seed. In this way you can reuse the name of your placeholder and reuse the placeholder settings. However, the placeholders have another ...
Bart Verdonck's user avatar
3 votes
Accepted

Placeholders generated by partial design are behaving differently

Once you use a placeholder in the Partial design, be becomes locked into that partial design, you can no longer add components to that placeholder on the page directly. The work around for this would ...
Richard Seal's user avatar
  • 20.4k
3 votes
Accepted

Sharing SXA Placeholder Settings over sites

As you noted, SXA has a scaffolding feature that helps to speed up new tenant/site creation. For example, the Page Content feature has the following: /sitecore/system/Settings/Feature/Experience ...
Michael West's user avatar
  • 18.1k
3 votes
Accepted

Is there a way to use @Editable (Glass-mapper) and an anonymous model in an html input placeholder?

It would be difficult to update placeholder text in the input field because whenever you will update placeholder text, the cursor will show in the input field. There could be one way where you can add ...
Swati Gupta's user avatar
  • 2,890
2 votes

Add Here not Visible in Placeholder in Experience Editor

I once faced a similar issue where the 'Add Here' was not visible for a component (I can't remember whether it was the top-most one or the out-most one). I had to add an empty div in the containing ...
TamerM's user avatar
  • 1,672
2 votes

Add Rendering parameters to placeholder

I don't think that this is immediately possible without heavy re-architecture of Sitecore's rendering pipelines. That being said, having time, a decompiler, and hacker-ninja skills, anything is ...
Pete Navarra's user avatar
  • 14.6k

Only top scored, non community-wiki answers of a minimum length are eligible