How to set the menu labels correct in the Nav Menu

A place for users and developers of the Xataface to discuss and receive support.

How to set the menu labels correct in the Nav Menu

Postby johans » Thu Aug 25, 2011 6:20 am

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
johans
 
Posts: 3
Joined: Thu Aug 25, 2011 6:16 am

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

Postby shannah » Fri Aug 26, 2011 4:17 pm

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?
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

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

Postby johans » Mon Aug 29, 2011 2:32 am

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
Attachments
clcpage.png
Screenshot
clcpage.png (80.62 KiB) Viewed 1931 times
johans
 
Posts: 3
Joined: Thu Aug 25, 2011 6:16 am

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

Postby shannah » Tue Aug 30, 2011 12:24 pm

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
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

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

Postby johans » Wed Aug 31, 2011 1:16 am

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
johans
 
Posts: 3
Joined: Thu Aug 25, 2011 6:16 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 22 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved