Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

ncis

Archived
  • Posts

    4
  • Joined

  • Last visited

Everything posted by ncis

  1. i figure out another way for deleting such directories / files by changing the characters encoding ... in the ftp manager : go to account manager -> advanced -> server encoding and when trying my region encoding (i.e. west european iso-8859-1), it works perfectly ... hence, the change in the general.php file is valid ...
  2. don't do this !!! it's not a good idea 'cos you'll get directories / files with funny characters and your ftp client will be unable to delete them ... i'm having some hard time to do so (with additional php code) ...
  3. an easy solution consists in adding the needed characters in the definition of the function tep_output_generated_category_path_fs() ... edit the general.php file in your admin directory and make the suitable changes ... for instance, i was able to add the following special characters @ ! ' - é è & # by modifying the $dir_path variable into : $dir_path = ereg_replace("[^a-z0-9._@!'-éè]", "", str_replace(" ", "_", str_replace("%20", "_", strtolower($calculated_category_path[$ii][$jj]['text']))));
  4. hi there, i installed this contrib this morning ... at first glance, it's working perfectly : my 1000+ images are eventually sorted in sub-directories ... but as wafung mentioned it, it doesn't take in account special characters such as # & - and other foreign languages / encodage - commonly used in categories' names <_< (well, there are also some forbidden characters \ / : * ? " < > in directories' names) ...
×
×
  • Create New...