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 [item-styles]

Style information for the rendering and display of items in a content query web part (CQWP).

2
votes
3answers
35 views

Slider Itemstyle for content editor web part

Please help me to get a good reference for Itemstyle in SharePoint I have a simple slider with image and text, it is designed with HTML, css and js. I would like to show this image and text from ...
0
votes
1answer
33 views

remove ;# characters and number from xsl value (person /People group)- itemsyle.xsl

I'm retrieving like this <xsl:call-template name="RemoveHtml"> <xsl:with-param name="String" select="@Person.title"/> </xsl:call-template> Result looks like ...
0
votes
0answers
24 views

CQWP discussion board link to flat view

I've got a CQWP that brings back discussions from the discussion board. My issue is that the link takes you back to the display form and not to the discussion itself (flat view). I've been fiddling ...
1
vote
0answers
46 views

Displaying a multi value column (person or group field) in CQWP

I can return person or group column(I have selected this field to allow multiple values - People Only) like this "Name1;#24;#Name2;#34". How can I return something like this Name 1, Name 2 etc.. I ...
0
votes
0answers
14 views

Sharepoint 2010 How to retrieve publishing page URL as a field value in CQWP?

Working on a site in SP 2010 and have a custom itemstyle to display a list of links to pages in the pages library via a content query webpart. Each of the items is contained within an a href tag that ...
1
vote
0answers
29 views

Item with published hyperlink field redirects to different page when field is blank SP 2010

I am currently working on a site in sp 2010. I have a cqwp that displays news items from a list using a custom itemstyle. Each news item has a published hyperlink field used to link off to the source ...
1
vote
1answer
317 views

Display WebPart title using an ItemStyle.xls custom template and Content Query Web Part (CQWP)

I'm working on the SharePoint Online environment on a publishing site where I would like to add the following: Content Query Web Part (CQWP) connected to a custom list Customized Item Style template ...
0
votes
1answer
139 views

where i can find the ItemStyle.xsl?

I want to edit ItemStyle to make some changes but the problem is that i cannot see it, I don't know whether it is hidden or unable to edit. I am pretty sure that ItemsStyle could be found at Style ...
2
votes
1answer
61 views

Content Query WebPart not showing hyperlink

I am quite new to Content Query WebPart. I have a list which as a 'Hyperklink or Picture' column. I have added below markup in itemstyle.xsl to show hyperlink <xsl:template name="CQWPStyle" match=...
1
vote
0answers
44 views

Display information from two separate lists in single CQWP?

I am working on a project within a Sharepoint 2010 site. I have a list of items that are news articles, custom content type and columns. I also have a list for departments, these contain a variety of ...
1
vote
1answer
495 views

How to display Page Content field in itemstyle.xsl

