Custom XSLT in Sharepoint Forms breaks Sharepoint Calendar
Posted on 2011-09-28
This is a very strange one. I have been building my companies ahrepoint site from the ground up. It is SharePoint Foundation 2010 running on MSSQL 2008 standard. Because the company has a bunch of unique needs I have been doing a great deal of development work. One of the big issue is how our forms look on the various list's we have. One big issue has been Date Time as displayed by SP and fields that are boolen i.e. 0/1 or TRUE/FALSE.
I created a cusotm XSLT template to change the date from Sharepoint standard YYYY-MM-DDTHH:MM:SSZ into something more like September 28, 2011 3:00 PM. Now this works on all of the sites we have in our collection (we have 4 sites in total) accept for one. This one site whenever I add this to the display forms (or any custom XSLT for that matter) does all kinds of crazy strange stuff. The biggest issue is that when you click on one of the list items it will load a completely different form than the items display form. Sometimes it loads a New Form for a content type on a totally seperate list or maybe it will automatically load the Edit form instead of the display form. The point is this is not what I want happening./
Does anyone have any idea what this issue is? I just dont get how XSLT I put on a display form can affect the list view that strongly to cause it to load the incorrect form.