Page 1 of 1

[Newbie] A bit lost... (multi-category movies)

Posted: 2006-05-14 14:31:10
by Zaphod
Hey everyone...

I've just created a new base with my DVD list. I've imported informations from the Internet, and i'm very happy ! :D This soft is really excellent...

However, the site from which I've imported, uses multi-category classification. For example, Lethal Weapon is categorized as Action, but Danny the dog is categorized as Action, Kung Fu.

So AMC has two distinct categories Action and Action, Kung Fu.

In fact, i'd like to know if there's a way to export to a sql base, using multi-category, so i can list Danny the dog in Action and in Kung Fu.

Moreover, if there's an already-made frond end in PHP, i agree to take it too :ha: !!!

Thanks in advance, and if this has already been discussed, excuse me once again...

This question can also be asked for Actors, Directors, Sub-titles, Languages, Producers, Country, ans so on...

Posted: 2006-05-14 16:01:28
by antp
Multiple values for categories is not handled by AMC.
So it would be possible that a template splits the multiple categories stored in the field, but it is not stored as separated values in the database, and not possible to export the data as separated values.

Posted: 2006-05-14 16:09:02
by Zaphod
antp wrote:Multiple values for categories is not handled by AMC.
I know, and that's not a problem at all.
antp wrote:So it would be possible that a template splits the multiple categories stored in the field
Ok, so we can do it in a template. I believe that templates are for export, so what kind of template can I use to do it ? HTML ? And moreover how a template can split it ? And has anyone already tried it ? Will I have to do things like that :

Code: Select all

<?php
  ...
  process_multicategory(THECATEGORY);
  ...
?>
Or is there a simplier way ?

Posted: 2006-05-15 08:20:30
by antp
I mean that it could be processed by a PHP template, but not in a static HTML exported file.

Posted: 2006-05-15 08:35:37
by Zaphod
Ok, I'll try to wort it out... But if someone, has already succeeded in doing it... Just answer here... :grinking:

Posted: 2006-10-28 20:50:13
by lestatou
Please... I need some help.

I use this script with php http://lestatou.iespana.es/example.php

I'm spanish and my english is not very good, sorry.

I want to split "multicategories" in "individual categories". For example:

the movie "La Batalla de midway" has "drama" and "belica" categories, but ant movie creates a multicategory called "drama, belica". I want that in my php "la batalla de midway" appears at categoris of "drama" and "belica" and not in a category called "drama, belica".

I suposse that this question is very frequently, but I don't have idea about php, sorry.

Thanks !