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

My customer has changed their SharePoint portal design and they changed the "I Like" and "Comments" buttons. I want these buttons to call the old code, I've tried to see what javascript function it calls and call it but it doesn't work.

Any ideas on how to regain the default behavior?

share|improve this question
    
How did you "see what javascript function it calls"? –  David Lozzi Jul 28 '11 at 13:16
add comment

1 Answer

I would always recommend changing the appearance (branding) of the native/OOB controls over build new controls and trying to inherit their behavior, particularly in this case. There is a substantial amount of dynamic javascript that comes along for the ride with the "I Like It" and "Tags & Notes" buttons, so you're not going to easily replicate that with your own set of controls.

The only other approach is to brand what's already there. Without knowing exactly how your customer changed the buttons it's hard to know whether or not this approach would work and because of the way the buttons are rendered anything you come up with here is going to be a hack.

Can you share what the new buttons look like and maybe we can give you some guidance on how to alter what's already there?

share|improve this answer
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.