Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [item-styles]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
108 views

How to modify XSLT in customised ItemStyle.xsl to display more than one image in a CQWP

Thank you for taking the time to read my question. I'm customizing a SP2013 CQWP. I've exported and amended it to connect to CustomItemStyle.xsl, and reimported it. I can access all the fields I ...
NCCadm's user avatar
  • 140
3 votes
3 answers
2k 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 ...
Tomaz's user avatar
  • 165
0 votes
1 answer
706 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 ...
naijacoder's user avatar
  • 4,282
1 vote
0 answers
97 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 ...
naijacoder's user avatar
  • 4,282
1 vote
0 answers
36 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 ...
bberndt's user avatar
  • 143
2 votes
1 answer
538 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 ...
Jennifer Bartolome's user avatar
1 vote
1 answer
794 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 ...
Nderon Hyseni's user avatar
2 votes
1 answer
116 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=...
shoab's user avatar
  • 673
1 vote
0 answers
53 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 ...
bberndt's user avatar
  • 143
1 vote
1 answer
794 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 ...
Frank Martin's user avatar
  • 3,668
0 votes
1 answer
108 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 ...
Pawan Kotak's user avatar
0 votes
1 answer
324 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 ...
Pawan Kotak's user avatar
1 vote
1 answer
129 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. ...
Ram's user avatar
  • 2,444
1 vote
0 answers
161 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 ...
Ram's user avatar
  • 2,444
1 vote
1 answer
40 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), ...
Jennifer Nordyke Hart's user avatar
0 votes
1 answer
198 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 ...
Sabien Ambrose's user avatar
1 vote
1 answer
798 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 ...
Silverstaryu's user avatar
1 vote
0 answers
414 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 ...
Stewart's user avatar
  • 23
0 votes
1 answer
87 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 ...
Razzmos's user avatar
  • 203
2 votes
1 answer
7k 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
uatonly's user avatar
  • 363
0 votes
1 answer
496 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 ...
garfield185's user avatar
1 vote
1 answer
170 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 ...
Mike Boutin's user avatar
1 vote
1 answer
521 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 ...
BKChedlia's user avatar
  • 303
0 votes
1 answer
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 (...
Aks's user avatar
  • 487
1 vote
0 answers
209 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 ...
Gaelle's user avatar
  • 592
0 votes
1 answer
346 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,...
Gaelle's user avatar
  • 592
0 votes
1 answer
114 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 ...
Dahish's user avatar
  • 1
0 votes
1 answer
85 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 ...
SharePoint Freak's user avatar
0 votes
1 answer
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 ...
Jim's user avatar
  • 23
1 vote
1 answer
868 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 ...
Hoorie's user avatar
  • 195
0 votes
1 answer
1k 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 ...
Question-Everything's user avatar
0 votes
1 answer
2k 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 ...
Ola's user avatar
  • 4,385
2 votes
2 answers
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 ...
yojoannn's user avatar
  • 183
0 votes
0 answers
447 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 ...
Kris Van den Bergh's user avatar
0 votes
2 answers
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/...
Harsh Bhavsar's user avatar
0 votes
2 answers
4k 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[@...
users1100's user avatar
  • 3,230
2 votes
2 answers
951 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"> ...
users1100's user avatar
  • 3,230
1 vote
1 answer
7k 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="...
users1100's user avatar
  • 3,230
0 votes
1 answer
149 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 ...
Ola's user avatar
  • 4,385
1 vote
1 answer
564 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 ...
users1100's user avatar
  • 3,230
1 vote
3 answers
9k 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?
Ola's user avatar
  • 4,385
0 votes
1 answer
675 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 ...
Ola's user avatar
  • 4,385
0 votes
2 answers
712 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 (...
thanby's user avatar
  • 2,680
0 votes
1 answer
522 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 ...
JᴀʏMᴇᴇ's user avatar
0 votes
1 answer
117 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. ...
Aathi's user avatar
  • 33
3 votes
2 answers
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 ...
mtwelve's user avatar
  • 91
0 votes
1 answer
670 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?
Andrey's user avatar
  • 283
0 votes
2 answers
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. ....
Active_t's user avatar
0 votes
1 answer
1k views

use jQuery Modal instead of SharePoint modal

So I understand this is a strange question, but is there a way to use content displayed in a SharePoint modal, in a jQuery modal instead. I like the styling jQuery offers, but the SharePoint modal ...
Justin's user avatar
  • 1,361
1 vote
1 answer
902 views

CQWP Error when modifying webpart and ItemStyle.xsl : from example SP2010

I am trying to create a webpart that would take blog posts from subsites under site and roll them up. I found a blog that describes exactly what I am trying to achieve here. After following these ...
Justin's user avatar
  • 1,361