Forums / Setup & design / query on displaying new types of objects

query on displaying new types of objects

Author Message

Toms King

Tuesday 15 August 2006 8:27:53 pm

Hi, all,
It's me again. Now I encounter another problem. For my site, I define a new class named company, which include the company name, owner, contact number.....Then I create a object under company class. However, this object cannot be viewed normal. from the displaying page, I cann't find the company information just now I set. I only see
EMEGINE( )
Contact information
Address
Additional information
Contacts at the node displaying page. (EMEGINE is the company name of the object I create.) So how can I set to display all the attribute of this object? and what's the source for displaying objects? for items from different class, can I make the design of displaying these items differently? Thanks.

Best regards,

Toms

Toms King

Tuesday 15 August 2006 11:30:51 pm

seems find the answer

in the override folder

\design\base\override\templates\full\

Clemens T

Wednesday 16 August 2006 1:44:13 am

Override the node/view/full template in your eZPublish admin -> design ->templates->node/view/full.tpl

-> create new override
-> input name
-> make sure you set the class-filter to 'company'
-> input override contents
-> save
-> refresh company page

if it doesn't work, empty cache, refresh company page again.

Have phun @ ez.
Clemens

Coulibaly Ibrahim

Wednesday 16 August 2006 1:58:44 am

don't forget to give anonymous User the right to view( read) the 'compagny class'
enjoy

Toms King

Wednesday 16 August 2006 11:03:55 pm

thx, I got it ^__^