Forums / Setup & design / how could be this ?! class error ?!

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

how could be this ?! class error ?!

Author Message

Selmah Maxim

Monday 05 May 2003 3:49:41 am

hi ..

i have done new small class, and i used ready made template for it, the class id is 30, so i had made line_class_30, and full_class_30, with template debug is showing me that full_class_1 is loaded, not full_class_30 !

what the worng here ?!

thx for helping.

Bård Farstad

Monday 05 May 2003 4:23:14 am

You're most likely viewing a folder ( class 1 ). This will show a list of children, these will by default be loaded with the appropriate line_class_x.tpl.

The full_class_30.tpl should only be loaded when you view the full view of an object of class 30.

Hope this helps,

--bård

Documentation: http://ez.no/doc

Vivienne van Velzen

Monday 05 May 2003 4:35:58 am

Did you place your own template files in /design/yoursite/override/templates/node/view? That's where EZP looks for custom classes.
Greetz,

Vivienne
PS. OOPS: The above is not the solution to your problem (as you probably already found out). The solution Bard gave probably is. Sorry (no delete option on forum :( )

Selmah Maxim

Monday 05 May 2003 4:43:23 am

i see ...

i put in the right path for my design!

bård ...
then what should i do ?

i`ll make new section, and i`ll make new folder class under this section, do think this will work ?

Selmah Maxim

Monday 05 May 2003 4:53:36 am

ekkksss .... Ghrrrrrrrrrr

now it`s a folder, it`s class called main category, and still loading class_1 , but how then the forum section done , it`s loading the right class !?!

Selmah Maxim

Monday 05 May 2003 4:59:12 am

found it ... thx alot :D