Re: Visual Themes Gallery

2017-07-10 Thread Sanjay Yadav
I agree with Micheal's comment on the document, we should keep and update
the page.

We should maintain document by dividing it into two parts:

   1. Most recent/up-to-date themes - In top/first part of the page.
   2. Old/Unsupported themes - In second part of the page.


Best Regards,

*Sanjay Yadav* | Manager, Enterprise Quality Assurance
HotWax Commerce  by HotWax Systems

80, Scheme No. 78, Part II, Indore, M.P. 452010, India
Mobile Phone: 787 918 8830 | Linkedin: Sanjay-Yadav


HotWax Systems recently received 8 mentions in *The Gartner Digital
Commerce Vendor Guide, 2016 *by Gartner, Inc., the world's leading IT
research and advisory company. Learn more about our research here

.
[image: Inline image 1]



On Thu, Jul 6, 2017 at 1:27 PM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi,
>
> Should we keep and maintain this page?
>
> https://cwiki.apache.org/confluence/display/OFBIZ/Visual+Themes+Gallery
>
> If we do should we remove the old themes (they still are there in the SVN
> repo)? And also, if we keep the page, the Rainbow theme misses.
>
> Thanks
>
> Jacques
>
>


Re: Visual themes and gradlew

2017-04-26 Thread Tim Hawkins
I would like to say that the suggestion by mike cleared up the issue and
now my template is loading and displaying, so i can now head off and start
creating my theme. I will be also implementing the suggestion from Pierre.

A couple more related questions.

1. Do I need to clear the caches each time i change the .tpl files on
ofbiz?
2. If I add new assets, and update the manifest file (ThemeData), do i need
to reload the data?



On Thu, Apr 27, 2017 at 9:39 AM Tim Hawkins  wrote:

> Just noticed this whilst inspecting my load logs, im using mysql
>
> 2017-04-27 01:01:37,021 |OFBiz-batch-2|DatabaseUtil
>|W| Entity [ProductPromoCodeEmail] has no table in the database
> 2017-04-27 01:01:37,048 |pool-3-thread-1  |DatabaseUtil
>|E| Could not create table [PRODUCT_PROMO_CODE_EMAIL]: SQL Exception
> while executing the following:
> CREATE TABLE PRODUCT_PROMO_CODE_EMAIL (PRODUCT_PROMO_CODE_ID VARCHAR(20)
> CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, EMAIL_ADDRESS VARCHAR(320)
> CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, LAST_UPDATED_STAMP DATETIME,
> LAST_UPDATED_TX_STAMP DATETIME, CREATED_STAMP DATETIME, CREATED_TX_STAMP
> DATETIME, CONSTRAINT PK_PRODUCT_PROMO_CODE_EMAIL PRIMARY KEY
> (PRODUCT_PROMO_CODE_ID, EMAIL_ADDRESS)) ENGINE InnoDB CHARACTER SET utf8
> COLLATE utf8_bin
> Error was: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
> Specified key was too long; max key length is 767 bytes
> 2017-04-27 01:01:37,098 |kJoinPool-1-worker-0 |EntityEcaUtil
>   |I| Loaded [4] Entity ECA definitions from
> /opt/apache-ofbiz-16.11.01/applications/workeffort/entitydef/eecas.xml in
> loader main
>
>
> On Thu, Apr 27, 2017 at 12:35 AM Pierre Smits 
> wrote:
>
>> Hi Tim,
>>
>> The best approach (for production environments) is, when initialising your
>> implementation, to only load data designated as 'seed' and 'seed-initial'
>> once. And for loading the rest of the data sets (such as your
>> implementation specifics) to use the import functionalities provided
>> through the system and data admin tools (via webtools).
>>
>> See: https://demo-trunk.ofbiz.apache.org/webtools/control/xmldsdump
>>
>> Best regards,
>>
>>
>> Pierre Smits
>>
>> ORRTIZ.COM 
>> OFBiz based solutions & services
>>
>> OFBiz Extensions Marketplace
>> http://oem.ofbizci.net/oci-2/
>>
>> On Wed, Apr 26, 2017 at 5:20 PM, Tim Hawkins 
>> wrote:
>>
>> > Thanks mike, i will try that tomorrow.
>> >
>> > On Wed, Apr 26, 2017, 23:14 Mike  wrote:
>> >
>> > > Because you left the reader-name="seed":
>> > >
>> > > > > > location="data/AsmultiflexThemeData.xml"/>
>> > >
>> > > To load it, you have to:
>> > >
>> > > gradlew "ofbiz --load-data readers=seed"
>> > >
>> > > Which reloads ALL the seed, including yours
>> > >
>> > > --or-- (better) Load it directly:
>> > >
>> > > gradlew "ofbiz --load-data
>> > > file=RELATIVE_PATH/data/AsmultiflexThemeData.xml"
>> > >
>> > >
>> > > On Wed, Apr 26, 2017 at 2:12 AM, Tim Hawkins 
>> > > wrote:
>> > >
>> > > > I'm a beginner to of-biz, and I have been trying to edit the
>> eCommerce
>> > > > templates.  I'm using the latest version.
>> > > >
>> > > > I first copied the template for "multiflex" a new version called
>> > > > "asmultiflex"
>> > > >
>> > > > so i have a copy of the whole tree under templates/asmultiflex
>> > > >
>> > > > Then I edited the the file
>> > > >
>> > > >  themes/asmultiflex/ofbiz-component.xml
>> > > >  and changed all references to "asmultiflex" I also changed the
>> name of
>> > > the
>> > > > file in the Data directory to match, ie
>> > > >
>> > > > > > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> > > > xsi:noNamespaceSchemaLocation="
>> > > > http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
>> > > > 
>> > > > 
>> > > >
>> > > >
>> > > > 
>> > > > > > > > location="data/AsmultiflexThemeData.xml"/>
>> > > >
>> > > >
>> > > > 
>> > > > > > > > title="asmultiflex"
>> > > > menu-name="secondary"
>> > > > server="default-server"
>> > > > location="webapp/asmultiflex"
>> > > > mount-point="/asmultiflex"
>> > > > app-bar-display="false"/>
>> > > > 
>> > > >
>> > > > Then i renamed the MultiflexThemeData.xml file in
>> > themes/asmultiflex/data
>> > > > to AsmultiflexThemeData.xml and edited ti to be:
>> > > >
>> > > > 
>> > > > 
>> > > > > > visualThemeSetId="ECOMMERCE"
>> > > > description="Airsoc VisualTheme for Ecommerce"/>
>> > > > > > > > resourceTypeEnumId="VT_STYLESHEET"
>> > > > resourceValue="/ecommerce/images/blog.css" sequenceId="01"/>
>> > > > > > > > resourceTypeEnumId="VT_STYLESHEET" resourceValue="/asmultiflex/
>> > style.css"
>> > > > sequenceId="02"/>
>> > > > > > > > resourceTypeEnumId="VT_STYLESHEET"
>> > > > resourceValue="/content/images/contentForum.css" sequenceId="04"/>
>> > > > > > > > resourceTypeEnumId="VT_SHORTCUT_ICON" resourceValue="/images/ofbiz.
>> > ico"
>> > > > sequenceId="01"/>
>> > > > > > > > resourceTypeEnumId="VT_HDR_IMAGE_URL"
>> > > > resourceValue="/images/ofb

Re: Visual themes and gradlew

2017-04-26 Thread Tim Hawkins
Just noticed this whilst inspecting my load logs, im using mysql

2017-04-27 01:01:37,021 |OFBiz-batch-2|DatabaseUtil
 |W| Entity [ProductPromoCodeEmail] has no table in the database
2017-04-27 01:01:37,048 |pool-3-thread-1  |DatabaseUtil
 |E| Could not create table [PRODUCT_PROMO_CODE_EMAIL]: SQL Exception while
executing the following:
CREATE TABLE PRODUCT_PROMO_CODE_EMAIL (PRODUCT_PROMO_CODE_ID VARCHAR(20)
CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, EMAIL_ADDRESS VARCHAR(320)
CHARACTER SET utf8 COLLATE utf8_bin NOT NULL, LAST_UPDATED_STAMP DATETIME,
LAST_UPDATED_TX_STAMP DATETIME, CREATED_STAMP DATETIME, CREATED_TX_STAMP
DATETIME, CONSTRAINT PK_PRODUCT_PROMO_CODE_EMAIL PRIMARY KEY
(PRODUCT_PROMO_CODE_ID, EMAIL_ADDRESS)) ENGINE InnoDB CHARACTER SET utf8
COLLATE utf8_bin
Error was: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException:
Specified key was too long; max key length is 767 bytes
2017-04-27 01:01:37,098 |kJoinPool-1-worker-0 |EntityEcaUtil
  |I| Loaded [4] Entity ECA definitions from
/opt/apache-ofbiz-16.11.01/applications/workeffort/entitydef/eecas.xml in
loader main


