Profile
Achievement
rumremix's Recent SnippetsTagged sharepoint
- All /
Works in SP2013 (and I believe 2010). Provides site collection URL without trailing "/"
0
932
posted 11 years ago by rumremix
The following code fetches contents of each Title field from the list called "LandingMiddleLinks"
0
1400
posted 11 years ago by rumremix
check the file out in the browser
in spd, right click the file and choose "undo checkout"
repeat the last two steps until the checkmark goes away in spd
check the file out in spd. it should now get the latest version to edit
0
974
posted 11 years ago by rumremix
Keep the namespace name, class name, guid that VS automatically generates. Make sure all of the "using" inclusions included.
0
954
posted 11 years ago by rumremix
With jQuery and SPServices, we have very powerful tools for accessing and manipulating Sharepoint data and precisiely contolling the presentation, entirely from the client side. But such solutions generally need to be either hard-coded into pages or...
0
1409
posted 12 years ago by rumremix
JavaScript
get hover effect of global nav parent link to roll off at same time dropdown goes away in out of the box sharepoint global nav
The class, "activeDDParent", needs css that will cause the parent to have the same hover effect it has when the mouse hovers over it. This class allows for the out-of-the-box sharepoint rollof delay. "portalnavwrapper" is just the class of a div I ha...
0
1032
posted 12 years ago by rumremix
Both ASP and Javascript versions provided below. Use either one or the other. Code should be placed in a SharePoint 2010 master page.
0
962
posted 12 years ago by rumremix
<strong>Setting up a sp .net soln</strong>
<p>File --> New --> Project</p>
<p>on lefthand side -> Sharepoint -> 2010</p>
<p>usually select an empty template</p>
<p>name the project</p>
<p></p>
<p>to add files, create a module...<...
0
1126
posted 12 years ago by rumremix
Comment out the SharePoint:SaveButton tag and replace with input tag
0
1341
posted 12 years ago by rumremix
Use whatever is needed to select the input box. $('#searchBoxOuter td.ms-sbcell input') reflects some custom master page html I have so I used that.
0
1276
posted 13 years ago by rumremix
This is the quickest way to style the search bar. It involves creating one single image that includes both the input area and search button.
0
960
posted 13 years ago by rumremix
simply add s4-notdlg to the class of the element that you don't want to appear in dialog boxes. See example.
0
923
posted 13 years ago by rumremix
The "inherit" aspect of this did not always work for me. For example, font-family may need to be explicitly specified in the generated css (in place of "inherit"). But this just takes a couple seconds. Simply search for "family" and replace "inherit"...
1
988
posted 13 years ago by rumremix
Sometimes SPD gets confused as to which files are checked out or not and to whom. This fix generally works.
0
754
posted 13 years ago by rumremix
You need to register this at the top of the page (see code below). Remember you can do this on a layout page as well, instead of the master page.
Then place the PublishingWebControls:EditModePane tag inline (see below). The ID can be anything...
0
577
posted 13 years ago by rumremix
Just syntax examples here. First block reads, second writes. Top function just a debugging helper.
Using jquery 1.5, $(xData.responseXML).find("nodeName=z:row]").each(function(i)... may need to be written as
$(xData.responseXML).find("nodeName='z...
0
1200
posted 13 years ago by rumremix
Further below in the code are the default style declarations that can be overridden in custom css. To create custom classes that will be available in the rich text editors, follow the example below:
.ms-rteElement-appleRed {
color:red;
-ms...
0
1125
posted 13 years ago by rumremix
First option uses a parameter in <a href="http://snipplr.com/view/46534/reading-and-writing-list-data-in-sharepoint-2010-using-spservices/">spservices method</a> to limit the results to four. Second option limits the results returned to six in the c...
0
1329
posted 13 years ago by rumremix
Using the CssRegistration control is the proper way to register CSS in a SharePoint master page/layout page, but it has drawbacks. Namely, no matter what order you put them on the page the server loads them in a seemingly arbitrary order, making it...
2
797
posted 14 years ago by rumremix
<asp:ScriptManager> must be placed inside a form tag with runat=server, that is, beneath
<form>
0
836
posted 14 years ago by rumremix
This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery. If needing to perform this process more than once on a page, make sure namedListItem variable is unique for each case (...
0
1050
posted 14 years ago by rumremix
This code works for me without requiring any includes, plugins, or service packs. It should also integrate seamlessly with jquery.
0
907
posted 14 years ago by rumremix
<input>
When used instead of my SharePoint: SaveButton above, the form saved it's data correctly, and the current page that the form was submitted from was reloaded for the user.
You could also put any URL in the __redirect={} that yo...
0
667
posted 14 years ago by rumremix