Forums / Setup & design / "Information Design" question

"Information Design" question

Author Message

Mariano Sokal

Tuesday 12 June 2007 3:04:37 pm

Hello, I´m very new to ezpublish and I´m already liking it a lot.

Here´s my question: I need to be able to show several pieces of information, for example training courses, that fit in more than a single category. For example I have the following:

- "English as a Second Language", which can be in the US, Australia or Canada
- "Internships" which can be in UK or Australia
- "French as a Second Language" which can be in Canada or France

Then I would like the users to browse by a category named "countries" so they see every program they may in Canada, being french or english. Or browsing by "english language programs", and they would see programs in Canada and so on.

My idea is not having to duplicate the information, but assigning or (tagging?) more than one category to each piece of information.

Any recommendations on how to do that?

Kind regards,
AiZ

Greg McAvoy-Jensen

Tuesday 12 June 2007 5:54:55 pm

Welcome!

Have you considered setting up a selection datatype for country? See http://ez.no/doc/ez_publish/technical_manual/3_9/reference/datatypes/selection and http://ez.no/community/forum/general/how_would_you_make_this_in_ez_publish. It may work as long as you never delete a country.

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

Felipe Jaramillo

Wednesday 13 June 2007 3:42:40 pm

Actually I would suggest two approaches for this:

Using an object relation datatype in the course, internship, and other classes that is related to a folder's content (could be country or anything else).

Or, leveraging the tagging functionality in 3.9.2 The good thing about the tagging functionality in this last version is that it does not require related nodes to be of the same class.

All in all, this is definately not something hard to do.

Good luck!

Felipe
(Just got the Certified Extension Developer title!!!!)

Felipe Jaramillo
eZ Certified Extension Developer
http://www.aplyca.com | Bogotá, Colombia

Mariano Sokal

Wednesday 27 June 2007 11:36:40 am

Thank you very much. It took me some time to understand it and getting it done, but now it works fine for me.

Felipe, what did you mean by leveraging the tag functionality? (si te es mas facil ayudarme en español te pregunto directamente por email).

Best Regards,
Mariano