On Thu, Apr 27, 2017 at 12:35 AM Pierre Smits 
wrote:

> Hi Tim,
>
> The best approach (for production environments) is, when initialising your
> implementation, to only load data designated as 'seed' and 'seed-initial'
> once. And for loading the rest of the data sets (such as your
> implementation specifics) to use the import functionalities provided
> through the system and data admin tools (via webtools).
>
> See: https://demo-trunk.ofbiz.apache.org/webtools/control/xmldsdump
>
> Best regards,
>
>
> Pierre Smits
>
> ORRTIZ.COM 
> OFBiz based solutions & services
>
> OFBiz Extensions Marketplace
> http://oem.ofbizci.net/oci-2/
>
> On Wed, Apr 26, 2017 at 5:20 PM, Tim Hawkins 
> wrote:
>
> > Thanks mike, i will try that tomorrow.
> >
> > On Wed, Apr 26, 2017, 23:14 Mike  wrote:
> >
> > > Because you left the reader-name="seed":
> > >
> > >  > > location="data/AsmultiflexThemeData.xml"/>
> > >
> > > To load it, you have to:
> > >
> > > gradlew "ofbiz --load-data readers=seed"
> > >
> > > Which reloads ALL the seed, including yours
> > >
> > > --or-- (better) Load it directly:
> > >
> > > gradlew "ofbiz --load-data
> > > file=RELATIVE_PATH/data/AsmultiflexThemeData.xml"
> > >
> > >
> > > On Wed, Apr 26, 2017 at 2:12 AM, Tim Hawkins 
> > > wrote:
> > >
> > > > I'm a beginner to of-biz, and I have been trying to edit the
> eCommerce
> > > > templates.  I'm using the latest version.
> > > >
> > > > I first copied the template for "multiflex" a new version called
> > > > "asmultiflex"
> > > >
> > > > so i have a copy of the whole tree under templates/asmultiflex
> > > >
> > > > Then I edited the the file
> > > >
> > > >  themes/asmultiflex/ofbiz-component.xml
> > > >  and changed all references to "asmultiflex" I also changed the name
> of
> > > the
> > > > file in the Data directory to match, ie
> > > >
> > > >  > > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > > > xsi:noNamespaceSchemaLocation="
> > > > http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
> > > > 
> > > > 
> > > >
> > > >
> > > > 
> > > >  > > > location="data/AsmultiflexThemeData.xml"/>
> > > >
> > > >
> > > > 
> > > >  > > > title="asmultiflex"
> > > > menu-name="secondary"
> > > > server="default-server"
> > > > location="webapp/asmultiflex"
> > > > mount-point="/asmultiflex"
> > > > app-bar-display="false"/>
> > > > 
> > > >
> > > > Then i renamed the MultiflexThemeData.xml file in
> > themes/asmultiflex/data
> > > > to AsmultiflexThemeData.xml and edited ti to be:
> > > >
> > > > 
> > > > 
> > > >  > visualThemeSetId="ECOMMERCE"
> > > > description="Airsoc VisualTheme for Ecommerce"/>
> > > >  > > > resourceTypeEnumId="VT_STYLESHEET"
> > > > resourceValue="/ecommerce/images/blog.css" sequenceId="01"/>
> > > >  > > > resourceTypeEnumId="VT_STYLESHEET" resourceValue="/asmultiflex/
> > style.css"
> > > > sequenceId="02"/>
> > > >  > > > resourceTypeEnumId="VT_STYLESHEET"
> > > > resourceValue="/content/images/contentForum.css" sequenceId="04"/>
> > > >  > > > resourceTypeEnumId="VT_SHORTCUT_ICON" resourceValue="/images/ofbiz.
> > ico"
> > > > sequenceId="01"/>
> > > >  > > > resourceTypeEnumId="VT_HDR_IMAGE_URL"
> > > > resourceValue="/images/ofbiz_logo.gif" sequenceId="01"/>
> > > >  > > > resourceTypeEnumId="VT_HDR_TMPLT_LOC"
> > > > resourceValue="component://asmultiflex/template/Header.ftl"
> > > > sequenceId="01"/>
> > > >  > > > resourceTypeEnumId="VT_FTR_TMPLT_LOC"
> > > > resourceValue="component://asmultiflex/template/Footer.ftl"
> > > > sequenceId="01"/>
> > > >  > > > resourceTypeEnumId="VT_SCREENSHOT"
> > > > resourceValue="/asmultiflex/screenshot.jpg" sequenceId="01"/>
> > > > 
> > > >
> > > > So far so good. I did notice that inside the webapp folder there was
> a
> > > > complete copy of the files in the root, and was not sure what to do
> > with
> > > > the

Re: Visual themes and gradlew

2017-04-26 Thread Pierre Smits
Hi Tim,

The best approach (for production environments) is, when initialising your
implementation, to only load data designated as 'seed' and 'seed-initial'
once. And for loading the rest of the data sets (such as your
implementation specifics) to use the import functionalities provided
through the system and data admin tools (via webtools).

See: https://demo-trunk.ofbiz.apache.org/webtools/control/xmldsdump

Best regards,


Pierre Smits

ORRTIZ.COM 
OFBiz based solutions & services

OFBiz Extensions Marketplace
http://oem.ofbizci.net/oci-2/

On Wed, Apr 26, 2017 at 5:20 PM, Tim Hawkins  wrote:

> Thanks mike, i will try that tomorrow.
>
> On Wed, Apr 26, 2017, 23:14 Mike  wrote:
>
> > Because you left the reader-name="seed":
> >
> >  > location="data/AsmultiflexThemeData.xml"/>
> >
> > To load it, you have to:
> >
> > gradlew "ofbiz --load-data readers=seed"
> >
> > Which reloads ALL the seed, including yours
> >
> > --or-- (better) Load it directly:
> >
> > gradlew "ofbiz --load-data
> > file=RELATIVE_PATH/data/AsmultiflexThemeData.xml"
> >
> >
> > On Wed, Apr 26, 2017 at 2:12 AM, Tim Hawkins 
> > wrote:
> >
> > > I'm a beginner to of-biz, and I have been trying to edit the eCommerce
> > > templates.  I'm using the latest version.
> > >
> > > I first copied the template for "multiflex" a new version called
> > > "asmultiflex"
> > >
> > > so i have a copy of the whole tree under templates/asmultiflex
> > >
> > > Then I edited the the file
> > >
> > >  themes/asmultiflex/ofbiz-component.xml
> > >  and changed all references to "asmultiflex" I also changed the name of
> > the
> > > file in the Data directory to match, ie
> > >
> > >  > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > > xsi:noNamespaceSchemaLocation="
> > > http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
> > > 
> > > 
> > >
> > >
> > > 
> > >  > > location="data/AsmultiflexThemeData.xml"/>
> > >
> > >
> > > 
> > >  > > title="asmultiflex"
> > > menu-name="secondary"
> > > server="default-server"
> > > location="webapp/asmultiflex"
> > > mount-point="/asmultiflex"
> > > app-bar-display="false"/>
> > > 
> > >
> > > Then i renamed the MultiflexThemeData.xml file in
> themes/asmultiflex/data
> > > to AsmultiflexThemeData.xml and edited ti to be:
> > >
> > > 
> > > 
> > >  visualThemeSetId="ECOMMERCE"
> > > description="Airsoc VisualTheme for Ecommerce"/>
> > >  > > resourceTypeEnumId="VT_STYLESHEET"
> > > resourceValue="/ecommerce/images/blog.css" sequenceId="01"/>
> > >  > > resourceTypeEnumId="VT_STYLESHEET" resourceValue="/asmultiflex/
> style.css"
> > > sequenceId="02"/>
> > >  > > resourceTypeEnumId="VT_STYLESHEET"
> > > resourceValue="/content/images/contentForum.css" sequenceId="04"/>
> > >  > > resourceTypeEnumId="VT_SHORTCUT_ICON" resourceValue="/images/ofbiz.
> ico"
> > > sequenceId="01"/>
> > >  > > resourceTypeEnumId="VT_HDR_IMAGE_URL"
> > > resourceValue="/images/ofbiz_logo.gif" sequenceId="01"/>
> > >  > > resourceTypeEnumId="VT_HDR_TMPLT_LOC"
> > > resourceValue="component://asmultiflex/template/Header.ftl"
> > > sequenceId="01"/>
> > >  > > resourceTypeEnumId="VT_FTR_TMPLT_LOC"
> > > resourceValue="component://asmultiflex/template/Footer.ftl"
> > > sequenceId="01"/>
> > >  > > resourceTypeEnumId="VT_SCREENSHOT"
> > > resourceValue="/asmultiflex/screenshot.jpg" sequenceId="01"/>
> > > 
> > >
> > > So far so good. I did notice that inside the webapp folder there was a
> > > complete copy of the files in the root, and was not sure what to do
> with
> > > them.
> > >
> > > Accessing this from the web-store config page i can see that the theme
> is
> > > not loaded or recognized. However there are no instructions on how to
> do
> > > this with the gradlew tool, so i tried
> > >
> > > sudo ./gradelw "ofbiz --load file=templates/asmultiflex/
> > > ofbiz-component.xml"
> > >
> > > This produced a bunch of errors (added at the end)  and clearly did not
> > > load the theme, as its still not accessible.  The questions i need
> > > answering are:
> > >
> > > 1) Is this correct for duplication a theme, I followed the instructions
> > in
> > > the how to up until it started talking about using "ant"
> > >
> > > 2) Is the the mechanism i have used to load it valid, if not what is
> the
> > > correct method.
> > >
> > > 3) is there any better documentation around that relates to tasks on a
> > post
> > > gradlew version. I have considered reverting to a much older version
> just
> > > to be aligned with the documentation and the two books I have purchased
> > > which turned out be as much use as a chocolate teapot.
> > >
> > > Is there any howto guides on how to setup and configure of-biz for a
> > simple
> > > web store, the docs in confluence seem to be very incomplete and make
> way
> > > too many assumptions about what the reader knows.
> > >
> > > I managed to get it installed on ubuntu 14.05, running version
> 16.11.01,
> > > using a MySQL database and using apac

