This topic is locked

Access variables in a snippet in list page

4/1/2009 4:56:30 AM
PHPRunner General questions
E
eloi author

I want do something like this in List Page. I want to print variables in any record lines.
I do this:

function transaccio_Snippet3(&$params)

{

global $record;
echo $record["FieldName"];
} // function transaccio_Snippet3


but it doesn't work. It prints only the last register line.
I know how to do it editing the list page but prefer to do this in a snippet.
Thank for your help!

J
Jane 4/1/2009

Hi,
unfortunately it's impossible to print record value in custom event on the list page.

Edit HTML code on theVisual Editor tab for this purpose.