You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by "G. Michael Jean" <mi...@ncf.ca> on 2009/02/01 22:55:06 UTC
ofbiz_logo.jpg
Hi,
I made a new logo - same size and type as the default ofbiz_logo.jpg.
When I copy this new logo to
/path/to/ofbiz/framework/images/webapp/images and then rename the file
ofbiz_logo.jpg then it is displayed successfully.
I decided to try to do this a little more intelligently and so I changed
the instances of text "ofbiz_logo.jpg" in
/path/to/ofbiz/framework/common/widget/CommonScreens.xml to the filename
I created but it still displays the old logo. Does anyone know why?
Michael
Re: ofbiz_logo.jpg
Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
then based on the entity,
should be
layoutSettings.VT_HDR_TMPLT_LOC.Resource[0]=
since Enumerated ID can not store a value.
when you find an entity you look in the field that stores the
EnumeratedID then look in field that has the data for the EnumeratedID
David E Jones sent the following on 2/2/2009 9:36 AM:
>
> On Feb 2, 2009, at 9:33 AM, Adrian Crum wrote:
>
>> You made a good point about the naming convention used in the
>> layoutSettings Map. We could modify the theme services to convert the
>> enum IDs to the Java naming convention. Perhaps you could get a
>> discussion going on the dev mailing list for that.
>
> Actually I think this part is fine too. Those are ID values and not
> variable names. In most of OFBiz we use the this pattern rather than
> Java naming conventions.
>
> -David
>
>
>> BJ Freeman wrote:
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJhzd/rP3NbaWWqE4RAjuNAJ0bdq4z0JXoqZlAn+CGUEH3XSXshwCgjYCB
xevaEsLueEbNaVT2wwYNEvs=
=7bm0
-----END PGP SIGNATURE-----
Re: ofbiz_logo.jpg
Posted by David E Jones <da...@hotwaxmedia.com>.
On Feb 2, 2009, at 9:33 AM, Adrian Crum wrote:
> You made a good point about the naming convention used in the
> layoutSettings Map. We could modify the theme services to convert
> the enum IDs to the Java naming convention. Perhaps you could get a
> discussion going on the dev mailing list for that.
Actually I think this part is fine too. Those are ID values and not
variable names. In most of OFBiz we use the this pattern rather than
Java naming conventions.
-David
> BJ Freeman wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>> 1) the themes has a folder outside of framework or specialpurpose.
>> Believe it should be in framework/common/webcommon/themes
>> 2) the java convention is not used for say VT_SHORTCUT_ICON instead
>> of
>> being vtShortcutIcon
>> 3) VT_SHORTCUT_ICON is used as a <Enumeration enumId so should not
>> be
>> used as a variable.
>> 4)if an application uses headerTemplateLocation then it is overridden
>> <set field="headerTemplateLocation"
>> from-field="layoutSettings.VT_HDR_TMPLT_LOC[0]"
>> default-value="component://common/webcommon/includes/header.ftl"/>
>> so the purpose of headerTemplateLocation is defeated.
>> the same for
>> footerTemplateLocation
>> appbarTemplateLocation
>> messagesTemplateLocation
>> 5)having moved the location of the headerTemplateLocation to the
>> entity
>> VisualThemeResource without providing ways of custom application the
>> standard way to pass this information breaks the model.
>> Jacques Le Roux sent the following on 2/2/2009 2:18 AM:
>>> Could you elaborate you POV, please ?
>>>
>>> Jacques
>>>
>>> From: "BJ Freeman" <bj...@free-man.net>
>>> I am johnny come lately, so it looks like themes came in the back
>>> door
>>> and has circumvented the ofbiz coding practices and framework
>>> instead of
>>> enhancing it.
>>>
>>>
>>> Jacques Le Roux sent the following on 2/2/2009 12:36 AM:
>>>>>> http://docs.ofbiz.org/display/OFBIZ/Visual+Themes+-+How+to
>>>>>> A bit deprecated but still usable. But I wonder if people are
>>>>>> aware of
>>>>>> the wiki search feature :p
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>> From: "BJ Freeman" <bj...@free-man.net>
>>>>>> is there a wiki that shows how to use the visual themes?
>>>>>>
>>>>>> Enrique Ruibal A. sent the following on 2/1/2009 3:12 PM:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Try First changing tha field value for VT_HDR_IMAGE_URL it
>>>>>>>>> is set by
>>>>>>>>> default to the field value of RESOURCE_VALUE as
>>>>>>>>> /images/ofbiz_logo.jpg
>>>>>>>>> on the visual_theme_resource_table.
>>>>>>>>>
>>>>>>>>> Put your own image name and path there and see what happens
>>>>>>>>> afterwards.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>>
>>>>>>>>> -Enrique Ruibal
>>>>>>>>>
>>>>>>>>> G. Michael Jean wrote:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I made a new logo - same size and type as the default
>>>>>>>>>> ofbiz_logo.jpg.
>>>>>>>>>> When I copy this new logo to
>>>>>>>>>> /path/to/ofbiz/framework/images/webapp/images and then
>>>>>>>>>> rename the
>>>>>>>>>> file
>>>>>>>>>> ofbiz_logo.jpg then it is displayed successfully.
>>>>>>>>>>
>>>>>>>>>> I decided to try to do this a little more intelligently and
>>>>>>>>>> so I
>>>>>>>>>> changed
>>>>>>>>>> the instances of text "ofbiz_logo.jpg" in
>>>>>>>>>> /path/to/ofbiz/framework/common/widget/CommonScreens.xml to
>>>>>>>>>> the
>>>>>>>>>> filename
>>>>>>>>>> I created but it still displays the old logo. Does anyone
>>>>>>>>>> know why?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Michael
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>> iD8DBQFJhttxrP3NbaWWqE4RAuAVAJ0ZmdIvbuzuCjEYxDcGQ2dBmCD4DwCcCsiF
>> Y00R8giFf3+WoWYn+u7dd8E=
>> =+KUx
>> -----END PGP SIGNATURE-----
Re: ofbiz_logo.jpg
Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ok this is like a contribution folder
and is a permission criteria.
thanks for the clarification.
David E Jones sent the following on 2/2/2009 10:06 AM:
>
> On Feb 2, 2009, at 11:00 AM, BJ Freeman wrote:
>
>>
>> Adrian Crum sent the following on 2/2/2009 8:33 AM:
>>>
>>> The general idea is to have pluggable visual themes. The first choice
>>> was to have the themes kept in the hot-deploy folder - so that
>>> downloaded themes could be added automatically. Later, the themes folder
>>> was created specifically for this purpose, but the behavior is the same
>>> as hot-deploy - just drop your downloaded theme into the folder and it
>>> will be added automatically.
>> Agree but why not in the framework Don't see any reason. so if the
>> Framework is used now you have to remember to pull along a separate
>> folder
>
> I guess if you don't see it you may not be looking hard enough...
>
> The point is to have something external to the framework so that
> different people can work on it, and so LOTS of people can work on and
> refine themes without having to be framework developers. Over time this
> should not only give options but significantly improve the appearance
> and usability of the UI of OFBiz.
>
> It is all about lowering the bar for contributions. It is separate from
> the framework and doesn't require framework development to get involved
> with.
>
> -David
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJhzf8rP3NbaWWqE4RAts+AKCWz/PdemY4RiOCTQHUf6+1BpUv0ACgwJI2
NUUyyZd5dw5rwq0Yz6n03YY=
=Ix4J
-----END PGP SIGNATURE-----
Re: ofbiz_logo.jpg
Posted by David E Jones <da...@hotwaxmedia.com>.
On Feb 2, 2009, at 11:00 AM, BJ Freeman wrote:
>
> Adrian Crum sent the following on 2/2/2009 8:33 AM:
>>
>> The general idea is to have pluggable visual themes. The first choice
>> was to have the themes kept in the hot-deploy folder - so that
>> downloaded themes could be added automatically. Later, the themes
>> folder
>> was created specifically for this purpose, but the behavior is the
>> same
>> as hot-deploy - just drop your downloaded theme into the folder and
>> it
>> will be added automatically.
> Agree but why not in the framework Don't see any reason. so if the
> Framework is used now you have to remember to pull along a separate
> folder
I guess if you don't see it you may not be looking hard enough...
The point is to have something external to the framework so that
different people can work on it, and so LOTS of people can work on and
refine themes without having to be framework developers. Over time
this should not only give options but significantly improve the
appearance and usability of the UI of OFBiz.
It is all about lowering the bar for contributions. It is separate
from the framework and doesn't require framework development to get
involved with.
-David
Re: ofbiz_logo.jpg
Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
In line
Adrian Crum sent the following on 2/2/2009 8:33 AM:
> BJ,
>
> The visual themes framework has been discussed in the dev mailing list
> and in a Jira issue (https://issues.apache.org/jira/browse/OFBIZ-1885) -
> so it is not accurate to say that it came in the back door.
Ok maybe.
> The general idea is to have pluggable visual themes. The first choice
> was to have the themes kept in the hot-deploy folder - so that
> downloaded themes could be added automatically. Later, the themes folder
> was created specifically for this purpose, but the behavior is the same
> as hot-deploy - just drop your downloaded theme into the folder and it
> will be added automatically.
Agree but why not in the framework Don't see any reason. so if the
Framework is used now you have to remember to pull along a separate folder
> You made a good point about the naming convention used in the
> layoutSettings Map. We could modify the theme services to convert the
> enum IDs to the Java naming convention. Perhaps you could get a
> discussion going on the dev mailing list for that.
to me enum IDs Dont have values, maybe I missed something along the
lines. The ID then has a field Resources that has a value.
> The purpose of headerTemplateLocation hasn't been defeated, it is just
> implemented differently. If you want to specify a different header
> template, then you simply change the value in the VisualThemeResource
> entity.
What if I don't want global Themes, for my custom app.
I have my own ftl files I want to use.
should check if the value is used before using adding Like all the rest.
<condition>
<if-empty field-name="applicationFooterTemplate"/>
</condition>
> -Adrian
>
>
> BJ Freeman wrote:
>
> 1) the themes has a folder outside of framework or specialpurpose.
> Believe it should be in framework/common/webcommon/themes
> 2) the java convention is not used for say VT_SHORTCUT_ICON instead of
> being vtShortcutIcon
> 3) VT_SHORTCUT_ICON is used as a <Enumeration enumId so should not be
> used as a variable.
> 4)if an application uses headerTemplateLocation then it is overridden
> <set field="headerTemplateLocation"
> from-field="layoutSettings.VT_HDR_TMPLT_LOC[0]"
> default-value="component://common/webcommon/includes/header.ftl"/>
> so the purpose of headerTemplateLocation is defeated.
> the same for
> footerTemplateLocation
> appbarTemplateLocation
> messagesTemplateLocation
> 5)having moved the location of the headerTemplateLocation to the entity
> VisualThemeResource without providing ways of custom application the
> standard way to pass this information breaks the model.
>
>
> Jacques Le Roux sent the following on 2/2/2009 2:18 AM:
>>>> Could you elaborate you POV, please ?
>>>>
>>>> Jacques
>>>>
>>>> From: "BJ Freeman" <bj...@free-man.net>
>>>> I am johnny come lately, so it looks like themes came in the back door
>>>> and has circumvented the ofbiz coding practices and framework instead of
>>>> enhancing it.
>>>>
>>>>
>>>> Jacques Le Roux sent the following on 2/2/2009 12:36 AM:
>>>>>>> http://docs.ofbiz.org/display/OFBIZ/Visual+Themes+-+How+to
>>>>>>> A bit deprecated but still usable. But I wonder if people are
>>>>>>> aware of
>>>>>>> the wiki search feature :p
>>>>>>>
>>>>>>> Jacques
>>>>>>>
>>>>>>> From: "BJ Freeman" <bj...@free-man.net>
>>>>>>> is there a wiki that shows how to use the visual themes?
>>>>>>>
>>>>>>> Enrique Ruibal A. sent the following on 2/1/2009 3:12 PM:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> Try First changing tha field value for VT_HDR_IMAGE_URL it is
>>>>>>>>>> set by
>>>>>>>>>> default to the field value of RESOURCE_VALUE as
>>>>>>>>>> /images/ofbiz_logo.jpg
>>>>>>>>>> on the visual_theme_resource_table.
>>>>>>>>>>
>>>>>>>>>> Put your own image name and path there and see what happens
>>>>>>>>>> afterwards.
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>>
>>>>>>>>>> -Enrique Ruibal
>>>>>>>>>>
>>>>>>>>>> G. Michael Jean wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I made a new logo - same size and type as the default
>>>>>>>>>>> ofbiz_logo.jpg.
>>>>>>>>>>> When I copy this new logo to
>>>>>>>>>>> /path/to/ofbiz/framework/images/webapp/images and then rename the
>>>>>>>>>>> file
>>>>>>>>>>> ofbiz_logo.jpg then it is displayed successfully.
>>>>>>>>>>>
>>>>>>>>>>> I decided to try to do this a little more intelligently and so I
>>>>>>>>>>> changed
>>>>>>>>>>> the instances of text "ofbiz_logo.jpg" in
>>>>>>>>>>> /path/to/ofbiz/framework/common/widget/CommonScreens.xml to the
>>>>>>>>>>> filename
>>>>>>>>>>> I created but it still displays the old logo. Does anyone know
>>>>>>>>>>> why?
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Michael
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>
>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJhzS1rP3NbaWWqE4RAgXZAKDAQlTZhlfGOCS7U/2AZbXRtBb+pQCgrmMA
eZJS+E3CFsJJ+bzlXmVMBNg=
=3dD7
-----END PGP SIGNATURE-----
Re: ofbiz_logo.jpg
Posted by Adrian Crum <ad...@hlmksw.com>.
BJ,
The visual themes framework has been discussed in the dev mailing list
and in a Jira issue (https://issues.apache.org/jira/browse/OFBIZ-1885) -
so it is not accurate to say that it came in the back door.
The general idea is to have pluggable visual themes. The first choice
was to have the themes kept in the hot-deploy folder - so that
downloaded themes could be added automatically. Later, the themes folder
was created specifically for this purpose, but the behavior is the same
as hot-deploy - just drop your downloaded theme into the folder and it
will be added automatically.
You made a good point about the naming convention used in the
layoutSettings Map. We could modify the theme services to convert the
enum IDs to the Java naming convention. Perhaps you could get a
discussion going on the dev mailing list for that.
The purpose of headerTemplateLocation hasn't been defeated, it is just
implemented differently. If you want to specify a different header
template, then you simply change the value in the VisualThemeResource
entity.
-Adrian
BJ Freeman wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> 1) the themes has a folder outside of framework or specialpurpose.
> Believe it should be in framework/common/webcommon/themes
> 2) the java convention is not used for say VT_SHORTCUT_ICON instead of
> being vtShortcutIcon
> 3) VT_SHORTCUT_ICON is used as a <Enumeration enumId so should not be
> used as a variable.
> 4)if an application uses headerTemplateLocation then it is overridden
> <set field="headerTemplateLocation"
> from-field="layoutSettings.VT_HDR_TMPLT_LOC[0]"
> default-value="component://common/webcommon/includes/header.ftl"/>
> so the purpose of headerTemplateLocation is defeated.
> the same for
> footerTemplateLocation
> appbarTemplateLocation
> messagesTemplateLocation
> 5)having moved the location of the headerTemplateLocation to the entity
> VisualThemeResource without providing ways of custom application the
> standard way to pass this information breaks the model.
>
>
> Jacques Le Roux sent the following on 2/2/2009 2:18 AM:
>> Could you elaborate you POV, please ?
>>
>> Jacques
>>
>> From: "BJ Freeman" <bj...@free-man.net>
>> I am johnny come lately, so it looks like themes came in the back door
>> and has circumvented the ofbiz coding practices and framework instead of
>> enhancing it.
>>
>>
>> Jacques Le Roux sent the following on 2/2/2009 12:36 AM:
>>>>> http://docs.ofbiz.org/display/OFBIZ/Visual+Themes+-+How+to
>>>>> A bit deprecated but still usable. But I wonder if people are aware of
>>>>> the wiki search feature :p
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "BJ Freeman" <bj...@free-man.net>
>>>>> is there a wiki that shows how to use the visual themes?
>>>>>
>>>>> Enrique Ruibal A. sent the following on 2/1/2009 3:12 PM:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Try First changing tha field value for VT_HDR_IMAGE_URL it is set by
>>>>>>>> default to the field value of RESOURCE_VALUE as
>>>>>>>> /images/ofbiz_logo.jpg
>>>>>>>> on the visual_theme_resource_table.
>>>>>>>>
>>>>>>>> Put your own image name and path there and see what happens
>>>>>>>> afterwards.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> -Enrique Ruibal
>>>>>>>>
>>>>>>>> G. Michael Jean wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I made a new logo - same size and type as the default
>>>>>>>>> ofbiz_logo.jpg.
>>>>>>>>> When I copy this new logo to
>>>>>>>>> /path/to/ofbiz/framework/images/webapp/images and then rename the
>>>>>>>>> file
>>>>>>>>> ofbiz_logo.jpg then it is displayed successfully.
>>>>>>>>>
>>>>>>>>> I decided to try to do this a little more intelligently and so I
>>>>>>>>> changed
>>>>>>>>> the instances of text "ofbiz_logo.jpg" in
>>>>>>>>> /path/to/ofbiz/framework/common/widget/CommonScreens.xml to the
>>>>>>>>> filename
>>>>>>>>> I created but it still displays the old logo. Does anyone know why?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Michael
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJhttxrP3NbaWWqE4RAuAVAJ0ZmdIvbuzuCjEYxDcGQ2dBmCD4DwCcCsiF
> Y00R8giFf3+WoWYn+u7dd8E=
> =+KUx
> -----END PGP SIGNATURE-----
>
Re: ofbiz_logo.jpg
Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Yes, what through me was that visual themes overrode the frameworks
Commonscreen model.
Jacques Le Roux sent the following on 2/2/2009 9:45 AM:
> From: "BJ Freeman" <bj...@free-man.net>
>> 1) the themes has a folder outside of framework or specialpurpose.
>> Believe it should be in framework/common/webcommon/themes
>
> Visual Themes are not a part of the framework, that's why they are now
> in \themes and are used as Adrian explained in another answer
>
> Jacques
>
>> 2) the java convention is not used for say VT_SHORTCUT_ICON instead of
>> being vtShortcutIcon
>> 3) VT_SHORTCUT_ICON is used as a <Enumeration enumId so should not be
>> used as a variable.
>> 4)if an application uses headerTemplateLocation then it is overridden
>> <set field="headerTemplateLocation"
>> from-field="layoutSettings.VT_HDR_TMPLT_LOC[0]"
>> default-value="component://common/webcommon/includes/header.ftl"/>
>> so the purpose of headerTemplateLocation is defeated.
>> the same for
>> footerTemplateLocation
>> appbarTemplateLocation
>> messagesTemplateLocation
>> 5)having moved the location of the headerTemplateLocation to the entity
>> VisualThemeResource without providing ways of custom application the
>> standard way to pass this information breaks the model.
>>
>>
>> Jacques Le Roux sent the following on 2/2/2009 2:18 AM:
>>> Could you elaborate you POV, please ?
>>>
>>> Jacques
>>>
>>> From: "BJ Freeman" <bj...@free-man.net>
>>> I am johnny come lately, so it looks like themes came in the back door
>>> and has circumvented the ofbiz coding practices and framework instead of
>>> enhancing it.
>>>
>>>
>>> Jacques Le Roux sent the following on 2/2/2009 12:36 AM:
>>>>>> http://docs.ofbiz.org/display/OFBIZ/Visual+Themes+-+How+to
>>>>>> A bit deprecated but still usable. But I wonder if people are
>>>>>> aware of
>>>>>> the wiki search feature :p
>>>>>>
>>>>>> Jacques
>>>>>>
>>>>>> From: "BJ Freeman" <bj...@free-man.net>
>>>>>> is there a wiki that shows how to use the visual themes?
>>>>>>
>>>>>> Enrique Ruibal A. sent the following on 2/1/2009 3:12 PM:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Try First changing tha field value for VT_HDR_IMAGE_URL it is
>>>>>>>>> set by
>>>>>>>>> default to the field value of RESOURCE_VALUE as
>>>>>>>>> /images/ofbiz_logo.jpg
>>>>>>>>> on the visual_theme_resource_table.
>>>>>>>>>
>>>>>>>>> Put your own image name and path there and see what happens
>>>>>>>>> afterwards.
>>>>>>>>>
>>>>>>>>> Regards,
>>>>>>>>>
>>>>>>>>> -Enrique Ruibal
>>>>>>>>>
>>>>>>>>> G. Michael Jean wrote:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I made a new logo - same size and type as the default
>>>>>>>>>> ofbiz_logo.jpg.
>>>>>>>>>> When I copy this new logo to
>>>>>>>>>> /path/to/ofbiz/framework/images/webapp/images and then rename the
>>>>>>>>>> file
>>>>>>>>>> ofbiz_logo.jpg then it is displayed successfully.
>>>>>>>>>>
>>>>>>>>>> I decided to try to do this a little more intelligently and so I
>>>>>>>>>> changed
>>>>>>>>>> the instances of text "ofbiz_logo.jpg" in
>>>>>>>>>> /path/to/ofbiz/framework/common/widget/CommonScreens.xml to the
>>>>>>>>>> filename
>>>>>>>>>> I created but it still displays the old logo. Does anyone know
>>>>>>>>>> why?
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Michael
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>
>>>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFJhttxrP3NbaWWqE4RAuAVAJ0ZmdIvbuzuCjEYxDcGQ2dBmCD4DwCcCsiF
>> Y00R8giFf3+WoWYn+u7dd8E=
>> =+KUx
>> -----END PGP SIGNATURE-----
>>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJh0ItrP3NbaWWqE4RAnneAJ0QVRxzjBaZtr7vVe4sJwTr+63ZxgCeKIo5
IRXFcSMicsF55k3Qc3e+76U=
=fXaf
-----END PGP SIGNATURE-----
Re: ofbiz_logo.jpg
Posted by Jacques Le Roux <ja...@les7arts.com>.
From: "BJ Freeman" <bj...@free-man.net>
> 1) the themes has a folder outside of framework or specialpurpose.
> Believe it should be in framework/common/webcommon/themes
Visual Themes are not a part of the framework, that's why they are now in \themes and are used as Adrian explained in another answer
Jacques
> 2) the java convention is not used for say VT_SHORTCUT_ICON instead of
> being vtShortcutIcon
> 3) VT_SHORTCUT_ICON is used as a <Enumeration enumId so should not be
> used as a variable.
> 4)if an application uses headerTemplateLocation then it is overridden
> <set field="headerTemplateLocation"
> from-field="layoutSettings.VT_HDR_TMPLT_LOC[0]"
> default-value="component://common/webcommon/includes/header.ftl"/>
> so the purpose of headerTemplateLocation is defeated.
> the same for
> footerTemplateLocation
> appbarTemplateLocation
> messagesTemplateLocation
> 5)having moved the location of the headerTemplateLocation to the entity
> VisualThemeResource without providing ways of custom application the
> standard way to pass this information breaks the model.
>
>
> Jacques Le Roux sent the following on 2/2/2009 2:18 AM:
>> Could you elaborate you POV, please ?
>>
>> Jacques
>>
>> From: "BJ Freeman" <bj...@free-man.net>
>> I am johnny come lately, so it looks like themes came in the back door
>> and has circumvented the ofbiz coding practices and framework instead of
>> enhancing it.
>>
>>
>> Jacques Le Roux sent the following on 2/2/2009 12:36 AM:
>>>>> http://docs.ofbiz.org/display/OFBIZ/Visual+Themes+-+How+to
>>>>> A bit deprecated but still usable. But I wonder if people are aware of
>>>>> the wiki search feature :p
>>>>>
>>>>> Jacques
>>>>>
>>>>> From: "BJ Freeman" <bj...@free-man.net>
>>>>> is there a wiki that shows how to use the visual themes?
>>>>>
>>>>> Enrique Ruibal A. sent the following on 2/1/2009 3:12 PM:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> Try First changing tha field value for VT_HDR_IMAGE_URL it is set by
>>>>>>>> default to the field value of RESOURCE_VALUE as
>>>>>>>> /images/ofbiz_logo.jpg
>>>>>>>> on the visual_theme_resource_table.
>>>>>>>>
>>>>>>>> Put your own image name and path there and see what happens
>>>>>>>> afterwards.
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>>
>>>>>>>> -Enrique Ruibal
>>>>>>>>
>>>>>>>> G. Michael Jean wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I made a new logo - same size and type as the default
>>>>>>>>> ofbiz_logo.jpg.
>>>>>>>>> When I copy this new logo to
>>>>>>>>> /path/to/ofbiz/framework/images/webapp/images and then rename the
>>>>>>>>> file
>>>>>>>>> ofbiz_logo.jpg then it is displayed successfully.
>>>>>>>>>
>>>>>>>>> I decided to try to do this a little more intelligently and so I
>>>>>>>>> changed
>>>>>>>>> the instances of text "ofbiz_logo.jpg" in
>>>>>>>>> /path/to/ofbiz/framework/common/widget/CommonScreens.xml to the
>>>>>>>>> filename
>>>>>>>>> I created but it still displays the old logo. Does anyone know why?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Michael
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>
>>
>>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJhttxrP3NbaWWqE4RAuAVAJ0ZmdIvbuzuCjEYxDcGQ2dBmCD4DwCcCsiF
> Y00R8giFf3+WoWYn+u7dd8E=
> =+KUx
> -----END PGP SIGNATURE-----
>
Re: ofbiz_logo.jpg
Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
1) the themes has a folder outside of framework or specialpurpose.
Believe it should be in framework/common/webcommon/themes
2) the java convention is not used for say VT_SHORTCUT_ICON instead of
being vtShortcutIcon
3) VT_SHORTCUT_ICON is used as a <Enumeration enumId so should not be
used as a variable.
4)if an application uses headerTemplateLocation then it is overridden
<set field="headerTemplateLocation"
from-field="layoutSettings.VT_HDR_TMPLT_LOC[0]"
default-value="component://common/webcommon/includes/header.ftl"/>
so the purpose of headerTemplateLocation is defeated.
the same for
footerTemplateLocation
appbarTemplateLocation
messagesTemplateLocation
5)having moved the location of the headerTemplateLocation to the entity
VisualThemeResource without providing ways of custom application the
standard way to pass this information breaks the model.
Jacques Le Roux sent the following on 2/2/2009 2:18 AM:
> Could you elaborate you POV, please ?
>
> Jacques
>
> From: "BJ Freeman" <bj...@free-man.net>
> I am johnny come lately, so it looks like themes came in the back door
> and has circumvented the ofbiz coding practices and framework instead of
> enhancing it.
>
>
> Jacques Le Roux sent the following on 2/2/2009 12:36 AM:
>>>> http://docs.ofbiz.org/display/OFBIZ/Visual+Themes+-+How+to
>>>> A bit deprecated but still usable. But I wonder if people are aware of
>>>> the wiki search feature :p
>>>>
>>>> Jacques
>>>>
>>>> From: "BJ Freeman" <bj...@free-man.net>
>>>> is there a wiki that shows how to use the visual themes?
>>>>
>>>> Enrique Ruibal A. sent the following on 2/1/2009 3:12 PM:
>>>>>>> Hi,
>>>>>>>
>>>>>>> Try First changing tha field value for VT_HDR_IMAGE_URL it is set by
>>>>>>> default to the field value of RESOURCE_VALUE as
>>>>>>> /images/ofbiz_logo.jpg
>>>>>>> on the visual_theme_resource_table.
>>>>>>>
>>>>>>> Put your own image name and path there and see what happens
>>>>>>> afterwards.
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> -Enrique Ruibal
>>>>>>>
>>>>>>> G. Michael Jean wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I made a new logo - same size and type as the default
>>>>>>>> ofbiz_logo.jpg.
>>>>>>>> When I copy this new logo to
>>>>>>>> /path/to/ofbiz/framework/images/webapp/images and then rename the
>>>>>>>> file
>>>>>>>> ofbiz_logo.jpg then it is displayed successfully.
>>>>>>>>
>>>>>>>> I decided to try to do this a little more intelligently and so I
>>>>>>>> changed
>>>>>>>> the instances of text "ofbiz_logo.jpg" in
>>>>>>>> /path/to/ofbiz/framework/common/widget/CommonScreens.xml to the
>>>>>>>> filename
>>>>>>>> I created but it still displays the old logo. Does anyone know why?
>>>>>>>>
>>>>>>>>
>>>>>>>> Michael
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>
>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJhttxrP3NbaWWqE4RAuAVAJ0ZmdIvbuzuCjEYxDcGQ2dBmCD4DwCcCsiF
Y00R8giFf3+WoWYn+u7dd8E=
=+KUx
-----END PGP SIGNATURE-----
Re: ofbiz_logo.jpg
Posted by Jacques Le Roux <ja...@les7arts.com>.
Could you elaborate you POV, please ?
Jacques
From: "BJ Freeman" <bj...@free-man.net>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I am johnny come lately, so it looks like themes came in the back door
> and has circumvented the ofbiz coding practices and framework instead of
> enhancing it.
>
>
> Jacques Le Roux sent the following on 2/2/2009 12:36 AM:
>> http://docs.ofbiz.org/display/OFBIZ/Visual+Themes+-+How+to
>> A bit deprecated but still usable. But I wonder if people are aware of
>> the wiki search feature :p
>>
>> Jacques
>>
>> From: "BJ Freeman" <bj...@free-man.net>
>> is there a wiki that shows how to use the visual themes?
>>
>> Enrique Ruibal A. sent the following on 2/1/2009 3:12 PM:
>>>>> Hi,
>>>>>
>>>>> Try First changing tha field value for VT_HDR_IMAGE_URL it is set by
>>>>> default to the field value of RESOURCE_VALUE as /images/ofbiz_logo.jpg
>>>>> on the visual_theme_resource_table.
>>>>>
>>>>> Put your own image name and path there and see what happens afterwards.
>>>>>
>>>>> Regards,
>>>>>
>>>>> -Enrique Ruibal
>>>>>
>>>>> G. Michael Jean wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I made a new logo - same size and type as the default ofbiz_logo.jpg.
>>>>>> When I copy this new logo to
>>>>>> /path/to/ofbiz/framework/images/webapp/images and then rename the file
>>>>>> ofbiz_logo.jpg then it is displayed successfully.
>>>>>>
>>>>>> I decided to try to do this a little more intelligently and so I
>>>>>> changed
>>>>>> the instances of text "ofbiz_logo.jpg" in
>>>>>> /path/to/ofbiz/framework/common/widget/CommonScreens.xml to the
>>>>>> filename
>>>>>> I created but it still displays the old logo. Does anyone know why?
>>>>>>
>>>>>>
>>>>>> Michael
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJhsJrrP3NbaWWqE4RAj36AJ9WnSApSKUZCEAUmvgSTotWptUnFgCcDnQw
> hORoz1kuyYsW+UIGrsUYf88=
> =JB18
> -----END PGP SIGNATURE-----
>
Re: ofbiz_logo.jpg
Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am johnny come lately, so it looks like themes came in the back door
and has circumvented the ofbiz coding practices and framework instead of
enhancing it.
Jacques Le Roux sent the following on 2/2/2009 12:36 AM:
> http://docs.ofbiz.org/display/OFBIZ/Visual+Themes+-+How+to
> A bit deprecated but still usable. But I wonder if people are aware of
> the wiki search feature :p
>
> Jacques
>
> From: "BJ Freeman" <bj...@free-man.net>
> is there a wiki that shows how to use the visual themes?
>
> Enrique Ruibal A. sent the following on 2/1/2009 3:12 PM:
>>>> Hi,
>>>>
>>>> Try First changing tha field value for VT_HDR_IMAGE_URL it is set by
>>>> default to the field value of RESOURCE_VALUE as /images/ofbiz_logo.jpg
>>>> on the visual_theme_resource_table.
>>>>
>>>> Put your own image name and path there and see what happens afterwards.
>>>>
>>>> Regards,
>>>>
>>>> -Enrique Ruibal
>>>>
>>>> G. Michael Jean wrote:
>>>>> Hi,
>>>>>
>>>>> I made a new logo - same size and type as the default ofbiz_logo.jpg.
>>>>> When I copy this new logo to
>>>>> /path/to/ofbiz/framework/images/webapp/images and then rename the file
>>>>> ofbiz_logo.jpg then it is displayed successfully.
>>>>>
>>>>> I decided to try to do this a little more intelligently and so I
>>>>> changed
>>>>> the instances of text "ofbiz_logo.jpg" in
>>>>> /path/to/ofbiz/framework/common/widget/CommonScreens.xml to the
>>>>> filename
>>>>> I created but it still displays the old logo. Does anyone know why?
>>>>>
>>>>>
>>>>> Michael
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJhsJrrP3NbaWWqE4RAj36AJ9WnSApSKUZCEAUmvgSTotWptUnFgCcDnQw
hORoz1kuyYsW+UIGrsUYf88=
=JB18
-----END PGP SIGNATURE-----
Re: ofbiz_logo.jpg
Posted by Jacques Le Roux <ja...@les7arts.com>.
http://docs.ofbiz.org/display/OFBIZ/Visual+Themes+-+How+to
A bit deprecated but still usable. But I wonder if people are aware of the wiki search feature :p
Jacques
From: "BJ Freeman" <bj...@free-man.net>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> is there a wiki that shows how to use the visual themes?
>
> Enrique Ruibal A. sent the following on 2/1/2009 3:12 PM:
>> Hi,
>>
>> Try First changing tha field value for VT_HDR_IMAGE_URL it is set by
>> default to the field value of RESOURCE_VALUE as /images/ofbiz_logo.jpg
>> on the visual_theme_resource_table.
>>
>> Put your own image name and path there and see what happens afterwards.
>>
>> Regards,
>>
>> -Enrique Ruibal
>>
>> G. Michael Jean wrote:
>>> Hi,
>>>
>>> I made a new logo - same size and type as the default ofbiz_logo.jpg.
>>> When I copy this new logo to
>>> /path/to/ofbiz/framework/images/webapp/images and then rename the file
>>> ofbiz_logo.jpg then it is displayed successfully.
>>>
>>> I decided to try to do this a little more intelligently and so I changed
>>> the instances of text "ofbiz_logo.jpg" in
>>> /path/to/ofbiz/framework/common/widget/CommonScreens.xml to the filename
>>> I created but it still displays the old logo. Does anyone know why?
>>>
>>>
>>> Michael
>>>
>>>
>>
>>
>>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJhjeFrP3NbaWWqE4RAgsHAJwNlMfVk88nQNFuMquUZeiJNkCKFwCeNIDM
> ou+gFvjX55byhSjUdxsZbWk=
> =+xmP
> -----END PGP SIGNATURE-----
>
Re: ofbiz_logo.jpg
Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
is there a wiki that shows how to use the visual themes?
Enrique Ruibal A. sent the following on 2/1/2009 3:12 PM:
> Hi,
>
> Try First changing tha field value for VT_HDR_IMAGE_URL it is set by
> default to the field value of RESOURCE_VALUE as /images/ofbiz_logo.jpg
> on the visual_theme_resource_table.
>
> Put your own image name and path there and see what happens afterwards.
>
> Regards,
>
> -Enrique Ruibal
>
> G. Michael Jean wrote:
>> Hi,
>>
>> I made a new logo - same size and type as the default ofbiz_logo.jpg.
>> When I copy this new logo to
>> /path/to/ofbiz/framework/images/webapp/images and then rename the file
>> ofbiz_logo.jpg then it is displayed successfully.
>>
>> I decided to try to do this a little more intelligently and so I changed
>> the instances of text "ofbiz_logo.jpg" in
>> /path/to/ofbiz/framework/common/widget/CommonScreens.xml to the filename
>> I created but it still displays the old logo. Does anyone know why?
>>
>>
>> Michael
>>
>>
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJhjeFrP3NbaWWqE4RAgsHAJwNlMfVk88nQNFuMquUZeiJNkCKFwCeNIDM
ou+gFvjX55byhSjUdxsZbWk=
=+xmP
-----END PGP SIGNATURE-----
Re: ofbiz_logo.jpg
Posted by "Enrique Ruibal A." <er...@prodigy.net.mx>.
Hi,
Try First changing tha field value for VT_HDR_IMAGE_URL it is set by
default to the field value of RESOURCE_VALUE as /images/ofbiz_logo.jpg
on the visual_theme_resource_table.
Put your own image name and path there and see what happens afterwards.
Regards,
-Enrique Ruibal
G. Michael Jean wrote:
> Hi,
>
> I made a new logo - same size and type as the default ofbiz_logo.jpg.
> When I copy this new logo to
> /path/to/ofbiz/framework/images/webapp/images and then rename the file
> ofbiz_logo.jpg then it is displayed successfully.
>
> I decided to try to do this a little more intelligently and so I changed
> the instances of text "ofbiz_logo.jpg" in
> /path/to/ofbiz/framework/common/widget/CommonScreens.xml to the filename
> I created but it still displays the old logo. Does anyone know why?
>
>
> Michael
>
>
Re: ofbiz_logo.jpg
Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
if the apps is using the widgets then
<set field="layoutSettings.commonHeaderImageUrl"
value="/images/your_logo.jpg"/>
should work.
I believe some still use only the header.ftl which is unaware of this.
I see the
framework/common/widget/CommonScreens.xml
has been changed.
used to be you could set
<set field="layoutSettings.headerImageUrl"
value="/images/yourLogos.jpg" global="true"/>
in your apps commonscreen.xml and it would replace the on in the
framework/common/widget/CommonScreens.xml
G. Michael Jean sent the following on 2/1/2009 1:55 PM:
> Hi,
>
> I made a new logo - same size and type as the default ofbiz_logo.jpg.
> When I copy this new logo to
> /path/to/ofbiz/framework/images/webapp/images and then rename the file
> ofbiz_logo.jpg then it is displayed successfully.
>
> I decided to try to do this a little more intelligently and so I changed
> the instances of text "ofbiz_logo.jpg" in
> /path/to/ofbiz/framework/common/widget/CommonScreens.xml to the filename
> I created but it still displays the old logo. Does anyone know why?
>
>
> Michael
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJhio/rP3NbaWWqE4RAiO6AKDOKUDbHicvtguiRxu0ZAx42YjRZACfVkyL
4ezPYbZ+Waq85V7s5b1si4E=
=CO0L
-----END PGP SIGNATURE-----