Re: Visual themes and gradlew

2017-04-26 Thread Tim Hawkins
Thanks mike, i will try that tomorrow.

On Wed, Apr 26, 2017, 23:14 Mike  wrote:

> Because you left the reader-name="seed":
>
>  location="data/AsmultiflexThemeData.xml"/>
>
> To load it, you have to:
>
> gradlew "ofbiz --load-data readers=seed"
>
> Which reloads ALL the seed, including yours
>
> --or-- (better) Load it directly:
>
> gradlew "ofbiz --load-data
> file=RELATIVE_PATH/data/AsmultiflexThemeData.xml"
>
>
> On Wed, Apr 26, 2017 at 2:12 AM, Tim Hawkins 
> wrote:
>
> > I'm a beginner to of-biz, and I have been trying to edit the eCommerce
> > templates.  I'm using the latest version.
> >
> > I first copied the template for "multiflex" a new version called
> > "asmultiflex"
> >
> > so i have a copy of the whole tree under templates/asmultiflex
> >
> > Then I edited the the file
> >
> >  themes/asmultiflex/ofbiz-component.xml
> >  and changed all references to "asmultiflex" I also changed the name of
> the
> > file in the Data directory to match, ie
> >
> >  > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:noNamespaceSchemaLocation="
> > http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
> > 
> > 
> >
> >
> > 
> >  > location="data/AsmultiflexThemeData.xml"/>
> >
> >
> > 
> >  > title="asmultiflex"
> > menu-name="secondary"
> > server="default-server"
> > location="webapp/asmultiflex"
> > mount-point="/asmultiflex"
> > app-bar-display="false"/>
> > 
> >
> > Then i renamed the MultiflexThemeData.xml file in themes/asmultiflex/data
> > to AsmultiflexThemeData.xml and edited ti to be:
> >
> > 
> > 
> >  > description="Airsoc VisualTheme for Ecommerce"/>
> >  > resourceTypeEnumId="VT_STYLESHEET"
> > resourceValue="/ecommerce/images/blog.css" sequenceId="01"/>
> >  > resourceTypeEnumId="VT_STYLESHEET" resourceValue="/asmultiflex/style.css"
> > sequenceId="02"/>
> >  > resourceTypeEnumId="VT_STYLESHEET"
> > resourceValue="/content/images/contentForum.css" sequenceId="04"/>
> >  > resourceTypeEnumId="VT_SHORTCUT_ICON" resourceValue="/images/ofbiz.ico"
> > sequenceId="01"/>
> >  > resourceTypeEnumId="VT_HDR_IMAGE_URL"
> > resourceValue="/images/ofbiz_logo.gif" sequenceId="01"/>
> >  > resourceTypeEnumId="VT_HDR_TMPLT_LOC"
> > resourceValue="component://asmultiflex/template/Header.ftl"
> > sequenceId="01"/>
> >  > resourceTypeEnumId="VT_FTR_TMPLT_LOC"
> > resourceValue="component://asmultiflex/template/Footer.ftl"
> > sequenceId="01"/>
> >  > resourceTypeEnumId="VT_SCREENSHOT"
> > resourceValue="/asmultiflex/screenshot.jpg" sequenceId="01"/>
> > 
> >
> > So far so good. I did notice that inside the webapp folder there was a
> > complete copy of the files in the root, and was not sure what to do with
> > them.
> >
> > Accessing this from the web-store config page i can see that the theme is
> > not loaded or recognized. However there are no instructions on how to do
> > this with the gradlew tool, so i tried
> >
> > sudo ./gradelw "ofbiz --load file=templates/asmultiflex/
> > ofbiz-component.xml"
> >
> > This produced a bunch of errors (added at the end)  and clearly did not
> > load the theme, as its still not accessible.  The questions i need
> > answering are:
> >
> > 1) Is this correct for duplication a theme, I followed the instructions
> in
> > the how to up until it started talking about using "ant"
> >
> > 2) Is the the mechanism i have used to load it valid, if not what is the
> > correct method.
> >
> > 3) is there any better documentation around that relates to tasks on a
> post
> > gradlew version. I have considered reverting to a much older version just
> > to be aligned with the documentation and the two books I have purchased
> > which turned out be as much use as a chocolate teapot.
> >
> > Is there any howto guides on how to setup and configure of-biz for a
> simple
> > web store, the docs in confluence seem to be very incomplete and make way
> > too many assumptions about what the reader knows.
> >
> > I managed to get it installed on ubuntu 14.05, running version 16.11.01,
> > using a MySQL database and using apache2 with a mod_proxy_ajp setup with
> > letsencrypt providing the ssl certs.  But this last step has me flumoxed.
> >
> > Any advice on the setup of a workflow for developing the themes would
> also
> > be helpful.
> >
> > Errors produced are:
> >
> > thawkins@ofbiz-lon-yousoc:/opt/apache-ofbiz-16.11.01$ sudo ./gradlew
> > "ofbiz
> > --load file=themes/asmultiflex/ofbiz-component.xml"
> >
> > ... Lots of normal stuff
> >
> >
> > 2017-04-26 08:13:11,140 |main |GenericDelegator
> >  |E| Error getting entity definition from model
> > org.apache.ofbiz.entity.GenericModelException: Could not find definition
> > for entity name component
> > at
> > org.apache.ofbiz.entity.model.ModelReader.getModelEntity(
> > ModelReader.java:489)
> > ~[ofbiz.jar:?]
> > at
> > org.apache.ofbiz.entity.GenericDelegator.getModelEntity(
> > GenericDelegator.java:411)
> > [ofbiz.jar:?]
> > at
> > org.apache.ofbiz.entity.Gener

Re: Visual themes and gradlew

2017-04-26 Thread Jacques Le Roux

Thanks Mike,

Importing a file is a good practice. Tim, if you need to import several files, better to register them (in your ofbiz-component.xml) as ext and not 
seed, see entityengine.xml for more about that, here is an extract


tenant   = OFBiz and External Tenant Data
seed = OFBiz and External Seed Data - to be maintained along 
with source and updated whenever a system deployment is updated
seed-initial = OFBiz and External Seed Data - to be maintained along with source like other seed data, but only loaded initially and not 
updated when a system is updated except manually reviewing each line

demo = OFBiz Only Demo Data
ext  = External General Data (custom)
ext-test = External Test Data (custom)
ext-demo = External Demo Data (custom)

HTH

Jacques


Le 26/04/2017 à 17:14, Mike a écrit :

Because you left the reader-name="seed":



To load it, you have to:

gradlew "ofbiz --load-data readers=seed"

Which reloads ALL the seed, including yours

--or-- (better) Load it directly:

gradlew "ofbiz --load-data file=RELATIVE_PATH/data/AsmultiflexThemeData.xml"


On Wed, Apr 26, 2017 at 2:12 AM, Tim Hawkins  wrote:


I'm a beginner to of-biz, and I have been trying to edit the eCommerce
templates.  I'm using the latest version.

I first copied the template for "multiflex" a new version called
"asmultiflex"

so i have a copy of the whole tree under templates/asmultiflex

Then I edited the the file

  themes/asmultiflex/ofbiz-component.xml
  and changed all references to "asmultiflex" I also changed the name of the
file in the Data directory to match, ie

http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="
http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>












Then i renamed the MultiflexThemeData.xml file in themes/asmultiflex/data
to AsmultiflexThemeData.xml and edited ti to be:



 
 
 
 
 
 
 
 
 


So far so good. I did notice that inside the webapp folder there was a
complete copy of the files in the root, and was not sure what to do with
them.

Accessing this from the web-store config page i can see that the theme is
not loaded or recognized. However there are no instructions on how to do
this with the gradlew tool, so i tried

sudo ./gradelw "ofbiz --load file=templates/asmultiflex/
ofbiz-component.xml"

This produced a bunch of errors (added at the end)  and clearly did not
load the theme, as its still not accessible.  The questions i need
answering are:

1) Is this correct for duplication a theme, I followed the instructions in
the how to up until it started talking about using "ant"

2) Is the the mechanism i have used to load it valid, if not what is the
correct method.

3) is there any better documentation around that relates to tasks on a post
gradlew version. I have considered reverting to a much older version just
to be aligned with the documentation and the two books I have purchased
which turned out be as much use as a chocolate teapot.

Is there any howto guides on how to setup and configure of-biz for a simple
web store, the docs in confluence seem to be very incomplete and make way
too many assumptions about what the reader knows.

I managed to get it installed on ubuntu 14.05, running version 16.11.01,
using a MySQL database and using apache2 with a mod_proxy_ajp setup with
letsencrypt providing the ssl certs.  But this last step has me flumoxed.

Any advice on the setup of a workflow for developing the themes would also
be helpful.

Errors produced are:

thawkins@ofbiz-lon-yousoc:/opt/apache-ofbiz-16.11.01$ sudo ./gradlew
"ofbiz
--load file=themes/asmultiflex/ofbiz-component.xml"

... Lots of normal stuff


2017-04-26 08:13:11,140 |main |GenericDelegator
  |E| Error getting entity definition from model
org.apache.ofbiz.entity.GenericModelException: Could not find definition
for entity name component
at
org.apache.ofbiz.entity.model.ModelReader.getModelEntity(
ModelReader.java:489)
~[ofbiz.jar:?]
at
org.apache.ofbiz.entity.GenericDelegator.getModelEntity(
GenericDelegator.java:411)
[ofbiz.jar:?]
at
org.apache.ofbiz.entity.GenericDelegator.makeValue(
GenericDelegator.java:608)
[ofbiz.jar:?]
at
org.apache.ofbiz.entity.util.EntitySaxReader.startElement(
EntitySaxReader.java:543)
[ofbiz.jar:?]
at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
Source)
[xercesImpl-2.9.1.jar:?]
at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
[xercesImpl-2.9.1.jar:?]
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
.scanStartElement(Unknown
Source) [xercesImpl-2.9.1.jar:?]
at
org.apache.xerces.impl.XMLDocumentScannerImpl$ContentDispatcher.
scanRootElementHook(Unknown
Source) [xercesImpl-2.9.1.jar:?]
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl
$FragmentContentDispatcher.dispatch(Unknown
Source) [xercesImpl-2.9.1.jar:?]
at
org.apache.xerces.impl.XMLDocumentFra

Re: Visual themes and gradlew

2017-04-26 Thread Mike
Because you left the reader-name="seed":



To load it, you have to:

gradlew "ofbiz --load-data readers=seed"

Which reloads ALL the seed, including yours

--or-- (better) Load it directly:

gradlew "ofbiz --load-data file=RELATIVE_PATH/data/AsmultiflexThemeData.xml"


On Wed, Apr 26, 2017 at 2:12 AM, Tim Hawkins  wrote:

> I'm a beginner to of-biz, and I have been trying to edit the eCommerce
> templates.  I'm using the latest version.
>
> I first copied the template for "multiflex" a new version called
> "asmultiflex"
>
> so i have a copy of the whole tree under templates/asmultiflex
>
> Then I edited the the file
>
>  themes/asmultiflex/ofbiz-component.xml
>  and changed all references to "asmultiflex" I also changed the name of the
> file in the Data directory to match, ie
>
>  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:noNamespaceSchemaLocation="
> http://ofbiz.apache.org/dtds/ofbiz-component.xsd";>
> 
> 
>
>
> 
>  location="data/AsmultiflexThemeData.xml"/>
>
>
> 
>  title="asmultiflex"
> menu-name="secondary"
> server="default-server"
> location="webapp/asmultiflex"
> mount-point="/asmultiflex"
> app-bar-display="false"/>
> 
>
> Then i renamed the MultiflexThemeData.xml file in themes/asmultiflex/data
> to AsmultiflexThemeData.xml and edited ti to be:
>
> 
> 
>  description="Airsoc VisualTheme for Ecommerce"/>
>  resourceTypeEnumId="VT_STYLESHEET"
> resourceValue="/ecommerce/images/blog.css" sequenceId="01"/>
>  resourceTypeEnumId="VT_STYLESHEET" resourceValue="/asmultiflex/style.css"
> sequenceId="02"/>
>  resourceTypeEnumId="VT_STYLESHEET"
> resourceValue="/content/images/contentForum.css" sequenceId="04"/>
>  resourceTypeEnumId="VT_SHORTCUT_ICON" resourceValue="/images/ofbiz.ico"
> sequenceId="01"/>
>  resourceTypeEnumId="VT_HDR_IMAGE_URL"
> resourceValue="/images/ofbiz_logo.gif" sequenceId="01"/>
>  resourceTypeEnumId="VT_HDR_TMPLT_LOC"
> resourceValue="component://asmultiflex/template/Header.ftl"
> sequenceId="01"/>
>  resourceTypeEnumId="VT_FTR_TMPLT_LOC"
> resourceValue="component://asmultiflex/template/Footer.ftl"
> sequenceId="01"/>
>  resourceTypeEnumId="VT_SCREENSHOT"
> resourceValue="/asmultiflex/screenshot.jpg" sequenceId="01"/>
> 
>
> So far so good. I did notice that inside the webapp folder there was a
> complete copy of the files in the root, and was not sure what to do with
> them.
>
> Accessing this from the web-store config page i can see that the theme is
> not loaded or recognized. However there are no instructions on how to do
> this with the gradlew tool, so i tried
>
> sudo ./gradelw "ofbiz --load file=templates/asmultiflex/
> ofbiz-component.xml"
>
> This produced a bunch of errors (added at the end)  and clearly did not
> load the theme, as its still not accessible.  The questions i need
> answering are:
>
> 1) Is this correct for duplication a theme, I followed the instructions in
> the how to up until it started talking about using "ant"
>
> 2) Is the the mechanism i have used to load it valid, if not what is the
> correct method.
>
> 3) is there any better documentation around that relates to tasks on a post
> gradlew version. I have considered reverting to a much older version just
> to be aligned with the documentation and the two books I have purchased
> which turned out be as much use as a chocolate teapot.
>
> Is there any howto guides on how to setup and configure of-biz for a simple
> web store, the docs in confluence seem to be very incomplete and make way
> too many assumptions about what the reader knows.
>
> I managed to get it installed on ubuntu 14.05, running version 16.11.01,
> using a MySQL database and using apache2 with a mod_proxy_ajp setup with
> letsencrypt providing the ssl certs.  But this last step has me flumoxed.
>
> Any advice on the setup of a workflow for developing the themes would also
> be helpful.
>
> Errors produced are:
>
> thawkins@ofbiz-lon-yousoc:/opt/apache-ofbiz-16.11.01$ sudo ./gradlew
> "ofbiz
> --load file=themes/asmultiflex/ofbiz-component.xml"
>
> ... Lots of normal stuff
>
>
> 2017-04-26 08:13:11,140 |main |GenericDelegator
>  |E| Error getting entity definition from model
> org.apache.ofbiz.entity.GenericModelException: Could not find definition
> for entity name component
> at
> org.apache.ofbiz.entity.model.ModelReader.getModelEntity(
> ModelReader.java:489)
> ~[ofbiz.jar:?]
> at
> org.apache.ofbiz.entity.GenericDelegator.getModelEntity(
> GenericDelegator.java:411)
> [ofbiz.jar:?]
> at
> org.apache.ofbiz.entity.GenericDelegator.makeValue(
> GenericDelegator.java:608)
> [ofbiz.jar:?]
> at
> org.apache.ofbiz.entity.util.EntitySaxReader.startElement(
> EntitySaxReader.java:543)
> [ofbiz.jar:?]
> at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
> Source)
> [xercesImpl-2.9.1.jar:?]
> at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
> [xercesImpl-2.9.1.jar:?]
> at
> org.apache.xerces.impl.XMLDocume

Re: Visual Themes in wiki

2014-10-19 Thread Jacques Le Roux

BTW, contributors, I'd appreciate some help to fill the the 2nd table 
(ecommerce themes)

Thanks

Jacques

Le 19/10/2014 11:34, Jacques Le Roux a écrit :

I finally kept the page just updated and cleaned it

Jacques

Le 17/10/2014 10:57, Pierre Smits a écrit :

Jacques, all

Maybe we should retain the gallery as a place open for all contributors to
post their screenshots of themes, and a url to where the theme is
maintained?

That we we keep the visibility of the diversity and at the same time keep
maintenance of the page to a minimum.

Regards,

Pierre Smits

*ORRTIZ.COM *
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com

On Fri, Oct 17, 2014 at 6:36 AM, Mike  wrote:


Oldschool still seems to work fine (in 12.04).  I just had to fix the
footer.  Haven't noticed any quirks.

