I am trying to fix the Minimum 50 character setting to reflect a more realistic number like 10 characters.
I am using J 2.5.28 and VM 2.6.14
I am also using some custom overrides in the sites main template.
At this point I have done a search and changed every instance in both the VM files and in the overrides to reflect the Minimum characters to 10
but for some reason... the override is not showing the new setting of 10 characters.
<textarea title="<?php echo $ask_comment ?>" class="validate[required,minSize[<?php echo $min ?>],maxSize[<?php echo $max ?>]] field" id="comment" name="comment" rows="8"><?php echo $askQuestionData['comment'] ?></textarea>
validate[required,minSize[<?php echo $min ?>], will not pull the new settings from $min = VmConfig::get('asks_minimum_comment_length', 10);
this file is located in " template/html/com_virtuemart/askquestion/form.php "
and for the record I also changed the VM core file " root/components/com_virtuemart/controllers/productdetails.php " to reflect the 10 characters vs 50
Does anyone have any suggestions as to why this wont work?
Why are you doing that? Just set "Question minimum length " to 10 in Configuration/Shopfront/Core Settings.
Doh!!!! I just found that setting!! thanks to your advisory!!
All those old posts steered me the wrong way!
THANKS!