ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BJ Freeman <bjf...@free-man.net>
Subject Re: Setting up layoutSettings.headerImageLinkUrl in the theme
Date Tue, 05 Oct 2010 01:01:54 GMT
I won't be able to dig into this till next week.


Mansour Al Akeel sent the following on 10/4/2010 5:34 PM:

> It's still not working with me.
> I am not sure if I missed something. Here's what I did:
> Edited framework/common/widget/CommonScreens.xml
> and replaced every occurance of "/images/ofbiz_logo.gif" with
> "/images/myLogo.png".
> deleted the old ofbiz_logo.gif and placed the mine.
> I commented out :
>
> <!--
>      <VisualThemeResource visualThemeId="AFAMIA_THEME" resourceTypeEnumId="VT_HDR_IMAGE_URL"
resourceValue="/images/ofbiz_logo.gif" sequenceId="01"/>
> -->
>
> I ran ./ant clean run-install  (Do I have to do this ?)
> ./statrofbiz.sh
>
> Again nothing shows. And viewing the source gives:
> <li class="logo-area"><a href="/manufacturing/control/main"><img alt="OFBiz&#58;
Manufacturing Manager" src="/images/ofbiz_logo.gif"/></a></li>
>
> Did I miss anything ?
>
>
> On Tue Oct 05,2010 12:57 am, Mansour Al Akeel wrote:
>> BJ:
>> I am using the latest from trunk. I am trying it now with 10.04 release
>> to see.
>>
>>
>>
>> On Mon Oct 04,2010 02:50 pm, BJ Freeman wrote:
>>> I figured that is where you were headed and why is gave you that set
>>> you need to comment it out.
>>> I am not sure if they modified others
>>> I have not installed any new code lately to see.
>>> It does work with the versions I am using.
>>>
>>>
>>>
>>> =========================
>>> BJ Freeman
>>> Strategic Power Office with Supplier Automation<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
>>> Specialtymarket.com<http://www.specialtymarket.com/>
>>> Systems Integrator-- Glad to Assist
>>>
>>> Chat  Y! messenger: bjfr33man
>>> Mansour Al Akeel sent the following on 10/4/2010 1:18 PM:
>>>
>>>
>>>> BJ:
>>>> changing the image in the file framework/common/widget/CommonScreens.xml
>>>> doesn't change the logo !
>>>> I changed the name form "/image/ofbiz_logo.gif" to "/images/mylogo.png"
>>>> but still this doesn't show. And in the page source it's still the old
>>>> value.
>>>>
>>>> I did a clean then run-install I even dropped and recreated the DB.
>>>> Any idea ?
>>>>
>>>> On Sun Oct 03,2010 08:09 pm, BJ Freeman wrote:
>>>>> from
>>>>> framework/common/widgets/commonscreens.xml
>>>>>                 <set field="layoutSettings.commonHeaderImageLinkUrl"
>>>>> from-field="layoutSettings.commonHeaderImageLinkUrl"
>>>>> default-value="main" global="true"/>
>>>>>
>>>>>
>>>>> Mansour Al Akeel sent the following on 10/3/2010 6:41 PM:
>>>>>> Hello all:
>>>>>>
>>>>>> In the themes there is varilabe that couldn't figure out how to set.
>>>>>>
>>>>>> <#if layoutSettings.headerImageLinkUrl?exists>
>>>>>>    <#assign logoLinkURL = "${layoutSettings.headerImageLinkUrl}">
>>>>>> <#else>
>>>>>>    <#assign logoLinkURL = "${layoutSettings.commonHeaderImageLinkUrl}">
>>>>>> </#if>
>>>>>>
>>>>>> I understand commonHeaderImageLinkUrl is set in the common component
>>>>>> at framework/common/widget/CommonScreens.xml
>>>>>>
>>>>>> how can "headerImageLinkUrl" be used in the theme ?
>>>>>>
>>>>>>
>>>>>>
>>>>
>

Mime
View raw message