Drupal 8 render block from node twig file
{{ drupal_entity(‘block’, ‘put your block id here’, check_access=false) }} check_access=false => This is to make…
Read More{{ drupal_entity(‘block’, ‘put your block id here’, check_access=false) }} check_access=false => This is to make…
Read MoreThe solution is very simple gunzip -r * This will extract all .gz file in…
Read More<FilesMatch “\.(ttf|otf|eot|woff|js|css|woff2)$”> # Type all extenstion that you want to allow <IfModule mod_headers.c> Header Set…
Read MoreGo to OpenCart Admin>Extensions>Order Totals Click “Uninstall” for “Coupon” to remove this field Click “Uninstall”…
Read MoreSuppose you have created a content type named as “testimonial”. Now the requirement is to…
Read Morefunction validateEmail(email) { var emailReg = /^(+@(+\.)+{2,6})?$/; return emailReg.test(email); } Usage:- if(validateEmail(emailString)){ alert('Your email is…
Read MoreUse “Command”+”Shift”+”.(dot)” to enable display of hidden files To hide just press the above three…
Read MoreSay for example you have your checkbox field code in your twig file as below:-…
Read MoreFirst add the custom method to the validation library as below. Can you put this…
Read More<script type="text/javascript"> function isValideDate(datavalue){ var regexValidDate = /^(?:(0|1)(0||3)(19|20){2})$/; return regexValidDate.test(datavalue); } var dateToCheck = '06/01/2011',…
Read More