A Forum reader recently asked:
"I want to stop my users from removing or replacing their photos once they have been placed in eGuide - in other words, I want to disable the "Modify Photo" link. Is this possible?"
And here's the response from Andrey Karyagin ...
If you want to COMPLETELY disable "Modify Photo" link, you should do the following:
1. Locate detail.xsl file. On the Win32 platform its path looks like:
2. Locate MODIFY PHOTO LINK string. In my case it was string number 189.
3. Comment out the following fragment of XSL code:
<!-- MODIFY PHOTO LINK
and (detail/object/attribute[name='PHOTO']/edit='true' or
<img border="0" width="16" height="16"
4. Restart both Apache and Tomcat to see the difference.
Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).
It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.