On Thu, Oct 16, 2014 at 10:02 AM, Adrian Crum <
adrian.c...@sandglass-software.com> wrote:


The "Old School" theme was designed by me (https://issues.apache.org/
jira/browse/OFBIZ-918). Layout was easily broken in that theme - that was
one of the motivators for removing it. At the time no one objected, and

no

one stepped forward to maintain it.

Even now - no one is maintaining the Old School theme found in the Wiki.

I understand your frustration, but it is clear there is very little
interest in keeping that theme in the project.


Adrian Crum
Sandglass Software
www.sandglass-software.com

On 10/16/2014 5:25 PM, Mike wrote:


Speaking of themes, I was really upset when the ofbiz developers

"yanked"

out the original backend theme for ofbiz designed by Dave.  It was
elegantly simplistic and functional, and also many books were written
showing it.

The reasons?  Time to move on, time to upgrade, needs a newer polished
look, bla bla bla.  All of the newer themes are not as good as the
original.

At the time, ALL documentation, ALL examples, ALL books had oldschool as
screenshot examples.

Yes, I know "oldschool" is still available, and I do use it, but it does
demonstrate that the few commiters blatantly make substantial changes

(on

a
whim) w/o consulting the community or even thinking things through.

[rant complete]


On Thu, Oct 16, 2014 at 6:15 AM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

  Hi,

I updated the https://cwiki.apache.org/confluence/display/OFBIZ/
Visual+Themes+-+How+to page, notably for new releases but not only,
please review.

I wonder if we should keep https://cwiki.apache.org/
confluence/display/OFBIZ/Visual+Themes+Gallery which is completly out
dated and seems nobody care about creating and updating themes :/

Jacques






Re: Visual Themes in wiki

2014-10-19 Thread Jacques Le Roux

I finally kept the page just updated and cleaned it

Jacques

Le 17/10/2014 10:57, Pierre Smits a écrit :

Jacques, all

Maybe we should retain the gallery as a place open for all contributors to
post their screenshots of themes, and a url to where the theme is
maintained?

That we we keep the visibility of the diversity and at the same time keep
maintenance of the page to a minimum.

Regards,

Pierre Smits

*ORRTIZ.COM *
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com

On Fri, Oct 17, 2014 at 6:36 AM, Mike  wrote:


Oldschool still seems to work fine (in 12.04).  I just had to fix the
footer.  Haven't noticed any quirks.

On Thu, Oct 16, 2014 at 10:02 AM, Adrian Crum <
adrian.c...@sandglass-software.com> wrote:


The "Old School" theme was designed by me (https://issues.apache.org/
jira/browse/OFBIZ-918). Layout was easily broken in that theme - that was
one of the motivators for removing it. At the time no one objected, and

no

one stepped forward to maintain it.

Even now - no one is maintaining the Old School theme found in the Wiki.

I understand your frustration, but it is clear there is very little
interest in keeping that theme in the project.


Adrian Crum
Sandglass Software
www.sandglass-software.com

On 10/16/2014 5:25 PM, Mike wrote:


Speaking of themes, I was really upset when the ofbiz developers

"yanked"

out the original backend theme for ofbiz designed by Dave.  It was
elegantly simplistic and functional, and also many books were written
showing it.

The reasons?  Time to move on, time to upgrade, needs a newer polished
look, bla bla bla.  All of the newer themes are not as good as the
original.

At the time, ALL documentation, ALL examples, ALL books had oldschool as
screenshot examples.

Yes, I know "oldschool" is still available, and I do use it, but it does
demonstrate that the few commiters blatantly make substantial changes

(on

a
whim) w/o consulting the community or even thinking things through.

[rant complete]


On Thu, Oct 16, 2014 at 6:15 AM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

  Hi,

I updated the https://cwiki.apache.org/confluence/display/OFBIZ/
Visual+Themes+-+How+to page, notably for new releases but not only,
please review.

I wonder if we should keep https://cwiki.apache.org/
confluence/display/OFBIZ/Visual+Themes+Gallery which is completly out
dated and seems nobody care about creating and updating themes :/

Jacques




Re: Visual Themes in wiki

2014-10-17 Thread Pierre Smits
Jacques, all

Maybe we should retain the gallery as a place open for all contributors to
post their screenshots of themes, and a url to where the theme is
maintained?

That we we keep the visibility of the diversity and at the same time keep
maintenance of the page to a minimum.

Regards,

Pierre Smits

*ORRTIZ.COM *
Services & Solutions for Cloud-
Based Manufacturing, Professional
Services and Retail & Trade
http://www.orrtiz.com

On Fri, Oct 17, 2014 at 6:36 AM, Mike  wrote:

> Oldschool still seems to work fine (in 12.04).  I just had to fix the
> footer.  Haven't noticed any quirks.
>
> On Thu, Oct 16, 2014 at 10:02 AM, Adrian Crum <
> adrian.c...@sandglass-software.com> wrote:
>
> > The "Old School" theme was designed by me (https://issues.apache.org/
> > jira/browse/OFBIZ-918). Layout was easily broken in that theme - that was
> > one of the motivators for removing it. At the time no one objected, and
> no
> > one stepped forward to maintain it.
> >
> > Even now - no one is maintaining the Old School theme found in the Wiki.
> >
> > I understand your frustration, but it is clear there is very little
> > interest in keeping that theme in the project.
> >
> >
> > Adrian Crum
> > Sandglass Software
> > www.sandglass-software.com
> >
> > On 10/16/2014 5:25 PM, Mike wrote:
> >
> >> Speaking of themes, I was really upset when the ofbiz developers
> "yanked"
> >> out the original backend theme for ofbiz designed by Dave.  It was
> >> elegantly simplistic and functional, and also many books were written
> >> showing it.
> >>
> >> The reasons?  Time to move on, time to upgrade, needs a newer polished
> >> look, bla bla bla.  All of the newer themes are not as good as the
> >> original.
> >>
> >> At the time, ALL documentation, ALL examples, ALL books had oldschool as
> >> screenshot examples.
> >>
> >> Yes, I know "oldschool" is still available, and I do use it, but it does
> >> demonstrate that the few commiters blatantly make substantial changes
> (on
> >> a
> >> whim) w/o consulting the community or even thinking things through.
> >>
> >> [rant complete]
> >>
> >>
> >> On Thu, Oct 16, 2014 at 6:15 AM, Jacques Le Roux <
> >> jacques.le.r...@les7arts.com> wrote:
> >>
> >>  Hi,
> >>>
> >>> I updated the https://cwiki.apache.org/confluence/display/OFBIZ/
> >>> Visual+Themes+-+How+to page, notably for new releases but not only,
> >>> please review.
> >>>
> >>> I wonder if we should keep https://cwiki.apache.org/
> >>> confluence/display/OFBIZ/Visual+Themes+Gallery which is completly out
> >>> dated and seems nobody care about creating and updating themes :/
> >>>
> >>> Jacques
> >>>
> >>>
> >>
>


Re: Visual Themes in wiki

2014-10-16 Thread Mike
Oldschool still seems to work fine (in 12.04).  I just had to fix the
footer.  Haven't noticed any quirks.

On Thu, Oct 16, 2014 at 10:02 AM, Adrian Crum <
adrian.c...@sandglass-software.com> wrote:

> The "Old School" theme was designed by me (https://issues.apache.org/
> jira/browse/OFBIZ-918). Layout was easily broken in that theme - that was
> one of the motivators for removing it. At the time no one objected, and no
> one stepped forward to maintain it.
>
> Even now - no one is maintaining the Old School theme found in the Wiki.
>
> I understand your frustration, but it is clear there is very little
> interest in keeping that theme in the project.
>
>
> Adrian Crum
> Sandglass Software
> www.sandglass-software.com
>
> On 10/16/2014 5:25 PM, Mike wrote:
>
>> Speaking of themes, I was really upset when the ofbiz developers "yanked"
>> out the original backend theme for ofbiz designed by Dave.  It was
>> elegantly simplistic and functional, and also many books were written
>> showing it.
>>
>> The reasons?  Time to move on, time to upgrade, needs a newer polished
>> look, bla bla bla.  All of the newer themes are not as good as the
>> original.
>>
>> At the time, ALL documentation, ALL examples, ALL books had oldschool as
>> screenshot examples.
>>
>> Yes, I know "oldschool" is still available, and I do use it, but it does
>> demonstrate that the few commiters blatantly make substantial changes (on
>> a
>> whim) w/o consulting the community or even thinking things through.
>>
>> [rant complete]
>>
>>
>> On Thu, Oct 16, 2014 at 6:15 AM, Jacques Le Roux <
>> jacques.le.r...@les7arts.com> wrote:
>>
>>  Hi,
>>>
>>> I updated the https://cwiki.apache.org/confluence/display/OFBIZ/
>>> Visual+Themes+-+How+to page, notably for new releases but not only,
>>> please review.
>>>
>>> I wonder if we should keep https://cwiki.apache.org/
>>> confluence/display/OFBIZ/Visual+Themes+Gallery which is completly out
>>> dated and seems nobody care about creating and updating themes :/
>>>
>>> Jacques
>>>
>>>
>>


