Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

We're displaying a number of metadata fields in the newsletter style of the standard view.

+------------------------+-------------------------------+----------------------------+
| Field1: Value          |Field2: Value                  |Field3: Value               |
+------------------------+-------------------------------+----------------------------+
Field4: Value


Freeform Text: blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah 


+------------------------+-------------------------------+----------------------------+
| Next record                                                                         |
+------------------------+-------------------------------+----------------------------+

I'd like to be able to force Field4 to display on the header line leaving the "body" portion of the record to just the freeform text portion. Anyone know a good client-side (e.g., no .NET development, minimal SPD) way to do this? I suspect there's a CSS I can modify somewhere, moving a </div> to AFTER Field 4, but I have no idea where to find that or where to put it once it's modified so that it gets picked up on the way to being displayed.

Tips or hints?

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

I wrote a blog post on doing exactly this with DVWPs many moons ago, it may help...

http://e-junkie-chronicles.blogspot.co.uk/2010/03/sharepoint-designer-dataview-web-parts.html

share|improve this answer
add comment

Can you open the page in Sharepoint Designer and convert the view to a Dataview Web Part?

From there, you'd have full control over the XSLT and can rearrange the web part to get the desired affect.

Edit: Create a new view through the browser with the proper style applied. Then go into the view in advanced mode in SharePoint Designer. Click on the view and then in the ribbon, go to the Design tab of the List View Tools. Click the Customize XSLT button and select the Customize Entire View option. Then you should be in business.

share|improve this answer
    
I'll give that a shot. I've been finding SPD to be quite cumbersome, with a steep learning curve. :\ I'll hunt down some tutorials and see if I can make that work. Sounds like a good solution if I can... :) –  dwwilson66 Aug 1 '12 at 16:00
    
It should just be a matter of adding an additional TD or div to the header and moving the field into it. –  PirateEric Aug 1 '12 at 16:06
    
I've got the page open in SPD. I can find NOTHING to convert it to a dataview webpart. Is this something that may be disabled in Foundation? All the tutorials mention is that I should right click on "it" to convert "it"...without mentionins what the "it" actually is: a listing in a file manager, the code itself, some menu somewhere? I've not been able to fiund "it." –  dwwilson66 Aug 1 '12 at 19:08
    
Edited with more information. –  PirateEric Aug 1 '12 at 19:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.