Contact Us Today! | vcare@wdmtech.com

WDMtech

Topic-icon HexSys Product Size Plugin (maxlength)

More
2 years 9 months ago #631

The issue is corrected, please check it now.


Thanks
Daniel

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #628

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 or Create an account to join the conversation.

  • Ashkan Novinrad
  • Ashkan Novinrad's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 years 9 months ago #627

Here is the size.php Code

Please Log in or Create an account to join the conversation.

  • Ashkan Novinrad
  • Ashkan Novinrad's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 years 9 months ago #626

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 or Create an account to join the conversation.

More
2 years 9 months ago #605

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 or Create an account to join the conversation.

  • Ashkan Novinrad
  • Ashkan Novinrad's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 years 9 months ago #604

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 or Create an account to join the conversation.