This is a discussion on Category descriptions do not get saved. within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; I noticed that Category Descriptions are not getting saved. Anyone else experiencing this with v2 RC1?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I noticed that Category Descriptions are not getting saved. Anyone else experiencing this with v2 RC1? |
|
#2
| ||||
| ||||
| Please post some debug info : PHP, MYSQL, Apache, Linux versions. Also, do you have category descriptions enabled in the admin? No, you are the first that has posted this behavior. It is working fine in all test shops. The code that handles this has not been changed since v1.5.5.
__________________ Michael Sasek osCMax Developer
|
|
#3
| ||||
| ||||
| I have seen the same behaviour. Although I can see that category descriptions are being written to the database, they are just not visible if you browse via the admin interface. For me this is the same whether or not category descriptions are enabled. Server OS: Linux 2.4.20-31.9smp Database: MySQL 4.0.17-standard HTTP Server: Apache/2.0.40 (Red Hat Linux) PHP Version: 4.2.2 (Zend: 1.2.0)
__________________ Holloway: It's all the same machine, right? The Pentagon, multinational corporations, the police. If you do one little job, you build a widget in Saskatoon, and the next thing you know, it's two miles under the desert, the essential component of a death machine. |
|
#4
| ||||
| ||||
|
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| i got the same error - /catalog/admin/categories.php WAS NOT saving description text, for Categories & Product. looking in the HTML source, I decided that the problem was the naming of the textarea form element. The form expects the name of the textarea to be something like "categories_description[123]" (123 being the category ID) However, the form element is named "categories_description123". The string "categories_description" and the ID "123" are being concatinated, instead of forming it into an array object. anyhow. i changed two lines in /catalog/admin/categories.php and got the form to save my descriptions. -------------------------------------------------------------------- LINE 506: original code: } else { echo tep_draw_textarea_field('categories_description' . $languages[$i]['id'],'soft','70','15',(isset($categories_description[$languages[$i]['id']]) ? $categories_description[$languages[$i]['id']] : tep_get_category_description($cInfo->categories_id, $languages[$i]['id']))) . '</td>'; replace with this: } else { echo tep_draw_textarea_field('categories_description[' . $languages[$i]['id'].']','soft','70','15',(isset($categories_description[$languages[$i]['id']]) ? $categories_description[$languages[$i]['id']] : tep_get_category_description($cInfo->categories_id, $languages[$i]['id']))) . '</td>'; ---------------------------------------- LINE 900: original: } else { echo tep_draw_textarea_field('products_description' . $languages[$i]['id'],'soft','70','15',(isset($products_description[$languages[$i]['id']]) ? $products_description[$languages[$i]['id']] : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))) . '</td>'; replace it with this: } else { echo tep_draw_textarea_field('products_description[' . $languages[$i]['id'].']','soft','70','15',(isset($products_description[$languages[$i]['id']]) ? $products_description[$languages[$i]['id']] : tep_get_products_description($pInfo->products_id, $languages[$i]['id']))) . '</td>'; -------------------------------------------------------------------- hope that helps. |
|
#6
| |||
| |||
| I had the same problem. Thank you blinky!! That fix worked great!! |
|
#7
| |||
| |||
| Ditto that! Nice one blinky!! |
|
#8
| |||
| |||
| Great! Thanks. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Product Description Text NOT Being Saved | JonCloud420 | osCMax v2 Installation issues | 3 | 07-07-2006 08:59 AM |
| Adding Category Descriptions in Category List for each Cat. | el1jones | osCMax v2 Customization/Mods | 1 | 03-15-2006 01:37 AM |
| english.php crashes when saved by the built in file editor | Trinity | osCMax v1.7 Discussion | 1 | 09-22-2004 01:06 AM |
| Question 2: Category Descriptions (Enabled, Not Showing) | xpressed | osCMax v1.7 Discussion | 3 | 07-24-2004 08:43 AM |
| [BugFix] v1.5 Category Descriptions Bug | michael_s | osCMax v1.7 Discussion | 0 | 09-25-2003 10:50 PM |