While a git sub module could be added with a single line command such as: git submodule add https://github.com/UrlToRepository.git foldernameofrepository it can be cumbersome to remove a submodule. There are various steps involved such as given in the next paragraph.…
How to set Cakephp paginator url for custom Route
I was making a url route like this: [php]Router::connect(‘/ca/assets’, array(‘plugin’ => ‘file_manager’, ‘controller’ => ‘file_manager’, ‘action’ => ‘assets’, ‘ca’));[/php] It worked alright with normal urls as- /ca/assets. However when i used paginator in view as [php]echo $this->Paginator->numbers();[/php] it generates url…
Facebook share 404 not found fix DNS ipv6
I moved my website to new VPS server. After adding new articles when I tried to share a post it showed 404 not found error with not featured images. I went to Facebook sharing debugger too where I normally would…
How to know whether a file exists in URL using PHP
In PHP, to find whether a file exists in disk or on server we have: if(file_exists($filepath)) However is there a way to know whether a file exists in an url, such as, https://www.google.co.in/images/nav_logo242.png?
Create pdf preview thumbnail using php
Following the stackoverlow answer http://goo.gl/z9IWCB I did everything correct as mentioned in the answer to create pdf preview thumbnail using php but I struck with an error as such as this. error no decode delegate for this image format `\path\filename.pdf’…
Preview your WordPress Website in Godaddy Linux Hosting
To preview your WordPress website before making it live on Godaddy can be tricky. Especially if you are moving from Linux hosting providers such as hostgator, justhost etc. I recently purchased a multiple website hosting from Godaddy and wanted to…
WordPress admin ajax 403 Forbidden issue fix
Update Jun 03, 2016: As a new update when you try to do this action it gives you an option to whitelist the action in question. Something like this. So it solves this issue for the current user. Old (outdated…
CakePHP Captcha support for 3.x
Finally, I got a chance to update my cakephp captcha support for CakePHP 3.x. It’s been quite long since CakePHP 3.x was out so I thought it was good to make it work finally. I had been receiving quite a…
jQuery File Upload plugin for CakePHP 2.x
Got a working copy of https://blueimp.github.io/jQuery-File-Upload/ file upload plugin for CakePHP 2.5.5 built as a plugin. Forked and modified from the original repository https://github.com/hugodias/FileUpload into https://github.com/inimist/FileUpload to incorporate latest files and functionality.
5 Best multi-purpose WordPress themes – Clients’ choice
I have got two clients who work solely in WordPress. They market for Wordpress jobs and get websites done in-house. Sometimes, when they have extra work or the work which may involve some programming they source out such jobs to me.