Page 1 of 1

Xataface 2.0 button problems

PostPosted: Fri Nov 09, 2012 3:00 am
by togoto
Hi all,

after updating to xataface 2.0 i have several problems:
- The list of tables in the top menu is limited to 6 items. there is a 7th items that says "More" but clicking on it doesent do anything (checked in current versions of Safari, Firefox).
- there is a control panel link and a link on the loved in user that doesent seem to have any function
- editing one entry shows a cancel and a save button in the header and footer. all those 4 buttons have no function. there is an additional save button at the bottom of the content area that works.
- adding the following code to the conf.ini
Code: Select all
default_language=de
default_oe=UTF-8
default_ie=UTF-8
[languages]
de="Deutsch"

does not switch the language to german

if someone could help me to iron out the issues, that would be awesome.

thanks so much!

togoto

Re: Xataface 2.0 button problems

PostPosted: Fri Nov 09, 2012 9:04 am
by shannah
Sounds like there is probably a javascript error somewhere that is killing some of the UI functionality. Try
1. Delete the contents of your app's templates_c directory. It may have some old templates and javascripts cached from an older version of xataface.
2. Check your javascript error console to see if there are any errors reported.
3. You may want to enable Javascript tool debugging (so that the javascript code is not minified). You can do this by adding the following to the end of your conf.ini file:
Code: Select all
[Dataface_JavascriptTool]
    debug=1


-Steve

Re: Xataface 2.0 button problems

PostPosted: Sat Nov 10, 2012 1:58 am
by togoto
thank you so much again for your helpful advice!
deleting the contents of template_c did the trick. It completely makes sense, I just wasn't aware that template_c is caching code.

thanks again!