Jump to content



Member Since 06 Aug 2007
Offline Last Active Apr 14 2021 04:29 PM

Topics I've Started

XML request error: OK (200) Image upload problem

26 February 2009 - 01:50 PM

Hi Cs-Cart's buddys,
My problem it was:
When i want into some image in full description
only image upload
i can't anyway and any image uploaded. An i become allways this error massage:http://picasaweb.google.de/lh/photo/U8WJTpUjX6_QRbbCJOfFiw?feat=directlink
But after 2 day googled etc.. i finded a solution from fckeditor.net

After some debugging I found that some filenames are not properly encoded. To temporarily fix this, I've changed: editor/filemanager/connectors/php/commands.php:83

$aFiles[] = '<File name="' . ConvertToXmlAttribute( $sFile ) . '" size="' . $iFileSize . '" />';


$aFiles[] = '<File name="' . ConvertToXmlAttribute( rawurlencode( $sFile ) ) . '" size="' . $iFileSize . '" />' ;

yeah this hack work fine(!)

About the syntax logic of Smarty's codes with CS-Cart

14 April 2008 - 01:28 PM

I have 3 questions:
1. this syntax valid in all .tpl files? I mean i can use this synatax every where?
 {if $settings.Addons.live_help == 'Y'} {include file="addons/live_help/sidebox.tpl" location="L" show_order="A"} {/if}  

2. How i can find the all Smarty code structure reference for CS-Cart?
like a list :
  {include file="search_pages/search.tpl"} 
{include file="categories_pages/categories.tpl"}
{include file="side_boxes/language_currency.tpl"}

3. For example If I wanna connect some DHTML/HTML/PHP code (slide show or a custom form etc.)with products images, price, description etc.?

Thnx for almost certainly answers.