Re: Visual Themes in wiki

2014-10-16 Thread Jacques Le Roux

BTW the discussion began here http://markmail.org/message/uytj5eae5tm6pgpn

Jacques

Le 16/10/2014 19:06, Jacques Le Roux a écrit :

Rants are appreciated, help even more

Jacques

Le 16/10/2014 18:25, Mike a écrit :

Speaking of themes, I was really upset when the ofbiz developers "yanked"
out the original backend theme for ofbiz designed by Dave.  It was
elegantly simplistic and functional, and also many books were written
showing it.

The reasons?  Time to move on, time to upgrade, needs a newer polished
look, bla bla bla.  All of the newer themes are not as good as the original.

At the time, ALL documentation, ALL examples, ALL books had oldschool as
screenshot examples.

Yes, I know "oldschool" is still available, and I do use it, but it does
demonstrate that the few commiters blatantly make substantial changes (on a
whim) w/o consulting the community or even thinking things through.

[rant complete]


On Thu, Oct 16, 2014 at 6:15 AM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:


Hi,

I updated the https://cwiki.apache.org/confluence/display/OFBIZ/
Visual+Themes+-+How+to page, notably for new releases but not only,
please review.

I wonder if we should keep https://cwiki.apache.org/
confluence/display/OFBIZ/Visual+Themes+Gallery which is completly out
dated and seems nobody care about creating and updating themes :/

Jacques





Re: Visual Themes in wiki

2014-10-16 Thread Jacques Le Roux

Rants are appreciated, help even more

Jacques

Le 16/10/2014 18:25, Mike a écrit :

Speaking of themes, I was really upset when the ofbiz developers "yanked"
out the original backend theme for ofbiz designed by Dave.  It was
elegantly simplistic and functional, and also many books were written
showing it.

The reasons?  Time to move on, time to upgrade, needs a newer polished
look, bla bla bla.  All of the newer themes are not as good as the original.

At the time, ALL documentation, ALL examples, ALL books had oldschool as
screenshot examples.

Yes, I know "oldschool" is still available, and I do use it, but it does
demonstrate that the few commiters blatantly make substantial changes (on a
whim) w/o consulting the community or even thinking things through.

[rant complete]


On Thu, Oct 16, 2014 at 6:15 AM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:


Hi,

I updated the https://cwiki.apache.org/confluence/display/OFBIZ/
Visual+Themes+-+How+to page, notably for new releases but not only,
please review.

I wonder if we should keep https://cwiki.apache.org/
confluence/display/OFBIZ/Visual+Themes+Gallery which is completly out
dated and seems nobody care about creating and updating themes :/

Jacques



Re: Visual Themes in wiki

2014-10-16 Thread Adrian Crum
The "Old School" theme was designed by me 
(https://issues.apache.org/jira/browse/OFBIZ-918). Layout was easily 
broken in that theme - that was one of the motivators for removing it. 
At the time no one objected, and no one stepped forward to maintain it.


Even now - no one is maintaining the Old School theme found in the Wiki.

I understand your frustration, but it is clear there is very little 
interest in keeping that theme in the project.



Adrian Crum
Sandglass Software
www.sandglass-software.com

On 10/16/2014 5:25 PM, Mike wrote:

Speaking of themes, I was really upset when the ofbiz developers "yanked"
out the original backend theme for ofbiz designed by Dave.  It was
elegantly simplistic and functional, and also many books were written
showing it.

The reasons?  Time to move on, time to upgrade, needs a newer polished
look, bla bla bla.  All of the newer themes are not as good as the original.

At the time, ALL documentation, ALL examples, ALL books had oldschool as
screenshot examples.

Yes, I know "oldschool" is still available, and I do use it, but it does
demonstrate that the few commiters blatantly make substantial changes (on a
whim) w/o consulting the community or even thinking things through.

[rant complete]


On Thu, Oct 16, 2014 at 6:15 AM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:


Hi,

I updated the https://cwiki.apache.org/confluence/display/OFBIZ/
Visual+Themes+-+How+to page, notably for new releases but not only,
please review.

I wonder if we should keep https://cwiki.apache.org/
confluence/display/OFBIZ/Visual+Themes+Gallery which is completly out
dated and seems nobody care about creating and updating themes :/

Jacques





Re: Visual Themes in wiki

2014-10-16 Thread Jacques Le Roux


Le 16/10/2014 15:15, Jacques Le Roux a écrit :

Hi,

I wonder if we should keep https://cwiki.apache.org/confluence/display/OFBIZ/Visual+Themes+Gallery which is completly out dated and seems nobody 
care about creating and updating themes :/


I will remove this page in a week...

Jacques



Jacques



Re: Visual Themes in wiki

2014-10-16 Thread Jacques Le Roux

Actually, as I explained to Ron, the comments where not about what you 
mentioned, but only on how to change the default backend theme.
But it was a good idead so I put your suggestion in a comment to not lose the 
idea

Jacques

Le 16/10/2014 17:25, Adrian Crum a écrit :
When the Visual Theme feature was first introduced, it was suggested that OFBiz should have an application where you can create a new visual theme 
easily. The application would provide a means to upload CSS & JS files, templates, etc.


No one has contributed that application, so the comment is still valid.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 10/16/2014 3:57 PM, Ron Wheeler wrote:

On 16/10/2014 9:15 AM, Jacques Le Roux wrote:

Hi,

I updated the
https://cwiki.apache.org/confluence/display/OFBIZ/Visual+Themes+-+How+to
page, notably for new releases but not only, please review.

I wonder if we should keep
https://cwiki.apache.org/confluence/display/OFBIZ/Visual+Themes+Gallery which
is completly out dated and seems nobody care about creating and
updating themes :/

Jacques


It looks like there are some tasks that are identified on the first
reference.
1) There is a link to a script in a JIRA. Is this script something than
belongs as part of  an administration task

2) In the comments, there is a request for a proper theme administration
tool

Are these comments still valid?
The comments on the page date back to 2009 (5 years). Having comments
from 2 or 3 revisions back are confusing since one can not tell if they
apply to the current version or not.

Can someone remove the ones that have been addressed and create JIRA
issues to get the unresolved issues onto the task list and link the page
to the outstanding JIRA items where it makes sense.

Ron





Re: Visual Themes in wiki

2014-10-16 Thread Jacques Le Roux


Le 16/10/2014 16:57, Ron Wheeler a écrit :

On 16/10/2014 9:15 AM, Jacques Le Roux wrote:

Hi,

I updated the 
https://cwiki.apache.org/confluence/display/OFBIZ/Visual+Themes+-+How+to page, 
notably for new releases but not only, please review.

I wonder if we should keep https://cwiki.apache.org/confluence/display/OFBIZ/Visual+Themes+Gallery which is completly out dated and seems nobody 
care about creating and updating themes :/


Jacques


It looks like there are some tasks that are identified on the first reference.
1) There is a link to a script in a JIRA. Is this script something than belongs 
as part of  an administration task


It's a possible help to copy one theme to a new one beside the manual way which 
shows below.
I'm not quite sure it's up to date. I don't know if people use it.



2) In the comments, there is a request for a proper theme administration tool


Nope, it's was only about changing the default theme, which is now easily 
handled by a property in general.properties as I changed in the page



Are these comments still valid?


Nope I removed all of them

Jacques

The comments on the page date back to 2009 (5 years). Having comments from 2 or 3 revisions back are confusing since one can not tell if they apply 
to the current version or not.


Can someone remove the ones that have been addressed and create JIRA issues to get the unresolved issues onto the task list and link the page to the 
outstanding JIRA items where it makes sense.


Ron



Re: Visual Themes in wiki

2014-10-16 Thread Mike
Speaking of themes, I was really upset when the ofbiz developers "yanked"
out the original backend theme for ofbiz designed by Dave.  It was
elegantly simplistic and functional, and also many books were written
showing it.

The reasons?  Time to move on, time to upgrade, needs a newer polished
look, bla bla bla.  All of the newer themes are not as good as the original.

At the time, ALL documentation, ALL examples, ALL books had oldschool as
screenshot examples.

Yes, I know "oldschool" is still available, and I do use it, but it does
demonstrate that the few commiters blatantly make substantial changes (on a
whim) w/o consulting the community or even thinking things through.

[rant complete]


On Thu, Oct 16, 2014 at 6:15 AM, Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi,
>
> I updated the https://cwiki.apache.org/confluence/display/OFBIZ/
> Visual+Themes+-+How+to page, notably for new releases but not only,
> please review.
>
> I wonder if we should keep https://cwiki.apache.org/
> confluence/display/OFBIZ/Visual+Themes+Gallery which is completly out
> dated and seems nobody care about creating and updating themes :/
>
> Jacques
>


