| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
HTML Catalog thumbnails using Cerdmanns Smarty plugin | |||
![]() |
|
|
Thread Tools |
#1
|
|||||||
|
|||||||
![]() I'm asking for help to get this working with my current project. It was a replacement for Telafirma's image mod but he is not available anymore. He managed to get this plugin to work with the html catalog on my last site but I can't see how he did this because his files are encrypted.
In function_thumb.php (Smarty-2.6.3/plugins) I have: if (empty($params['cache'])) $_CONFIG['cache'] = 'files/cache/'; files/cache/ is the directory that the mod generates the cached thumbnails and it's where the product thumbnails are referenced. If I leave this default path I find that the dynamic cart works fine (and in SSL mode) but the HTML catalogue thumbnail references are looking for files/cache in the catalog directory, which of course does not exist. Telafirma got this to work but I don't know how, I think he may have made some edits to function_thumb.php. I'm wondering what the best way to get the HTML cart to show the correct path (not relative) to the thumbnail so 'files/cache' becomes /xcart/files/cache'. Anyone have any ideas? Thanks Dan
__________________
4.4.2 and 4.6.1 |
|||||||
#2
|
|||||||
|
|||||||
![]() How did he 'encrypt' his code? If it wasn't with ioncube or somthing like that, its probably a simple rot13'd chunk evaled, find in his code where he uses an 'eval' call and change that to 'echo'. voila, unencrypted code. Then maybe you can find what you need to find in there.
__________________
-matt version 4.1.5 |
|||||||
|
|||
X-Cart forums © 2001-2020
|