Problem with a new food class

Author Message

Shurbann Martes

Tuesday 16 September 2003 7:53:56 am

Hi,

I'm working on a food class, where someone can put his own recipe. Now the problem is how to make sure that I have enough places for someone to put all the ingredients?

For example:
If i decided to put only 3 lines textline and someone has a recipe with 4 ingredients, there is a problem.

I'm thinking of making an two pages; the first one with the option to enter how many ingredients the recipe consist of and then click continue to enter the ingredients. Is this a good solution and how can I accomplish this?

Paul Borgermans

Tuesday 16 September 2003 8:58:57 am

Since I'm hungry: use the matrix datatype (ezp3.2) for ingredients. By default, the interface allows to add rows to such objects.

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.