Forums / Suggestions / Using class name instead of numeric id in template override system

Using class name instead of numeric id in template override system

Author Message

antonio lombrano

Friday 23 January 2004 12:30:36 pm

I posted a similar comment in the documentation. I think that the use of numeric id in the template override system will cause the code to be not portable. The same class will usually have different ids in different system. So the coder will be obliged to check and modify the code before porting it to another system. It would be much simpler using the class name or a user-definied id.

Kåre Køhler Høvik

Monday 26 January 2004 5:53:18 am

Hi

Version 3.4 already support the following syntax:

Match[class_identifirer]=folder

We'll use this in the packages for 3.4

--
Kåre Høvik

Kåre Høvik

antonio lombrano

Tuesday 27 January 2004 4:59:18 am

Oh...that's much better.
So, if I create a new class...let's say book_review I will use
Match[Class_identifier]=book_review
Right ?

Kåre Køhler Høvik

Tuesday 27 January 2004 5:06:24 am

Hi

In 3.3 you'll have to use the old syntax. If you want to use 3.4*, and the new syntax, take a look at : http://pubsvn.ez.no.

*3.4 is under development, and might be very unstable.

--
Kåre Høvik

Kåre Høvik