Re: Visual Themes in wiki

2014-10-16 Thread Adrian Crum
When the Visual Theme feature was first introduced, it was suggested 
that OFBiz should have an application where you can create a new visual 
theme easily. The application would provide a means to upload CSS & JS 
files, templates, etc.


No one has contributed that application, so the comment is still valid.

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 10/16/2014 3:57 PM, Ron Wheeler wrote:

On 16/10/2014 9:15 AM, Jacques Le Roux wrote:

Hi,

I updated the
https://cwiki.apache.org/confluence/display/OFBIZ/Visual+Themes+-+How+to
page, notably for new releases but not only, please review.

I wonder if we should keep
https://cwiki.apache.org/confluence/display/OFBIZ/Visual+Themes+Gallery which
is completly out dated and seems nobody care about creating and
updating themes :/

Jacques


It looks like there are some tasks that are identified on the first
reference.
1) There is a link to a script in a JIRA. Is this script something than
belongs as part of  an administration task

2) In the comments, there is a request for a proper theme administration
tool

Are these comments still valid?
The comments on the page date back to 2009 (5 years). Having comments
from 2 or 3 revisions back are confusing since one can not tell if they
apply to the current version or not.

Can someone remove the ones that have been addressed and create JIRA
issues to get the unresolved issues onto the task list and link the page
to the outstanding JIRA items where it makes sense.

Ron



Re: Visual Themes in wiki

2014-10-16 Thread Ron Wheeler

On 16/10/2014 9:15 AM, Jacques Le Roux wrote:

Hi,

I updated the 
https://cwiki.apache.org/confluence/display/OFBIZ/Visual+Themes+-+How+to 
page, notably for new releases but not only, please review.


I wonder if we should keep 
https://cwiki.apache.org/confluence/display/OFBIZ/Visual+Themes+Gallery which 
is completly out dated and seems nobody care about creating and 
updating themes :/


Jacques

It looks like there are some tasks that are identified on the first 
reference.
1) There is a link to a script in a JIRA. Is this script something than 
belongs as part of  an administration task


2) In the comments, there is a request for a proper theme administration 
tool


Are these comments still valid?
The comments on the page date back to 2009 (5 years). Having comments 
from 2 or 3 revisions back are confusing since one can not tell if they 
apply to the current version or not.


Can someone remove the ones that have been addressed and create JIRA 
issues to get the unresolved issues onto the task list and link the page 
to the outstanding JIRA items where it makes sense.


Ron

--
Ron Wheeler
President
Artifact Software Inc
email: rwhee...@artifact-software.com
skype: ronaldmwheeler
phone: 866-970-2435, ext 102



Re: Visual Themes

2009-09-04 Thread Scott Gray
Ah okay sorry, the general.properties setting only applies if the  
UserPreference record from CommonTypeData.xml that you mentioned is  
missing.


Also the wiki looks wrong to me, it should be partyId="_NA_" and not  
partyId="NA"


Once you've changed the CommonTypeData.xml file you'll need to run ant  
run-install-seed


ant run-install should only be used when you have an empty database  
since it also loads seed-initial data which should only be loaded once  
per install.


Regards
Scott

On 5/09/2009, at 1:58 PM, Ruth Hoffman wrote:


Sure:
http://docs.ofbiz.org/display/OFBIZ/Visual+Themes+-+How+to?focusedCommentId=9091#comment-9091
BTW, I just tried changing the theme in the general properties as  
you suggested in trunk version: 806815  and nothing changed. What  
else do I need to do?


Thanks
Ruth
Scott Gray wrote:

I'm not familiar with the document, could you send me the link?

Thanks
Scott

On 5/09/2009, at 1:47 PM, Ruth Hoffman wrote:


Hi Scott:
Thanks. So does that mean that what the Wiki says about  
CommonTypeData.xml is irrelevant?

TIA
Ruth

Scott Gray wrote:

Hi Ruth

The default visual theme id can set in general.properties, in  
this case to FLAT_GREY.


Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 5/09/2009, at 12:56 PM, Ruth Hoffman wrote:


Hi All:
Its not clear from the Wiki how this works:
To change a theme from the default "BLUELIGHT" on the version I  
downloaded to "FLATGREY".  Do I need to run the ant run-install  
as well as change CommonTypeData.xml? And how about restarting?  
I'm assuming that I also need to restart. Is that true?


Any advice would be appreciated.
Thanks
Ruth








smime.p7s
Description: S/MIME cryptographic signature


Re: Visual Themes

2009-09-04 Thread Ruth Hoffman

Sure:
http://docs.ofbiz.org/display/OFBIZ/Visual+Themes+-+How+to?focusedCommentId=9091#comment-9091
BTW, I just tried changing the theme in the general properties as you 
suggested in trunk version: 806815  and nothing changed. What else do I 
need to do?


Thanks
Ruth
Scott Gray wrote:

I'm not familiar with the document, could you send me the link?

Thanks
Scott

On 5/09/2009, at 1:47 PM, Ruth Hoffman wrote:


Hi Scott:
Thanks. So does that mean that what the Wiki says about 
CommonTypeData.xml is irrelevant?

TIA
Ruth

Scott Gray wrote:

Hi Ruth

The default visual theme id can set in general.properties, in this 
case to FLAT_GREY.


Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 5/09/2009, at 12:56 PM, Ruth Hoffman wrote:


Hi All:
Its not clear from the Wiki how this works:
To change a theme from the default "BLUELIGHT" on the version I 
downloaded to "FLATGREY".  Do I need to run the ant run-install as 
well as change CommonTypeData.xml? And how about restarting? I'm 
assuming that I also need to restart. Is that true?


Any advice would be appreciated.
Thanks
Ruth






Re: Visual Themes

2009-09-04 Thread Scott Gray

I'm not familiar with the document, could you send me the link?

Thanks
Scott

On 5/09/2009, at 1:47 PM, Ruth Hoffman wrote:


Hi Scott:
Thanks. So does that mean that what the Wiki says about  
CommonTypeData.xml is irrelevant?

TIA
Ruth

Scott Gray wrote:

Hi Ruth

The default visual theme id can set in general.properties, in this  
case to FLAT_GREY.


Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 5/09/2009, at 12:56 PM, Ruth Hoffman wrote:


Hi All:
Its not clear from the Wiki how this works:
To change a theme from the default "BLUELIGHT" on the version I  
downloaded to "FLATGREY".  Do I need to run the ant run-install as  
well as change CommonTypeData.xml? And how about restarting? I'm  
assuming that I also need to restart. Is that true?


Any advice would be appreciated.
Thanks
Ruth






smime.p7s
Description: S/MIME cryptographic signature


Re: Visual Themes

2009-09-04 Thread Ruth Hoffman

Hi Scott:
Thanks. So does that mean that what the Wiki says about 
CommonTypeData.xml is irrelevant?

TIA
Ruth

Scott Gray wrote:

Hi Ruth

The default visual theme id can set in general.properties, in this 
case to FLAT_GREY.


Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 5/09/2009, at 12:56 PM, Ruth Hoffman wrote:


Hi All:
Its not clear from the Wiki how this works:
To change a theme from the default "BLUELIGHT" on the version I 
downloaded to "FLATGREY".  Do I need to run the ant run-install as 
well as change CommonTypeData.xml? And how about restarting? I'm 
assuming that I also need to restart. Is that true?


Any advice would be appreciated.
Thanks
Ruth




Re: Visual Themes

2009-09-04 Thread Scott Gray

Hi Ruth

The default visual theme id can set in general.properties, in this  
case to FLAT_GREY.


Regards
Scott

HotWax Media
http://www.hotwaxmedia.com

On 5/09/2009, at 12:56 PM, Ruth Hoffman wrote:


Hi All:
Its not clear from the Wiki how this works:
To change a theme from the default "BLUELIGHT" on the version I  
downloaded to "FLATGREY".  Do I need to run the ant run-install as  
well as change CommonTypeData.xml? And how about restarting? I'm  
assuming that I also need to restart. Is that true?


Any advice would be appreciated.
Thanks
Ruth




smime.p7s
Description: S/MIME cryptographic signature


Re: Visual themes error

2009-04-25 Thread Eric DE MAULDE

Resolved

The problem was into USER_PREFERENCE table
with
   user_login_id='admin'
   user_pref_type_id='VISUAL_THEME'
   user_pref_value='DEFAULT'

I changed user_pref_value into by ex. "FLAT_GREY"

Where does 'DEFAULT' come from : seed data ?

Eric
- Original Message - 
From: "Eric DE MAULDE" 

To: ; 
Sent: Saturday, April 25, 2009 3:34 AM
Subject: Re: Visual themes error



I ran this command several times but always this error appends
thanks

Eric
- Original Message - 
From: "Adrian Crum" 

To: 
Sent: Saturday, April 25, 2009 2:34 AM
Subject: Re: Visual themes error




Make sure you run ant install-seed after updating from the trunk.

