Author Topic: having a larger short description field  (Read 2477 times)

Pyno

  • Jr. Member
  • **
  • Posts: 52
having a larger short description field
« on: June 07, 2007, 18:16:57 pm »
Hello,
my problem is really simple: I need a larger short description field, which is able to contain more characters..
not because I need to display a longer description on the published product page, but in order to be able to insert long html tags. An example: i just want to put strings like this:

<strong> <a href="http://localhost/philobook2/index.php?keyword= Cicciputt &Search=Cerca&Itemid=38&option=com_virtuemart&page=shop.browse"> Cicciputt </a></strong><br> zioporcelone ISBN 3333934232 <br><a href="http://localhost/philobook2/index.php?option=com_virtuemart&page=shop.browse&manufacturer_id=2&Itemid=38">Mimesis</a>

inside the field, without having the string trunked.

I tried without success to modify this line inside the file "product.product_form.php"
"<textarea class="inputbox" name="product_s_desc" id="short_desc" cols="35" rows="6">"
substituting "70" to "35" and "10" to "6"

helps are much appreciated,
Pyno



chaliet

  • Guest
Re: having a larger short description field
« Reply #1 on: June 07, 2007, 22:57:07 pm »
I think all you need to do is select the "jos_vm_product" table in mySQL using phpMyAdmin, and for the field "product_s_desc" change the "Type" from "varchar(255)" to "text", like that of the "product_desc" field.  (255=255 characters)

Pyno

  • Jr. Member
  • **
  • Posts: 52
Re: having a larger short description field
« Reply #2 on: June 08, 2007, 11:26:46 am »
It works, thanks a lot.