Posts

Showing posts from 2024

Input type date default placehoder change

<input id="my_date"  name="my_date"  class="form-control"  placeholder="My Date"  type="text"  onfocus="(this.type='date')"  onblur="(this.type='text')">

CK Editor

< script src ="https://cdn.ckeditor.com/4.5.7/standard/ckeditor.js" ></ script > < script type ="text/javascript" > $ ( function () { // Replace the <textarea id="editor1"> with a CKEditor // instance, using default configuration. CKEDITOR. replace ( 'description' , { // toolbar: [ // { name: 'document', items: ['Source', '-', 'NewPage', 'Preview', '-', 'Templates' ] }, // Defines toolbar group with name (used to create voice label) and items in 3 subgroups. // [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo', 'Undo', 'Redo' , 'Undo', 'Redo', 'Undo', 'Redo', 'Undo'], // Defines toolbar group without name. // '/', ...

HTTPS Setup With Certbot in Digital Ocean Droplets

For Installation sudo apt install python3-certbot-apache For Activation sudo certbot --apache --expand -d domainname.com

Plain php text showing issue solve

Solution: 1 sudo systemctl status php8.1-fpm sudo apt-get install php8.1-fpm sudo apt install apache2 libapache2-mod-fcgid sudo apt install libapache2-mod-fcgid sudo a2enmod actions fcgid alias proxy_fcgi Solution: 2 sudo a2dismod mpm_event sudo systemctl restart apache2 sudo a2enmod mpm_prefork sudo systemctl restart apache2 sudo a2enmod php7.0 sudo systemctl restart apache2