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

learn more… | top users | synonyms

0
votes
0answers
32 views

Internal column name used in Content query & ItemStyle

regarding to this tutorial: Source If the internal list column name is: "Vendor_x0020_Date", we use it in Content query tool and in Item style we rewrite it to: "@Vendor_x005F_x0020_Date". Simple. ...
0
votes
1answer
34 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
65 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
285 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
118 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 ...
0
votes
0answers
23 views

Uploading CQWP Problem

I am trying to upload a CQWP but I have got this mistake "Le composant WebPart fait référence à un fichier XSL non approuvé. Seuls les fichiers XSL contenus dans la bibliothèque de styles de ce site ...
0
votes
1answer
200 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
598 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
143 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
0answers
23 views

Can ItemStyle template be created using code behind?

I want to place the ItemStyle template to the ItemStyle.xsl file using code behind. Is there anyways to do so? Or should I go through the file handling?
0
votes
2answers
564 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" ...
0
votes
2answers
708 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" ...
2
votes
2answers
298 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
1k 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 ...
0
votes
1answer
97 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
315 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 ...
0
votes
3answers
2k 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
119 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
245 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
394 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
82 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
856 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
474 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
493 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. ...
0
votes
1answer
746 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 ...
1
vote
1answer
670 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 ...
0
votes
0answers
261 views

Dialog boxes that are cut off, any easy fixes for them?

On several dialog boxes such as the "add document" dialog in SharePoint we are encountering a situation where the dialog is too small to see the "Submit" buttons in the dialog. While end user ...
1
vote
3answers
754 views

font sizing and sharepoint em px pt

How are you handling font sizing with Sharepoint? Just curious on how things are working out. We seem to have a mix of px, pt, and em scattered everywhere among our CSS. I'm trying to clean things ...
0
votes
1answer
930 views

item style xsl profile picture

I am trying to create custom query in SP2010 called company announcement. I would like to include the profile picture of the author from the sharepoint user profile. Any help would be great! ...
0
votes
1answer
201 views

Error in a content query web part 2007

any one can know what the error in the following code : when I remove the variable LinkTarget1 it will run <xsl:template name="INeedTo" match="*" mode="itemstyle"> <xsl:variable ...
3
votes
1answer
4k views

XSLT, get imageurl from custom image field

I have a Contenttype with a custom Image with formatting and constraints for publishing -- StockImg. I have a rollup of all listitems with this Contenttype. In my ItemStyle.xsl I have created a custom ...
1
vote
1answer
2k views

Customize discussion board xslt

I wanted to modify the xslt file that displays discussion board threads. I tried to find the xslt in "Style Library" -> "XSL Style Sheets" but could not find the stylesheet there. Where can I find the ...
2
votes
1answer
267 views

Disable fonts in SharePoint 2010

To be able to keep our company style, we would to restrict the usage of different fonts. We would like everyone to use only the Arial font. I was wondering if anyone knows of a simple way to do this. ...
2
votes
2answers
2k views

How do I output a link's description within ItemStyle.xsl?

I have a custom list which contains a column of Hyperlink or Picture and URL formatted as Hyperlink. I then have a Content Query Web part on a page that uses this list as the source (Show items from ...
1
vote
1answer
808 views

Custom CQWP itemstyle with link to library

I was wondering if it is possible to somehow create a new itemstyle which has a link to the library where the items in the content query is located? Example: First ListItem Second ListItem Third ...
1
vote
1answer
645 views

CQWP slots are not displaying

I wrote this code in itemstyle.xsl <xsl:variable name="AssistPrinEmail"> <xsl:value-of select="substring-after(@AssistantPrincipal1Email,',')" /> </xsl:variable> ...
2
votes
1answer
898 views

Can't read Enhanced Rich Text field value from CQWP

I'm trying to read the value of a multi-line, enhanced rich text field from a content query web part using a custom ItemStyle template in SP 2010. Even though it has a value, it keeps coming back as ...
3
votes
2answers
4k views

Calling Javascript within XSL after transformation in RSS Web Part

Hey all, got a tricky one for you. I have an RSS web part which uses a custom ItemStyle.xsl stylesheet to transform the results of the RSS feed into a UL list. I have some jQuery I want to inject ...
0
votes
2answers
33 views

Determine where styles are used

If i create my own style sheet to modify the style of a class created by microsoft, how can i determine where the style might be used? i have been noticing that changes i make are affecting objects ...
2
votes
1answer
3k views

Add a custom Style to Sharepoint Foundation 2010

I want to add a small snippet of CSS code to create a text block in Sharepoint Foundation 2010, so when users are creating pages, they can highlight a block of text and use the dropdown to add the ...
1
vote
0answers
646 views

List of Custom Item Styles for Content Query Web Part [closed]

Nearly every one of us have designed custom ItemStyles in ItemStyle.xsl to produce the presentation format needed by business. I think it will be great if we can put together these styles here for the ...