I have the following customerized code made on view_photo.php and view_album.php:
<?
preg_match("/(.*?);(.*);(.*)/", $gallery->album->getKeywords($index), $matches);
$keyid = $matches[1];
$keydes = $matches[2];
$keyprice = $matches[3];
?>
What do I write on G2 albumBody.tpl for the same result?
Thanks :wink:
Posts: 8601
{$layout.item.keywords} and {$child.keywords} have the full strings.. see smarty.php.net for more info.
Posts: 86
{$layout.item.keywords} and {$child.keywords} have the full strings.. see smarty.php.net for more info
I am incapable to understand those high level talks. Any kind heart can help me translating the G1 code into G2?