Page 1 of 1

How to set the menu labels correct in the Nav Menu

PostPosted: Thu Aug 25, 2011 6:20 am
by johans
Hi,
in the conf.ini I have set

[_tables]
tablename = "table name to show"

In the tabs this shows the table as "table name to show", but in the Nav Menu on the left it uses tablename and not "table name to show"

Before digging to much, what am I doing wrong, or is it supposed to work this way?
Thanks,
Johan

Re: How to set the menu labels correct in the Nav Menu

PostPosted: Fri Aug 26, 2011 4:17 pm
by shannah
What version of xataface are you using?
Also which left nav menu are you referring to? Can you show a portion of a screenshot of the result - and post the relevant portion of the conf.ini file so I can take a look?

Re: How to set the menu labels correct in the Nav Menu

PostPosted: Mon Aug 29, 2011 2:32 am
by johans
Hi,
The relevant parts of the conf.ini must be:

[_tables]
ads = "Pubblicita'"
adsImg = "Immagini"
adsPub = "Pubblicati"
adsLoc = "Siti"
adsPos = "Collocazioni"

And then I have attached s screenshot where it should be clear what I am searching for... As you can see only in the top navigation tabs it replaces the table names with the label as set in the conf.ini.

Thanks,
Johan

Re: How to set the menu labels correct in the Nav Menu

PostPosted: Tue Aug 30, 2011 12:24 pm
by shannah
The left nav menu is actually showing relationship names not table names. Set the label of a relationship in it's definition in the relationships.ini file via the action:label directive.

Steve

Re: How to set the menu labels correct in the Nav Menu

PostPosted: Wed Aug 31, 2011 1:16 am
by johans
Thanks a lot for your time!
I had not realized that was to be set in relationships and not at table level... but it surely makes sense!!
Johan