bootswalker
26-02-05, 05:06 PM
Using version 1.0.2 and trying to Set the MyInfo view to the Default View.
I modifyed the *Today as the Default View* code from the documentation site:
http://sites.sakienvirotech.com/dp_docs/tiki/tiki-index.php?page=Setting+the+Today+View+to+Default+v iew
/* Change
$m = 'calendar';
$a = 'day_view';
to */
$m = 'admin';
$a = 'viewuser';
That works very well, passing the $m and $a variables and opening the myInfo view. But the message *Invalid User ID* appears where the view name would normally show up and the current users info does not show up.
This *Invalid User ID* message is the same message returned when removing the &user_id=1 parameter from the MyInfo link.
index.php?m=admin&a=viewuser[&user_id=1]
So I'm thinking that paramater is not getting passed.
My question is, is it possable and how to pass the user_id variable?
I modifyed the *Today as the Default View* code from the documentation site:
http://sites.sakienvirotech.com/dp_docs/tiki/tiki-index.php?page=Setting+the+Today+View+to+Default+v iew
/* Change
$m = 'calendar';
$a = 'day_view';
to */
$m = 'admin';
$a = 'viewuser';
That works very well, passing the $m and $a variables and opening the myInfo view. But the message *Invalid User ID* appears where the view name would normally show up and the current users info does not show up.
This *Invalid User ID* message is the same message returned when removing the &user_id=1 parameter from the MyInfo link.
index.php?m=admin&a=viewuser[&user_id=1]
So I'm thinking that paramater is not getting passed.
My question is, is it possable and how to pass the user_id variable?