HexSys Product Size Plugin (maxlength)

More
18 Dec 2014 06:20 #631 by Daniel
Replied by Daniel on topic HexSys Product Size Plugin (maxlength)
The issue is corrected, please check it now.

Thanks
Daniel

Please Log in to join the conversation.

More
17 Dec 2014 06:32 #628 by Daniel
Replied by Daniel on topic HexSys Product Size Plugin (maxlength)
Hi,

Please send us your back end and FTP login credentials via Contact Us form, We'll look into it.

Thanks
Daniel

Please Log in to join the conversation.

  • Ashkan Novinrad
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 Dec 2014 19:41 #627 by Ashkan Novinrad
Replied by Ashkan Novinrad on topic HexSys Product Size Plugin (maxlength)
Here is the size.php Code

Please Log in to join the conversation.

  • Ashkan Novinrad
  • Topic Author
  • Offline
  • New Member
  • New Member
More
16 Dec 2014 19:36 #626 by Ashkan Novinrad
Replied by Ashkan Novinrad on topic HexSys Product Size Plugin (maxlength)
I replace the ...plugins/vmcustom/size/size.php file with the code below but after i have been use the sizes via ; seprator it keep rest it self to

Width 1;2;3;4;5;6;7;8
Height 1;2;3;4;5

___________________________________________
53--- <table class="admintable">
54--- '.VmHTML::row('input','WIDTH','custom_param[custom_width]',$field->custom_width, 'maxlength="500"').
55--- VmHTML::row('input','HEIGHT','custom_param[custom_height]',$field->custom_height, 'maxlength="500"').
56--- VmHTML::row('input','VMCUSTOM_UNIT','custom_param[custom_unit]',$field->custom_unit).
57--- '
58--- <tr>
___________________________________________


i didn't find the code that you were mentioning on line 80 & 81.

Could you please advise how I can solve the issue.

Best regards
Thanks

Please Log in to join the conversation.

More
13 Dec 2014 07:38 #605 by Daniel
Replied by Daniel on topic HexSys Product Size Plugin (maxlength)
Hi,

You need to make changes in the plugin file plugins/vmcustom/size/size.php at line 81 & 82

Please add a last parameter as 'maxlength="500"' after comma

e.g.

VmHTML::row('input','HEIGHT','custom_param[custom_height]',$field->custom_height).

replace it with

VmHTML::row('input','HEIGHT','custom_param[custom_height]',$field->custom_height, 'maxlength="500"').

Thanks
Daniel

Please Log in to join the conversation.

  • Ashkan Novinrad
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 Dec 2014 20:29 #604 by Ashkan Novinrad
HexSys Product Size Plugin (maxlength) was created by Ashkan Novinrad
Hi Could you Please let me know inside the plug-in how I can change the max length row I have a product from 12 inch to 120 inch but the plug-in allow me to max 75inch as a code below

<---
<input id="custom_param[0][custom_height]" class="inputbox" type="text" value="12; 13; 14; 15; 16; 17; 18; 19; 20; 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; 37; 38; 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; 55; 56; 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; 73; 74; 75;" maxlength="255" size="37" name="custom_param[0][custom_height]">

---->

How can i change it to maxlength="400"
/

Please Log in to join the conversation.

Cron Job Starts