You need to sign in to do that
Don't have an account?
n_pavan_kumar1
To remove the Button "Discover Spring Release" on Home Page
Hi,
On the Home page, to the top right corner there is a button link "Discover Spring 12" found. One of my client's requirement is to remove that button on the home page. We tried to remove that button but no solution could be found. Can we remove it? Please let us know the solution if any .
Thanks,
Pavan
Hi,
Follow the below steps to remove the Spring '12 for Developers button from home tab.
<script type="text/javascript">
var x=document.getElementsByTagName("input");
for(var i=0;i<x.length;i++)
{
if(x[i].type=="button")
{
if(x[i].name=="whats_new")
{
x[i].style.display='none';
}
}
}
</script>
3. Save the component.
4. Add the component on home page layout.
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
All Answers
Yes ,
This can be possible bt some tricky javascript coding in Left hand site component
Thanks,
Bala
Hi Bala,
Thanks for the quick response.
As you said to use the java script, but i could not access that part of the div tag for the "button - Discover Spring 12" through java script using the custom link in the home page.
Please let me know the workaround or how to go about t using the java script.
Thanks,
Pavan
Interested in javascript code ?
Yes Bala... Am interested in javascript.
Thanks,
Pavan
create a htmlarea Wide (Right) Column html component and click on showhtml right hand side check box and place this script and then add this component to the layoyut.......and try
<script>document.getElementById('ptBody').style.display="none"; </script>
Hi,
Follow the below steps to remove the Spring '12 for Developers button from home tab.
<script type="text/javascript">
var x=document.getElementsByTagName("input");
for(var i=0;i<x.length;i++)
{
if(x[i].type=="button")
{
if(x[i].name=="whats_new")
{
x[i].style.display='none';
}
}
}
</script>
3. Save the component.
4. Add the component on home page layout.
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
Javascript
Create Html component ... narrow component
Add this in required home page layouts
******** Advantage of this javascript : It will hide that Left hand side component present from screen as well
Thanks,
bForce
Thanks it solved the question.
One more quest, since i need to create this home custom component in home page, the name of the custom component would appear in the home page layout. Can we hide this name from the home page layout?
If you use script given by me,
It will hide that component from left hand side
Thanks,
bForce
Thanks, that worked!
With the Spring 16 release "End of Sidebar workarounds via Messages & Alerts and Custom Links finally in Winter or Spring '16?" ,
we are facing the issue on home page where we were hiding certain buttons, Discover Spring 16 button, chatter feed sections and other customizations.
In our project, we need to hide certain buttons, chatter feeds on home page and modify certain URLs on the standard page layouts. Please let me know for any workaround for this Spring 16 impacts.
Thanks,
Pavan