missing some info - you say "both" but I dont see detail below?

Ishai Sagi
Solution Architect and Director
Microsoft SharePoint MVP, MCTS
Extelligent Design
SharePoint Consulting, Training and Products
Mobile: 04-88-789786
Web: www.extelligentdesign.com
Email: sa...@extelligentdesign.com
Blog: www.sharepoint-tips.com



On Tue, Jan 18, 2011 at 1:19 PM, Paul Noone <
paul.no...@ceosyd.catholic.edu.au> wrote:

>  Thanks Ishai.
>
>
>
> The following seems to correctly check for anonymous user and DispForm
> page.
>
>
>
> If both are true then all the tables following the list view web part
> (#formTbl) are removed from the DOM.
>
>
>
> Any advice on how I might improve this?
>
>
>
> $(document).ready(function() {
>
>   var str = window.location.href.substr(window.location.href.lastIndexOf(
> "/") + 1);
>   var strArray = str.split("?");
>   var pageName = strArray[0];
>
>   if ((pageName = "Dispform.aspx") && (_spUserId = "")) {
>     $("#formTbl ~ table").remove();
>   }
>
> });
>
>
>
> Regards,
>
> Paul
>
>
>
> --
>
> Online Developer/Administrator,
> ICT Projects Team
> *CEO Sydney*
>
>
>
> *From:* ozmoss-boun...@ozmoss.com [mailto:ozmoss-boun...@ozmoss.com] *On
> Behalf Of *Ishai Sagi
> *Sent:* Monday, 17 January 2011 4:49 PM
> *To:* ozMOSS
> *Subject:* Re: Customise ListFormWebPart display
>
>
>
> I'd add a lot of jquery to the master page with checks to find out if the
> user is authenticated and with checks to the current page type and file name
> and then remove those lines using script. This will remove it - but
> inquisitive users will still be able to see it (view source). That leaves
> the forms supported (modifying master page is 100% ok by MS).
>
>
>
>
>
>
> Ishai Sagi
> Solution Architect and Director
> Microsoft SharePoint MVP, MCTS
> Extelligent Design
> SharePoint Consulting, Training and Products
> Mobile: 04-88-789786
> Web: www.extelligentdesign.com
> Email: sa...@extelligentdesign.com
> Blog: www.sharepoint-tips.com
>
>
>
>  On Mon, Jan 17, 2011 at 3:57 PM, Paul Noone <
> paul.no...@ceosyd.catholic.edu.au> wrote:
>
> Hi list - and happy new year! J
>
>
>
> I’m currently making a number of clumsy modifications to hide certain
> elements on DispForm.aspx pages from anonymous users.
>
>
>
> Is there a supported method to customise the default list forms so that my
> changes are applied during site creation?
>
>
>
>
>
> My main goal is to do away with the “created/modified by” info for this
> type of page.
>
>
>
> Any ideas or pointers are much appreciated.
>
>
>
> Kind regards,
>
> Paul Noone
>
>
>
> ---------------------------------------------------
> Online Developer/Administrator
>
> Information Communication and Technology
> Catholic Education Office, Sydney
> p: (02) 9568 8461
>
> f: (02) 9568 8483
> e: paul.no...@ceosyd.catholic.edu.au
> w: http://www.ceosyd.catholic.edu.au/
>
>
>
>
> _______________________________________________
> ozmoss mailing list
> ozmoss@ozmoss.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
>
>
>
> _______________________________________________
> ozmoss mailing list
> ozmoss@ozmoss.com
> http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss
>
>

<<image002.jpg>>

_______________________________________________
ozmoss mailing list
ozmoss@ozmoss.com
http://prdlxvm0001.codify.net/mailman/listinfo/ozmoss

Reply via email to