[opencms-dev] Help with replacing header images and alt properties

M Butcher mbutcher at grcomputing.net
Fri Apr 16 19:07:02 CEST 2004


Dylan,

IIRC, the "_off.gif" part of the image name is added in code -- you'll 
only find the base name, "bt_reload", in the template. In this case, I 
believe the template that you are after is: /system/workplace/templates/head

Matt

Dylan Milks wrote:
> Thanks! The files are called workplace.properties and workplace_en.properties.
> 
> One more thing: Where are the header icons specified? For example, the reload button is called "bt_reload_off.gif" but when I search for it, I can't find it in HTML, Templates, properties or Java files. How is the name of the image being generated? 
> 
> - Dylan
> 
> -----Original Message-----
> From: M Butcher [mailto:mbutcher at grcomputing.net]
> Sent: Friday, April 16, 2004 11:24 AM
> To: opencms-dev at opencms.org
> Subject: Re: [opencms-dev] Help with replacing header images and alt
> properties
> 
> 
> 
> To change the button label, you need to edit the property in the 
> opencms_en.properties file in WEB-INF/classes/com/opencms/workplace/ 
> (working from memory, here).
> 
> Matt
> 
> Dylan Milks wrote:
> 
>>Hi. I'm trying to do 2 things.
>> 
>>1) Replace the "alt" property value for some of the images on in the 
>>header (reload, preferences, synchronize, etc.)
>> 
>>2) Replace the image with something else - but still keep the functionality.
>> 
>>In the "head" template file, I tried changing the "alt" property of the 
>>"Reload" image as follows:
>><BUTTON href="javascript:window.top.location.reload(true)" 
>>name="bt_reload" action="" alt="refresh"/>
>> 
>>It now says "refresh" instead of "reload". However when I sync and 
>>publish, the button says "??? button.refresh ???", not "Refresh". How 
>>can I get the "alt" message to change?
>> 
>>Also, no where in the HTML, Templates or Java do I see the references to 
>>the "bt_reload_off.gif" image. Where is this image text located? (I'd 
>>like to change some of those icons)
>> 
>>Thanks in advance,
>>- Dylan
>>
>>----------------------------------------------------------------------------------
>>This communication, including its attachments, if any, is intended solely
>>for the recipient; it is confidential and may contain personal or private
>>information, or proprietary and/or privileged material. As such, any
>>unauthorized use, retention, copying, disclosure or other distribution of
>>this communication, or the taking of any action in reliance on its contents
>>is strictly prohibited. If you have received this communication in error,
>>please notify us immediately and delete this communication (and any
>>attachments.)
>>
> 
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list