Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

Questions tagged [presentation]

Questions related to Sitecore presentation components: layouts, sublayouts, renderings, presentation details, etc.

Filter by
Sorted by
Tagged with
19
votes
2answers
5k views

How do I implement Accelerated Mobile Pages (AMP) with Sitecore?

This is just a general question. Has anyone implemented AMP with Sitecore before? Is it possible, how difficult and could you point me in the direction of documentation?
7
votes
1answer
4k views

Sitecore media ashx not resizing the image (version 7.2)

We have 3 (near identical) Sitecore sites on a development server and 2 out of the 3 fail to resize the images using the inbuilt Sitecore query string parameters. Example URL: /~/media/...
7
votes
2answers
522 views

“Replace Rendering” in Experience Editor disabled

We have renderings which have compatible renderings configured. The button in the Experience Editor (Sitecore 8.1 Update-3) shows up on our local development environments and renderings can be ...
6
votes
1answer
693 views

Is there a way to supress rendering width and height attribs using Fortis Image.Render?

Using Fortis Image.Render, is there a parameter to suppress rendering the Width and Height attributes? Example of the image: @Model.ImageField.Render(new { @class = "my-class-name" })
11
votes
3answers
3k views

Which Sitecore fields can be rendered using a FieldRenderer

From my knowledge, there is a set of fields that can be rendered out using a FieldRenderer like text, numbers, dates, etc. Additonally, there are also fields that cannot be rendered out, such as ...
3
votes
2answers
142 views

Sitecore 8 Webforms - Calling RenderControl() on Sublayout returns null

I'm currently having some issues, while trying to render a sublayout programatically on the server-side. Basically, I want to render a sublayout found on the item myItem, that has a single rendering (...
6
votes
3answers
1k views

Safely replacing all references to an Rendering with another

I have a controller rendering which is referenced by the standard values on most of my page templates and I need to substitute it everywhere it is used to use a different controller rendering instead. ...
1
vote
1answer
505 views

Database Query for Sitecore database final renderings fields

I want to query the Final renderings fields for an item in Sitecore directly against the database to check if they have ever had values. I have created the following query but want to be sure it's ...
10
votes
2answers
2k views

Relative rendering DataSource Locations

How do I define DataSource Location for rendering parameters, relative to the context item? When defining a DataSource Location for rendering parameters (Droplink or TreeList etc), using a relative ...
8
votes
2answers
147 views

Options for Planning an Effective Presentation Details Strategy

I am very familiar with Presentation Details and inheritance, as well as the Sitecore 8 documentation on Versioned Layouts, but I feel like Presentation Details are all too often one of the most ...
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
720 views

Item not found when saving page in Experience Editor

I have a strange situation where I get a 'Item not found' on postback in Experience Editor when I edit an page. The culprit is a controller rendering which has a line of code in to get the current ...
19
votes
3answers
2k views

Possible to copy the presentation details of one item to another?

From the content editor, is it possible to copy the presentation details, renderings, layout, etc.. from Item A and paste onto Item B? I'd like to avoid creating a duplicate of A and then resetting ...
8
votes
2answers
1k views

Is it possible to use conditional renderings with Sitecore MVC

I have problems using conditional renderings with MVC (on Sitecore 8.0 rev. 150121) I've created a condition and assigned it to the controller rendering but this condition never gets called. From ...
4
votes
1answer
85 views

How to automate adding renderings for a branched item added to a page through Experience Editor?

We have a Sitecore branch with a number of items being created, e.g. Gallery + 4 Gallery items. We have created a rendering for the Gallery with a placeholder, and a rendering for the Gallery items (...
9
votes
1answer
744 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 ...
5
votes
3answers
1k views

Request is redirected to no layout page

I noticed that in my logs there are a ton of entries like this: 5920 09:09:26 WARN Request is redirected to no layout page. Item: sitecore://web/{11111111-1111-1111-1111-111111111111}?lang=en&...
6
votes
1answer
1k views

Best way to add rendering in base template and inherit

We are 80% from the completion of the project. And noticed that we need to create a couple of renderings that must exist on all pages. I thought the best place to do this would be presentation ...
15
votes
2answers
415 views

How do I clear the HTML cache for a specific user?

We have an action that updates some user profile information that is displayed in components that are cached with a vary by user setting. Is there a way to clear the cache for only that one user?
9
votes
3answers
1k views

Is there any alternative to @Html.RenderAction in Sitecore?

I want to load partial view using @Html.RenderAction("AccountNav", "Navigation", new { Area = "areassomething" }) but it throws an error. Is there any alternative? Is the semantic correct? I ...