Hi,
How can I get a custom login prompt for non-logged-in users so that they can't see the table menu?
Login prompt without table list
5 posts
• Page 1 of 1
Login prompt without table listHi,
How can I get a custom login prompt for non-logged-in users so that they can't see the table menu?
You can override the tables_menu_options slot to output nothing.
i.e. add the following method to the application delegate class:
The idea behind this is that if you return a PEAR_Error object from any slot method, it tells xataface to use the default content instead of your slot. Otherwise it uses whatever you output from your slot function. An alternative would be to use the http authentication module (available in SVN http://weblite.ca/svn/dataface/modules/Auth/http/trunk/) to use HTTP authentication instead. -Steve
I've added this to the issue tracker. Hopefully I can get around to checking this out soon.
http://bugs.weblite.ca/view.php?id=563
5 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 15 guests |