| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
|
#1
|
|||||||||
|
|||||||||
|
Hey there,
I need to take a chunk out of this: {$product.tmbn_url} diaplays as: http://www.thewebbbsite.ca/shop/images/P/fl_00001.swf I need: fl_00001 substr('{$product.tmbn_url}', 41, -4) I figure it might look something like this? I've been trying lots of stuff and I can't seem to work this out.. ?? help ~! -hroth |
|||||||||
|
#2
|
|||||||
|
|||||||
|
Are you in a TPL or a PHP file? It looks like you are trying to call PHP functions from TPL (Smarty). If that's the case, you need to do something like:
Code:
__________________
4.1.8 |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||