I am using CQWP to display "Page" library from a subsite. This page library contain several fields such as title, roll up image, page content etc. I am trying to display page content (i.e. body of ...
0
votes
1answer
68 views

Display Item based on Item order in Content Query Webpart

I am displaying Link list item using Content query webpart and I have created Template in ItemStyle.xsl stylesheet for Customised look but I also want to display item based on the order I have given ...
0
votes
1answer
246 views

View all item link in Content Query webpart

Using Content Query webpart to display item from link list. I have created template in ItemStyle.xsl stylesheet to change look and feel but i need last item should be View All item link.Need to show ...
1
vote
1answer
75 views

Set the default value to field/property with the Content Query Web Part 2013

I have to set the default value to the web part field/Property. This is same as custom web part, we can set the default value to the property. Same I have to implement in the Content Query Web Part. ...
1
vote
0answers
122 views

Custom property for the Content Query Web Part SharePoint 2013

I have to create Custom Property with the Content Query Web Part. I need this Property for the limit the number of rows to display and rotation time with CQWP. How to add those properties in the ...
1
vote
1answer
31 views

Split up @ArticleStartDate Month and Day to resemble a calendar page

Using SharePoint 2013, I have a custom ItemStyle.xsl file where I have the following code: <div class="articledate"> <xsl:value-of select="ddwrt:FormatDateTime(string(@ArticleStartDate), ...
0
votes
1answer
157 views

After xsl change: Unable to display this web part

I am experiencing a new issue that I am not quite sure how to fix. We have a SP2013 online subscription. The overall problem is that I wish to display rich text using a Content Query Web Part. The ...
0
votes
0answers
29 views

Changed item style doesn't work as planned

I am looking for a suggestion on what to do about this itemstyle.xsl that I wrote. To give a backstory I am trying to make a tabbed webpart that is dynamic (meaning it feeds from info from a list ...
1
vote
1answer
593 views

Styling a list in sharepoint 2013 with JSLink returns [object HTMLDivElement] instead of content

I have a news list in sharepoint that I'm trying to style with jslinks, but for some reason it returns the [object HTMLDivElement]. the footer appears correctly and is styled, but the column styling ...
1
vote
0answers
297 views

Custom XSL – formatting the date column in ItemStyle.xsl

I have a Content Query Web Part in which I am displaying the data from a Blog sub-site. The Item Style being used is "Title and description". Title displays the title of the document. For the ...
0
votes
1answer
72 views

CSWP Blog profile picture

I would like to create a Content Search Web Part that displays the user profile picture of each blog entry/creator next to the blog title from a Team Blog site (and roll that up to display the latest ...
1
vote
1answer
5k views

Sharepoint 2013: List View - boxed one column

Sharepoint 2013: I have created a form; with a custom list and have chosen the boxed style and I need to display the contents in a single column. Can anyone advise how I can achieve this please
0
votes
1answer
376 views

Content Query Web Part - Custom Item Style - Choice fields not working

I am creating a custom Item Style for a Content Query Web Part that I am working on. So far I can get all the information from the different fields, but the Choice type fields are not displaying any ...
1
vote
1answer
142 views

Date field won't show with ItemStyle.xsl

I'm pretty new user of SharePoint and i work with SharePoint 2010. I try to show the "StartDate" column of a page in my XSL template but it won't show. I put the column in the webpart configuration ...
1
vote
1answer
475 views

Display some fields from sharepoint 2013 list in a page and détails of this item in another page with Angular js, REST

I have a news picture Library (fields : Title, Description, Text, date, Author ), and I want to display in the first page, 5 news : the image, date and the title of the news and when I click on the ...
0
votes
1answer
1k views

How To Display Custom Columns Data On Publishing Page Using Content Query WebPart? [duplicate]

How to display custom columns' values in Content Query WebPart? Currently I have a Custom List with 3 columns Title, MobileNo and Address. Content Query WebPart Only Displays First Column's value (...
1
vote
0answers
199 views

CQWP : slider rendering two images per item

I'm coming up with a huuuuge subject : rendering an image Slider in a CQWP (SP2013, but Standard Edition, so no CSWP) So, i'm trying to create my "HomePage Slider" item template. I'm using FlexSlider ...
0
votes
1answer
295 views

SP2013 CQWP and slider give me blank slides

I have a big issue and a question about CQWP and slider. I have an image library which will serve as a news library. I've set a CQWP on my homepage which will display Image, title and comments columns,...
0
votes
1answer
111 views

News Section in sharepoint 2010

I need to create a News section in my website home page (image, title, link for details page, summery). My questions are : What can I use for News section (lists or library) to create it? How can I ...
0
votes
1answer
73 views

Custom web parts in the master page SharePoint 2010

I have a requirement to put data retrieval components in the master page, because I would need this data to appear on each page of the site. Like Upcoming Events, News Feed, so on. What's the best ...
0
votes
1answer
1k views

Item Style XSL - Showing Read More Link When Content Is Cut Off

I have managed to create an ItemStyle template for my CQWP. It pulls from various announcements. I have set the character limit to 400 and placed a link at the end where a user can click to view the ...
1
vote
1answer
824 views

Can't Design Content Query Web Part JavaScript News Ticker

I created a news list in SharePoint 2010 that shows news on the home page just like a news ticker with JavaScript. I used a content query web part to show news. This article is so useful, but doesn't ...
0
votes
1answer
844 views

Display text under image - SharePoint 2013 Foundation

I need help in how to display the text under an image in SharePoint 2013 Foundation. I attached an image to show what the OOTB Picture Library does and what I would like for it to be: Currently Goal ...
0
votes
1answer
1k views

Scale image height automatic by fixed width in ItemStyle.xsl?

I am using SharePoint 2010. I have a content query web part and have created my own ItemStyle.xsl. In this item style I have some title, description and image. This image has a fixed width and ...
2
votes
2answers
3k views

How to customize item style template?

SP newbie here. I am trying to understand then customize a built-in item style template (copied from the ItemStyle.xsl file) below. 1 Where can I find the functions OuterTemplate.*? 2 Should I want ...
0
votes
0answers
397 views

SPGrid ItemStyle custom changes not displayed for normal users

We have made some changes to the ItemStyle.xsl file for the style SPGrid in order to display a few extra columns using the Content Query Web Part. The ItemStyle resides on the highest level of the ...
0
votes
2answers
2k views

How to Give Custom ItemStyle.xsl Path in CQWP of subsite?

I have CQWP that is in the SubSIte.I want to give it Custom ItemStyle.xsl path.I had done it by following Link. <property name="ItemXslLink" type="string">/sites/test35/Style%20Library/XSL/...
0
votes
2answers
3k views

How to store the value into the xslt variable returned from Javascript function?

I have created a template in ItemStyle.xsl for CQWP. I want to store the xsl variable value that is returned from javascript: My template is: <xsl:template name="DepartmentsTemplate" match="Row[@...
2
votes
2answers
876 views

How to display taxonomy value using xslt?

I have created an item template in ItemStyle.xsl to assign it to the CQWP. My template is: <xsl:template name="DepartmentsTemplate" match="Row[@Style='DepartmentsTemplate']" mode="itemstyle"> ...
1
vote
1answer
5k views

How to extract day, month and year from xslt in ItemStyle.xsl?

I have created custom template for CQWP in ItemStyle. My code for template is: <xsl:template name="CustomLofbergs" match="Row[@Style='CustomLofbergs']" mode="itemstyle"> <div class="...
0
votes
1answer
144 views

What is the best method to use your own itemstyle.xsl on a CQWP?

Im using sp2010. I have created programmatically a module where I copy my custom itemstyle.xsl. I named it customItemStyle.xsl. How can I programmatically set this customItemStyle.xsl file as default ...
1
vote
1answer
523 views

How to set ItemStyle of content query web part programmatically?

I have added a content query web part from visual studio and I am displaying the data from a document library of root site. I want to set the ItemStyle property to Title and Description and assigne ...
1
vote
3answers
8k views

I have created my own ItemStyleCustom.xsl file, how to use it for my CQWP?

SharePoint 2010. I have created my own item style file with the name ItemStyleCustom.xsl. How can I use it for my Content Query WebPart?
0
votes
1answer
613 views

Cannot find XSL STYLESHEET folder in the Style Library folder

I would like to create my own custom itemstyle. I would like to follow the following tutorial. One of the steps is to go to the style library and then go to the xsl stylesheets folder. I have a style ...
0
votes
2answers
659 views

2013 - Left nav flyouts don't show for some users

Quick and hopefully easy question: On a 2013 site I have flyouts configured for the left-hand nav menu. For some new users I just added, the code I changed in the masterpage to produce the flyouts (...
0
votes
1answer
520 views

Possible to add XSLT to CQWP through UI?

Using C#, I am inserting web parts into web part zones programmatically and styling them. More specifically, I'm inserting CQWP's and assigning XSLT files to them. I'm now wanting to allow users to ...
0
votes
1answer
113 views

Description for second item is not displaying completely as like the first item in CQWP when using itemstyles

Description for second item is not displaying completely as like the first item in CQWP when using itemstyles. The below custom itemstyle i have used. ...
3
votes
2answers
2k views

Remove LI wrapper from Content Query Web Part / ContentQueryMain.xsl

I have done a fair amount of experminting with this but cannot get it to work and I'm now looking for pointers or working examples. I want to customise the output of the Content Query Web Part to ...
0
votes
1answer
651 views

Adding templates to ItemStyle.xsl with a feature

I need to add an extra template to ItemStyle.xsl using a feature deployment - any idea how to add things to that file programmatically?
0
votes
2answers
1k views

Rendering Webpartzone is to large

I have a Div box with an Webpartzone in it. But when i'm rendering my page, the webpartzone is to large. I thought a webpart zone has the width of 100% of his parent container. But not in my case. ....