I am using MODx Evo 1.0.7.
Is there any way to use the phpthumb or additional phx in the following phx:
Here is the phx:tv snippet (Source:
http://wiki.modxcms.com/index.php/PHx/CustomModifiers#phx:tv)
<?php
if(strlen($options )>0) {
$data = explode("?",trim($options),2);
$id= (!empty($data[0]) && is_numeric($data[0])) ? $data[0]: '';
$tv= (!empty($data[1])) ? $data[1]: '';
$result = $modx->getTemplateVar($tv, 'name', $id, 1);
return $result['value'];
}
?>
Any help will be appreciated.
[ed. note: santoshmaharjan last edited this post 13 years, 9 months ago.]