July 16th, 2004 by lishmanm
I am tring to create a new site definition but I want to include a custom navigation bar in there and I am not sure how to do that. I'll have a look around and see if I can come up with any answers.
26 July
OK, so it is easy enough to just add another navbar to the onet.xml which creates OKish with the site but if you change the navbar then the changes only take effect if you make a real change to that page and so for it to take effect on every page you have to make a change to every page and obviously this is not practical.

Posted in Uncategorized | No Comments »
June 25th, 2004 by lishmanm
I have been using conditional formatting in my web part pages but have been a bit annoyed at some of it – for example, I want to display a field only when it has some data in it so I set the conditional formatting to hide the field if the field Equals blank. However, it translates this as the field being null which as we know is not the same, as it is only null if the field has been added after the item has been created – if you save an item with an empty field then it still shows. So, I have had to change my conditional formating to show the field if the field is greater than 1, which I assume to be the lowest thing it can be.
Posted in Uncategorized | No Comments »
June 18th, 2004 by lishmanm
There seems to be loads of new stuff on the internet about web parts etc – it's just a question of finding the time to test all of these things out. One thing I must try and look at is integrating Reporting Services with web parts: http://www.gotdotnet.com/community/workspaces/workspace.aspx?ID=176E78A1-4D90-4860-9BD8-DA93DFFA8FD1 as i have heard great things about RS.
Posted in Uncategorized | No Comments »
June 18th, 2004 by lishmanm
Have just downloaded the What's New web part from Lead-It and this seems to work well, code is here: http://weblogs.asp.net/jan/archive/2004/03/04/84011.aspx Will implement this in our production servers later…
Posted in Uncategorized | No Comments »
May 28th, 2004 by lishmanm
Someone in SharepointU gave some really cool code to change/add items to the edit dropdown. I have been using this but have come across a couple of issues:
Firstly, I created a Print drop-down which went to my newly created printform.aspx, however, I subsequently found that smigrate would only move the standard edit, disp and new forms and would break any others.
Secondly, where I had more than one list in a web part page and I wanted each one to go to its own form, It would only refer to one of the content editor pages so I needed to know the code to specify that and I finally found it – it is:
var strAction = "document.location.href='" + ctx.editFormUrl + "?xStatus=Published&ID=" + currentItemID + "'";
(this is to go to the editform….)

Posted in Uncategorized | No Comments »