Hi
I've been trying to offer a different main page for users and I'm sort of stuck.
Looking at your documentation I've tried the following:
I created an sp in the mydbr schema
CREATE PROCEDURE sp_mydbr_mainview_proc_get
@inLogin varchar(30),
@inAuth int
as
BEGIN
if (@inLogin = 'myusername') begin select 272; end else begin select 240; end
END
I then used server side files and added the following to defaults:
$mydbr_defaults['mainview']['alternate_mainview_dispatcher_proc'], sp_mydbr_mainview_proc_get;
$mydbr_defaults['mainview']['use_alternate'] = true;
$mydbr_defaults['mainview']['cache_alternate'] = false;
After those changes I received a HTTP ERROR 500 error - site doesn't load.
I then commented out $mydbr_defaults['mainview']['alternate_mainview_dispatcher_proc'], sp_mydbr_mainview_proc_get; in the user/defaults.php file and the site loaded but it did not give me the alternate home page.
Am I missing a step or something?
Thanks
Jake