rumremix


Member since 03/22/2010

31 snippets

1072 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

rumremix's Recent SnippetsTagged sharepoint



« Prev 1 2
Works in SP2013 (and I believe 2010). Provides site collection URL without trailing "/"
0 132 posted 7 years ago by rumremix
The following code fetches contents of each Title field from the list called "LandingMiddleLinks"
0 219 posted 7 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 143 posted 7 years ago by rumremix
Keep the namespace name, class name, guid that VS automatically generates. Make sure all of the "using" inclusions included.
0 148 posted 7 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 242 posted 8 years ago by rumremix
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 185 posted 8 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 165 posted 8 years ago by rumremix
<strong>Setting up a sp .net soln</strong> <p>File --&gt; New --&gt; Project</p> <p>on lefthand side -&gt; Sharepoint -&gt; 2010</p> <p>usually select an empty template</p> <p>name the project</p> <p></p> <p>to add files, create a module...<...
0 177 posted 8 years ago by rumremix
Comment out the SharePoint:SaveButton tag and replace with input tag
0 243 posted 8 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 265 posted 9 years ago by rumremix
see link
0 122 posted 9 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 160 posted 9 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 147 posted 9 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 199 posted 9 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 91 posted 9 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 75 posted 9 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 214 posted 9 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 168 posted 9 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 207 posted 9 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 122 posted 10 years ago by rumremix
<asp:ScriptManager> must be placed inside a form tag with runat=server, that is, beneath &lt;form&gt;
0 116 posted 10 years ago by rumremix
0 86 posted 10 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 141 posted 10 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 113 posted 10 years ago by rumremix
converts date/time that sharepoint kicks out to m/d/y format.
0 105 posted 10 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 86 posted 10 years ago by rumremix
« Prev 1 2