-Adrian


--- On Fri, 4/24/09, Eric DE MAULDE  wrote:


From: Eric DE MAULDE 
Subject: Visual themes error
To: user@ofbiz.apache.org
Date: Friday, April 24, 2009, 4:28 PM
Hello,

My development server works fine.
But my production server (same official trunk version
768363) has a problem with visual themes.

After I logged into any applications, the page doesn't
have an header, footer and appbar :

"Error rendering included template at location
[component://common/webcommon/includes/header.ftl]:
java.lang.IllegalArgumentException: FreeMarker file not
found at location:
component://common/webcommon/includes/header.ftl Error
rendering included template at location
[component://common/webcommon/includes/appbar.ftl]:
java.lang.IllegalArgumentException: FreeMarker file not
found at location:
component://common/webcommon/includes/appbar.ftl"

The error message is :

org.ofbiz.widget.screen.ScreenRenderException: Error
rendering screen
[component://product/widget/catalog/CommonScreens.xml#leftbar]:
org.ofbiz.entity.transaction.GenericTransactionException:
The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation;
the rollbackOnly was caused by: Error in simple-method [Get
visual theme resources
[file:/home/ofbiz/customOfbizWorkingCopy/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
; [Visual Theme resources not found.] (The current
transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly
was caused by: Error in simple-method [Get visual theme
resources
[file:/home/ofbiz/customOfbizWorkingCopy/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
; [Visual Theme resources not found.])

Into ${ofbiz
directory}/framework/common/widget/CommonScreens.xml, there
are (I think) wrong default values :





Because default files don't exist.

I don't know why 2 servers runs differently with the
same official trunk version (768363)


Eric












Re: Visual themes error

2009-04-24 Thread Eric DE MAULDE

I ran this command several times but always this error appends
thanks

Eric
- Original Message - 
From: "Adrian Crum" 

To: 
Sent: Saturday, April 25, 2009 2:34 AM
Subject: Re: Visual themes error




Make sure you run ant install-seed after updating from the trunk.

-Adrian


--- On Fri, 4/24/09, Eric DE MAULDE  wrote:


From: Eric DE MAULDE 
Subject: Visual themes error
To: user@ofbiz.apache.org
Date: Friday, April 24, 2009, 4:28 PM
Hello,

My development server works fine.
But my production server (same official trunk version
768363) has a problem with visual themes.

After I logged into any applications, the page doesn't
have an header, footer and appbar :

"Error rendering included template at location
[component://common/webcommon/includes/header.ftl]:
java.lang.IllegalArgumentException: FreeMarker file not
found at location:
component://common/webcommon/includes/header.ftl Error
rendering included template at location
[component://common/webcommon/includes/appbar.ftl]:
java.lang.IllegalArgumentException: FreeMarker file not
found at location:
component://common/webcommon/includes/appbar.ftl"

The error message is :

org.ofbiz.widget.screen.ScreenRenderException: Error
rendering screen
[component://product/widget/catalog/CommonScreens.xml#leftbar]:
org.ofbiz.entity.transaction.GenericTransactionException:
The current transaction is marked for rollback, not
beginning a new transaction and aborting current operation;
the rollbackOnly was caused by: Error in simple-method [Get
visual theme resources
[file:/home/ofbiz/customOfbizWorkingCopy/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
; [Visual Theme resources not found.] (The current
transaction is marked for rollback, not beginning a new
transaction and aborting current operation; the rollbackOnly
was caused by: Error in simple-method [Get visual theme
resources
[file:/home/ofbiz/customOfbizWorkingCopy/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
; [Visual Theme resources not found.])

Into ${ofbiz
directory}/framework/common/widget/CommonScreens.xml, there
are (I think) wrong default values :





Because default files don't exist.

I don't know why 2 servers runs differently with the
same official trunk version (768363)


Eric









Re: Visual themes error

2009-04-24 Thread Adrian Crum

Make sure you run ant install-seed after updating from the trunk.

-Adrian


--- On Fri, 4/24/09, Eric DE MAULDE  wrote:

> From: Eric DE MAULDE 
> Subject: Visual themes error
> To: user@ofbiz.apache.org
> Date: Friday, April 24, 2009, 4:28 PM
> Hello,
> 
> My development server works fine.
> But my production server (same official trunk version
> 768363) has a problem with visual themes.
> 
> After I logged into any applications, the page doesn't
> have an header, footer and appbar :
> 
> "Error rendering included template at location
> [component://common/webcommon/includes/header.ftl]:
> java.lang.IllegalArgumentException: FreeMarker file not
> found at location:
> component://common/webcommon/includes/header.ftl Error
> rendering included template at location
> [component://common/webcommon/includes/appbar.ftl]:
> java.lang.IllegalArgumentException: FreeMarker file not
> found at location:
> component://common/webcommon/includes/appbar.ftl"
> 
> The error message is :
> 
> org.ofbiz.widget.screen.ScreenRenderException: Error
> rendering screen
> [component://product/widget/catalog/CommonScreens.xml#leftbar]:
> org.ofbiz.entity.transaction.GenericTransactionException:
> The current transaction is marked for rollback, not
> beginning a new transaction and aborting current operation;
> the rollbackOnly was caused by: Error in simple-method [Get
> visual theme resources
> [file:/home/ofbiz/customOfbizWorkingCopy/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
> ; [Visual Theme resources not found.] (The current
> transaction is marked for rollback, not beginning a new
> transaction and aborting current operation; the rollbackOnly
> was caused by: Error in simple-method [Get visual theme
> resources
> [file:/home/ofbiz/customOfbizWorkingCopy/trunk/framework/common/script/org/ofbiz/common/CommonServices.xml#getVisualThemeResources]]:
> ; [Visual Theme resources not found.])
> 
> Into ${ofbiz
> directory}/framework/common/widget/CommonScreens.xml, there
> are (I think) wrong default values :
> 
>  from-field="layoutSettings.VT_HDR_TMPLT_LOC[0]"
> default-value="component://common/webcommon/includes/header.ftl"/>
>  from-field="layoutSettings.VT_FTR_TMPLT_LOC[0]"
> default-value="component://common/webcommon/includes/footer.ftl"/>
>  from-field="layoutSettings.VT_NAV_TMPLT_LOC[0]"
> default-value="component://common/webcommon/includes/appbar.ftl"/>
> 
> Because default files don't exist.
> 
> I don't know why 2 servers runs differently with the
> same official trunk version (768363)
> 
> 
> Eric


  


Re: Visual Themes

2009-03-03 Thread Bruno Busco
Roel,
a VisualTheme can have several type of VisualThemeResource associated.
Those can be found in the file:
\framework\common\data\CommonTypeData.xml

For your convenience here they are:
















2009/3/3 Roel Veldhuizen :
> Yes, there is a short list with six VisualThemeResources in the
> ThemeData.xml but are there more. For example could I override the
> login.ftl?
>
> 2009/3/3 BJ Freeman :
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> That is already done, unless you are more specific.
>>
>> Roel Veldhuizen sent the following on 3/3/2009 2:51 AM:
>>> In the file ThemeData.xml you could override the header.ftl and
>>> footer.ftl and so on but which files can i override? Is there a
>>> complete list some where?
>>>
>>>
>> -BEGIN PGP SIGNATURE-
>> Version: GnuPG v1.4.6 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFJrQ22rP3NbaWWqE4RAkrfAKDB26E8+1Ne14Qyj4zH+naZcBm5BgCfQmvE
>> 8QOzsvqmlzkarKPK/X5O1ns=
>> =o7Yj
>> -END PGP SIGNATURE-
>>
>


Re: Visual Themes

2009-03-03 Thread Roel Veldhuizen
Yes, there is a short list with six VisualThemeResources in the
ThemeData.xml but are there more. For example could I override the
login.ftl?

2009/3/3 BJ Freeman :
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> That is already done, unless you are more specific.
>
> Roel Veldhuizen sent the following on 3/3/2009 2:51 AM:
>> In the file ThemeData.xml you could override the header.ftl and
>> footer.ftl and so on but which files can i override? Is there a
>> complete list some where?
>>
>>
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJrQ22rP3NbaWWqE4RAkrfAKDB26E8+1Ne14Qyj4zH+naZcBm5BgCfQmvE
> 8QOzsvqmlzkarKPK/X5O1ns=
> =o7Yj
> -END PGP SIGNATURE-
>


Re: Visual Themes

2009-03-03 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

That is already done, unless you are more specific.

Roel Veldhuizen sent the following on 3/3/2009 2:51 AM:
> In the file ThemeData.xml you could override the header.ftl and
> footer.ftl and so on but which files can i override? Is there a
> complete list some where?
> 
> 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJrQ22rP3NbaWWqE4RAkrfAKDB26E8+1Ne14Qyj4zH+naZcBm5BgCfQmvE
8QOzsvqmlzkarKPK/X5O1ns=
=o7Yj
-END PGP SIGNATURE-