Free attribute type textarea max length

22.10.2013 12:30
#1
pipboy
Joomshopping forum user no avatar
Name: pipboy
13.06.2012
Posts: 19
Quote
Free attribute type textarea max length

Where can change textarea max length? On this moment 255 char whith spaces.

 
22.10.2013 17:44
#2
tobias9
Joomshopping forum user no avatar
Name: tobias
19.02.2013
Posts: 17
Quote
Aw: Free attribute type textarea max length

Hi Pipboy,
change in:
components/com_jshopping/controllers/product.php

on line 37 insert: maxlength="225" between "inputbox"size="40" and name "freeattribut

i hope it works.

refresch after every update


Joomla: 2.5.14
JoomShopping: 3.15.2
 
22.10.2013 18:23
#3
pipboy
Joomshopping forum user no avatar
Name: pipboy
13.06.2012
Posts: 19
Quote
Aw: Free attribute type textarea max length

I have this lines. Can you insert the code to the right way. Thx
line 36 $dispatcher->trigger('onBeforeLoadProduct', array(&$product_id, &$category_id, &$back_value));
line 37 $dispatcher->trigger('onBeforeLoadProductList', array());
line 38
line 39 $product = JTable::getInstance('product', 'jshop');

 
22.10.2013 20:17
#4
tobias9
Joomshopping forum user no avatar
Name: tobias
19.02.2013
Posts: 17
Quote
Aw: Free attribute type textarea max length

oh, sorry ,thats the wrong line!!

line 134 :

if ($jshopConfig->admin_show_freeattributes){
$product->getListFreeAttributes();
foreach($product->freeattributes as $k=>$v){
$product->freeattributes[$k]->input_field = '<input type="text" class="inputbox" size="37"maxlength="35" name="freeattribut['.$v->id.']" value="'.$back_value['freeattr'][$v->id].'" />';

 
Copyrights MAXXmarketing GmbH. All Rights Reserved