Forums / General / Object name in the administrator

"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".

Object name in the administrator

Author Message

Alejandro Dominguez

Tuesday 11 January 2011 3:47:58 am

Hello!!

I have created a class in Exponential that when I create a new object of this class the name doesn't appear.

I have attached a capture to show you what I see

http://subefotos.com/ver/?fff981dd49b319674c3aaf934233acdao.png

My class has an attribute called "Nombre" for the title. I suppose I have to tell Exponential that this is the name it should use for the title but I don't know how to do it.

any ideas ???

Carlos Revillo

Tuesday 11 January 2011 4:07:53 am

Hola Alejandro.

You need to edit the class again and fill the 'Patrón de nombre de objeto:' field. That field should have the attribute you want for the object name. so, if your attribute is called 'title', you can just type <title> in that field.

Then you will need to republish your contents. for the new ones, name will be shown as expected.

It's better explained at http://doc.ez.no/eZ-Publish/Technical-manual/4.x/Concepts-and-basics/Content-management/The-content-class

Cheers.

Alejandro Dominguez

Tuesday 11 January 2011 4:13:21 am

it works!!

Thanks Carlos for your quick answer and sorry if that was a newbie question :$ . I have to learn a lot of eZ.

Best regards,

Alejandro

Carlos Revillo

Tuesday 11 January 2011 4:18:38 am

no problem!. glad it helped.

Best.

Bertrand Dunogier

Friday 14 January 2011 3:08:20 am

@Alejandro could you please mark the topic as resolved ? Thanks ! :-)

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Abdelkader RHOUATI

Friday 14 January 2011 3:37:18 am

Hello,

I would add that the same principle applies to the url alias.
And to update the names and url aliases, in the event of a change in the class, you can use the following two scripts:

  • bin/php/updateniceurls.php => for url
  • update/common/scripts/updatecontentobjectname.php => for names

TKS

Abdelkader RHOUATI

Blog (french) : http://arhouati.com
----
Extension arh_jdebug : EzDebug using jquery

Alejandro Dominguez

Friday 14 January 2011 4:25:55 am

Hello,

Thanks Abdelkader for the advise :) .

Bertrand I didn't know I have to mark it. Newbie here :p . I'll do it now.