Tag Info

New answers tagged


You can extend the SPSecurityTrimmedControl class to create a custom control that discriminates based on group membership rather than permission level. using System; using System.Collections.Generic; using System.Linq; using System.Text; using Microsoft.SharePoint.WebControls; using System.Web.UI; using Microsoft.SharePoint; namespace My.Custom.Controls { ...


This seems like it would be natively supported in a Content Query Web Part. It would require some rework on your part to add your links and thumbnails to a list, configure the CQWP slots, and style the CQWP appropriately but at least you know it works and is possible.


This seems pretty similar to what I encountered yesterday. It's not within the CEWP but you could use a script editor that uses css to hide the element and target that to whichever audience(s) of your liking. Target audience for a stylesheet


Well, to me it seems this should be pretty easily done with a custom content editor webpart. Create a new Webpart and have it derive from the Content Editor webpart. Add a custom action to the rich text editor so that you can use to easily inject an additional wrapper xml element surrounding the pieces of html you want to target. Use this XML element to ...


It was as simple as the question was stated. I was using jQuery and editing the css that way initially and it wasn't working. When I used a regular stylesheet with a CEWP it works perfectly.

Top 50 recent answers are included