Share » Forums » General » Object name in the administrator

Object name in the administrator

Object name in the administrator

Tuesday 11 January 2011 3:47:58 am - 6 replies

Modified on Tuesday 11 January 2011 3:48:29 am by Alejandro Dominguez

Author Message

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.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu