| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
removing some text from this string | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() right now it is showing
/home/server/apple/html/files/t_327.jpg how can I make it show just files/t_327.jpg i've tried truncate but thats from the end of the text thanks for your help!
__________________
X-Cart 4.0.11 {My simple mods} Adding Market list and % save on product detail Quantity input box |
|||||||
#2
|
|||||||
|
|||||||
![]() Please clarify...are you trying to remove that info from the URL or what??
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() If your doing this in a template, you have 2 options:
1) Using PHP in your templates. Replace "YOURSMARTYVARIABLE" with your variable. Code:
2) Use the PHP command str_replace by passing it as a modifier http://smarty.php.net/manual/en/api.register.modifier.php[/code] |
|||||||||
|
|||
X-Cart forums © 2001-2020
|