Is this module supposed to update the page title also? I can only get the entity label to display by creating a custom display.

Comments

bforchhammer’s picture

Well, for nodes the node title should be updated and the updated value displayed whereever you see a node title. If you mean something else by "page title", I am not sure.

So, can you provide more info, please? What exactly do you expect to behave differently? How can I reproduce it on a clean install?

webavant’s picture

Entities' labels are being overwritten, as expected, but it is displaying the original label in the , and also in the "node title" on the entity view's page. There are no nodes in my install, just entities. Perhaps I just need to figure out how to theme them properly. I don't understand entities.

bforchhammer’s picture

I'm afraid I'm not too familiar with the entity system myself...

In terms of entity support, I have tested this module sucessfully with Profile2 and the ECK module (see also #1509902: ECK (entity construction kit) integration). For both modules, the automatically created label is shown as the page title... Maybe looking at one of those modules can help you figure out what's going wrong?

Let me know how it turns out!

webavant’s picture

I couldn't discover anything useful in Profile2 or ECK, then again, I don't really know what I'm looking for. Would you mind taking a look at this issue in the module we're having this issue with and see if anything rings a bell?

bforchhammer’s picture

Status: Active » Closed (works as designed)

This turned out to be an issue with a title_callback (hook_menu) returning a field value instead of the entity label. See #1533598: Reformatting the drealty listing page title.