Re: Re: Re: Problem with Plugin Button not passing itemId to URL
Thanks for the suggestion, Rick. I'll try the DIV idea out but after a LOT of trial-and-error (I'm now on version 63 of the Display Knowledge page!) I believe I have found another answer. My page Display Knowledge page now looks like this ( sorry for the formating — I can't find the "Code" button any more and using the CODE pluggin doesn't seem to work, more user-error no doubt, so I had to remove the curly braces in the plugins.)
TRACKERLIST(trackerId=7,filtervalue=24,itemId=$f_31,tpl="output_for_kb.tpl")}{TRACKERLIST
{BUTTON(href="tiki-index.php?page=Search Knowledge Base",_text="Search Knowledge Base")}{BUTTON
{BUTTON(href="tiki-index.php?page=Update Knowledge Base&itemId=",_text="Update this Record")}{BUTTON
If you look carefully at the last Button plugin you can see that I used double curly braces around the word itemId. So it turns out that this is a system variable.
I think that having the itemId autoincrement field in the Tracker was also a big part of getting this to work.