PEAK XOOPS - New field in "view event" in englishin japanese

New field in "view event"

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/13 20:28
DWiDo  °ìÅùʼ   Posts: 14
Hi all,

I was working hard (I am not a developper ) to add a the field "Who post this event" in view event page and it works.

I had to cutomize several things, especially the query "$yrs" line 1379 in file piCal.php.

Now I would like to understand why I had to fix the name of the table "xoops_users" and not as a dynamic variable like (view in pmlite.php for example) : .$xoopsDB->prefix("users").

The dynamic assignement of the table name doesn't work.

I will post the customization as son as it's will be finshed...

Have a nice day
Votes:5 Average:10.00
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/14 17:34
GIJOE  ÀèǤ·³Áâ   Posts: 4110
There is a reason so as not to display it with piCal though it is certainly important who the post.
It is a problem of uname() and name().

Since all official modules will display uname or name by admin's selection in the future, piCal is scheduled according to it.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2003/11/14 19:10
DWiDo  °ìÅùʼ   Posts: 14
OK for that... but :

Quote:
Now I would like to understand why I had to fix the name of the table "xoops_users" and not as a dynamic variable like (view in pmlite.php for example) : .$xoopsDB->prefix("users").

?????
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2003/11/15 22:57
GIJOE  ÀèǤ·³Áâ   Posts: 4110
Because piCal is not only XOOPS module, but also standalone PHP class.

$xoopsDB can't be used in another PHP system.
Votes:2 Average:10.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!