sullisnyc44
asked on
sorting displays in DVWP
MOSS2007/WSS3
I saw this awesome post:
http://sympmarc.com/2008/12/16/sorting-displays-in-data-view-web-parts/
but I was wondering where specifically within the DVWP do you add this?
whenever i try to edit anything in the DVWP i get SPD xsl errors...
would also like to add an image next to the Add new Item link but that's a bonus question if you are so inclined.
Attached is the text of my DVWP
dvwp.txt
I saw this awesome post:
http://sympmarc.com/2008/12/16/sorting-displays-in-data-view-web-parts/
but I was wondering where specifically within the DVWP do you add this?
whenever i try to edit anything in the DVWP i get SPD xsl errors...
would also like to add an image next to the Add new Item link but that's a bonus question if you are so inclined.
Attached is the text of my DVWP
dvwp.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
I saw that in your it your other question, but I have no suggestion.
ASKER
needs to be hard coded - no other way around it. crazy.
where do I add that xls header template of mark's? at the top of the xsl of the DVWP?
where do I add that xls header template of mark's? at the top of the xsl of the DVWP?
Hello,
the position of a template in the xsl does not really matter, as far as I'm aware. Just make sure that it is not nested inside another template, i.e. make sure to put it right after the closing </template> tag of another template. For readability's sake, I'd put the template after the code from which it is being called.
cheers, teylyn
the position of a template in the xsl does not really matter, as far as I'm aware. Just make sure that it is not nested inside another template, i.e. make sure to put it right after the closing </template> tag of another template. For readability's sake, I'd put the template after the code from which it is being called.
cheers, teylyn
ASKER
I'm trying also trying to create hyperlinks to the calendar list item in this DVWP without much luck.
I have this in the hyperlink of my title field of a calendar event
{@FileRef}/DispForm.aspx?I
but it creates a link that looks like this
http://mydomain/ru/Lists/Calendar/34_.000//DispForm.aspx?ID=34
what am I doing wrong?
needs to look like
http://mydomain/ru/Lists/Calendar/DispForm.aspx?ID=34