First, thanks for replying. I really appreciate it.
I have been looking through the simpleboard plugin (which I am using for FireBoard) and many other plugins (Flags,Stocks,iplog,gender) and unfortunately I could not figure out complete logic for adding stuff to existing item out of them.
Specifically in simpleboard plugin that you mentioned all of the references to the code that I think allows adding stuff to existing tab are commented and not in the use.
Only reference to the word "status" in simpleboard plugin is in function _setStatusMenuSBstats, which is commented and not in use.
Still, this code is referring to _UE_MENU_STATUS which is "Status", where in my original post I was inquiring about adding stuff to existing tab "Contact Info" which is _UE_CONTACT_INFO_HEADER.
I see the code that seems to be in charge of doing this but when I implement it, it does nothing. The code I am trying to use for testing is:
[code:1]
$menuitem = array();
$menuitem["_UE_CONTACT_INFO_HEADER"]["_UE_NAME"]["_UE_NAME"]=null;
$this->addMenu( array( "position" => "menuList" ,
"arrayPos" => $menuitem ,
"caption" => "Something" ,
"url" => "" ,
"target" => "" ,
"img" => "" ,
"alt" => "" ,
"tooltip" => ""«») );[/code:1]
I would expect the above code to change the value of the Name field under "Contact Info" to "Something" from whatever it is now. Am I missing something or am I using the code in a wrong way?
I am mainly interested in 2 things:
1. Changing value of existing field from my plugin.
2. Adding completely new line(s) under "Contact Info" (not Status).
That is, adding stuff to existing tabs, not creating the new ones.
thanks for any help on this
P.S. I am using already 1.2 RC2
Post edited by: vilo, at: 2008/09/02 00:56