In this article you will see how can we add an admin bar menu with dashicon. Admin bar is what appear on top of page with black background. On default Wordpress installations, it will appear on all pages once logged in. We can add menu items there to help users to reach pages they frequently access.
Read more →
Here I share a code snippet that will show how can we use PHP curl to upload file to remote server as HTTP POST request. We can upload multiple files using this code. It handles PHP versions to prior to 5.6 as well as PHP versions 5.5 and later.
Read more →
CKEditor library 4.x comes with many plugins. Sometimes we may want to disable one or more of that bundled plugins. It may be to reduce page load, to avoid conflict with some other JavaScript solutions including CKEditor plugins, etc. Here I show how we can achieve it within Drupal ecosystem.
Read more →
The PDF files that we prepare after scanning happen to have bigger file size normally. It is because the PDF file gets all scanned images almost exactly in that same resolution as we scanned. We can use Ghostscript command to reduce size of PDF files as per our needs.
Read more →
In Drupal, by default there is hook_help()
, which we can use to implement help pages for the module. You can get help page link for a particular module from module listing page. But, once you installed advanced_help module. That help link will be changed to a different path for advanced help of that module. However that is useless if the module does not implement advanced help. In this post, I show how you can disable advanced_help module's behavior for a particular module and restore default help link in module listing page.
Read more →