Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [placeholders]

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

1
vote
0answers
7 views

Missing or presenting body-tag placeholder in SXA

I have got two sample websites, both just have created tenant and site with SXA 1.8. When I am creating a page and open it in EE, I am getting two different visual editing structures. 1. 3 ...
1
vote
1answer
50 views

Placeholder settings wildcard keys

I've seen this in some examples, but it didn't seem to work when I tried it out. Basically, take a scenario where you have a placeholder name prefix, like "column" or "row", but in the actual ...
5
votes
1answer
160 views

Can we apply placeholder settings for rendering variants?

As SXA is supporting placeholder settings for different renderings, Is there any way that we can setup placeholder settings for rendering variants too for a single rendering?
1
vote
1answer
22 views

Get renderings for a placholder

I am trying to create a report of all placeholders and the rendering options available inside them. For this, I want to get all renderings within a placeholder. Is there a way get I can get all the ...
0
votes
0answers
33 views

Programmatically check Sitecore A/B Testing configured on the Rendering Component

Is there a way to check Programmatically if there is an A/B Testing that was setup in the Rendering Component? I am not sure where to find this, as I am currently investigating an issue on our ...
2
votes
0answers
110 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 ...
0
votes
0answers
41 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 ...
0
votes
1answer
50 views

JSS deploy vueJs - then I need to manually Unprotect Layout to add my placeholders

Currently, each time I'm doing deploying jss using jss deploy package -c -d I need to manually unprotect the Item of my App Layout to include my placeholders. Any ideas how to stop this? Thanks
0
votes
1answer
372 views

Programatically render nested renderings/placeholders from an item [duplicate]

I am working on programatically rendering an item to html in code. I found this question https://sitecore.stackexchange.com/a/6256/1133 which almost serves the purpose of my request, except it isn't ...
3
votes
1answer
124 views

Dynamically change placeholder at runtime

I have a web page with two placeholders, A and B. In Sitecore I inserted a WFFM form in placeholder B. Based on a the value of a checkbox in Sitecore, I want the WFFM form to be inserted into either ...
3
votes
0answers
182 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
1answer
245 views

Add or edit controls in a placeholder through code

Scenario: A layout has controller rendering and it is in main placeholder. When the page loads and hits the action, we are trying to insert an existing WFFM form to the same placeholder as given in ...
0
votes
1answer
357 views

Placeholders defined in MVC /Views/layout.cshtml vs. placeholders defined from templates => __standard_values => Presentation details

Since we have our Templates => __Standard Values => Presentation => Detail => Layout Details pointing to Visual Studio MVC /Views/Shared/_Layout.cshtml, and this Layout already defines the ...
8
votes
3answers
286 views

Benefit of dynamic binding for components like header and footer

Is there really any benefit of having header and footer assembled through dynamic binding (placeholder) in comparison to static binding. Sitecore habitat project based on helix uses a lot of common ...
0
votes
0answers
56 views

Prevent WFFM's “Select a Placeholder” rendering the full website when inserting a form?

Currently, I have WFFM set up and working smoothly on my local system. However, when pushed to our QA environment, it acts a little differently. The left image is taken from the QA environment and ...
1
vote
0answers
623 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 ...
2
votes
1answer
150 views

Content inside Sitecore placeholders does not render to the page after Sitecore upgrade

I have upgraded a website from Sitecore 7.2 rev 140526 to 8.2 rev 161129 using Express Migration tool. After doing all config changes, recompiling existing dlls with new sitecore dlls and other post ...
3
votes
1answer
130 views

Are there other locations than \data\logs to look into for clues on “An error occured” message? [closed]

I'm on page 59 of APress Phil Wicklund's "Professional Sitecore 8 Development". I'm trying to add my Rendering to the "main" Placeholder. Experience Editor => click inside the "Main" Placeholder => ...
8
votes
4answers
508 views

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

