remapping the directory structure

Author Message

cfa cfa

Wednesday 30 July 2003 9:47:39 pm

i am currently working on a product-index for a multi-language site (where every language got its own siteaccess).

the products and productgroups are plenty (more than 500) are organized in the following (simpliefied) directory structure:

productgroup - product

now i want to add geographical information (country and province) to this directory structure (or the product-class object) where this geographical information would be accessed in two ways:

productgroup - product - country - province (the normal way)
country - province - productgroup - product (the re-mapped way)

the user should experience the COUNTRY and STATE as part of the directory structure (like it is done on YAHOO) and just click himself thru to the desired PRODUCT from top-to-bottom or the other way round.

i tried out the following ways of implementation:

DIRECTORY STRUCTURE - just make two of them! some countries have a lot of provinces, and there are many countries on this earth!

ENUM-FIELD implementation of country and province but failed to create a good relation between COUNTRY and PROVINCE, ENUM-fields can t get translated into other languages either.

RELATED OBJECT to a country and its province (and just create te countries and provinces needed during input). this worked good with multi-languages!

COUNTRY CLASS object. there was one posted, but only in english...

thanks!

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