Can someone please tell me how to add a CLASS or ID to the code below. I tried but it did not work.
<?php echo ELOutput::mailbutton( $this->row->slug, 'details', $this->params ); ?>
Thanks in advance.
Can someone please tell me how to add a CLASS or ID to the code below. I tried but it did not work.
<?php echo ELOutput::mailbutton( $this->row->slug, 'details', $this->params ); ?>
Thanks in advance.
The information you supplied ( one line of non-standard PHP ) is very (really, VERY :o) slim…
But my guess is that $this->params is an associative array and you should put an
[php]‘id’ => ‘thisistheid’, [/php] inthere. If you want a better guess I think you should post a more elaborate description of what you’re using and how.
Good luck,
O.