I have some overlays and some markup that seems to hide some of my placeholder in my experience editor and I would like to know how to make the areas larger and visible. thank you for any advice.
0
votes
1answer
123 views

Components duplicating on front end

We have a strange issue where components seem to be duplicating on the front end (web DB) but everything looks correct in the experience editor. I have checked the presentation details on both shared/...
3
votes
2answers
105 views

Is placeholder async-content a sitecore convention name?

I'm doing the Sitecore Cookbook and I have a question about the async feature. Is @Html.Sitecore.Placeholder("async-content") a sitecore convention name? Because I don't understand how that ...
6
votes
2answers
207 views

Restricting just a section of the page from editing

On one of my templates I need to restrict the write/rename and deletion of a component that gets added by default on the items for a specific role to a placeholder only. I cannot restrict the user ...
6
votes
1answer
466 views

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

We are facing a weird issue in experience editor, where we are getting following error - XHTML markup is incorrect near placeholder "header". For more information about this issue refer to ...
1
vote
1answer
228 views

Can I access component/placeholder hierarchy from a `getPlaceholderRenderings` processor?

Our solution is using dynamic placeholders. We have a requirement to restrict what renderings can be inserted in the page content (under the content placeholder) and in the sidebar (placeholder right-...
8
votes
2answers
2k views

How to have nested placeholders when using dynamic placeholders

I'm using dynamic placeholders in the views, and there are nested views. When giving the placeholder path for a rendering (in Presentation > Details), the path should be - main-placeholder/sub-...
2
votes
1answer
316 views

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

I'm working on a Sitecore website where author should be able to add components based on rows and columns. (Just like in Habitat). If the markup was simple, like this: <div class="row"> &...
5
votes
2answers
106 views

Custom chrome styling causing XHTML validation issue [duplicate]

I am using Sitecore 8.2 in a Helix configuration and added some custom chrome placeholder styling that I found in the Professional Sitecore 8 Development book. The code works in that I can now see the ...
4
votes
0answers
96 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 ...
4
votes
4answers
2k views

Change rendering parameters based on placeholder

I have a rendering that can be placed in one of 3 placeholders. However, I need to make some changes to the rendering based on which placeholder it appears in. The changes aren't extensive enough to ...
11
votes
1answer
671 views

What do you use instead of placeholder settings in SXA?

I want to restrict which components can be used within a placeholder when using the Sitecore Experience Accelerator module. Normally, I'd use placeholder settings to do this, but it doesn't seem to ...
5
votes
2answers
761 views

Add Rendering parameters to placeholder

I know that this might sound strange but, instead of adding rendering parameters to the different controls/modules on the page, I want to be able to add rendering parameters to the placeholder itself. ...
10
votes
4answers
2k views

Add Here not Visible in Placeholder in Experience Editor

I have scenario where the "Add Here" button is not visible for the placeholder I want to add a component to. I have to select other content in the placeholder and use the "Go to parent component" ...
7
votes
2answers
292 views

Adjust component parameters based on placeholder

I'm trying to add Parameters to a rendering based on the placeholder it's been inserted into. I've been trying to handle this using rules (after reading through this blog post): I created a new ...
2
votes
1answer
1k views

Benefits of static vs dynamic binding of renderings [closed]

In Sitecore's documentation you encounter terms such as "static binding" and "dynamic binding" of presentation components such as renderings. What are the differences between static- and dynamic ...
8
votes
2answers
1k views

Placeholder settings on sub-renderings

This is something that's been bugging me and I was curious to others' solutions. Let's say you have a template that you've done standard values on for the presentation...you pick a layout, put ...
7
votes
1answer
2k views

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

All my other components display as options to add when I click on my main placeholder in Experience Editor. However one component is not shown in the list and I can't see why. I've added it to the ...
9
votes
1answer
581 views

Sitecore Page Editor Issues with Move and Add Components

I have a page with "body" placeholder in which I have kept 10 controller renderings on a page. When I'm trying to order the component using Page editor or Content editor, the sort order randomly ...