Category: Others (Technical)
Problem – First submenu item same as main menu in WordPress
While implementing a custom plugin in wordpress, we can simply add submenu items for our plugin by this code: public function PluginMenu() { $this->my_plugin_screen_name = add_menu_page( ‘My Reviews’, ‘My Reviews’, ‘manage_options’, __FILE__, array($this, ‘RenderPage’), ‘dashicons-format-quote’ ); } But in wordpress,
Golden rules for programmers to write good code
Why we need to code properly because a well written code not only does its job well but is also easy to extend, maintain and debug. So here are some key points: 1. Follow a consistent coding standard: There are
Adding Custom Fields to User Profile in WordPress
In WordPress, each user profile has many fields like first name,last name, website url etc which are almost sufficient to get the user information. We also have the user’s contact info like his email address but still sometimes situation arises
Importance of testing in production after deployment
When we deploy an application from staging / testing server to live / production environment, tester needs to test the application again in production environment no matter if he has already tested the whole application in staging environment. Why there
Check if a Section or Activity is accessible to user in Moodle
In Moodle a course can have multiple sections and each section can have multiple activities in it. Moodle provides access restrictions feature in course in which we can impose some restrictions to section or activity based on date, completion, group
Some Useful Developer tools and Extensions in the chrome browser
Every developer/designer should be aware of some developer tools and extensions available in the chrome browser. Chrome developer tools provide deep visibility into the web pages. We can check layout, performance loading issues and also debug Javascript issues with breakpoints.
What is Browser Webkit
What is Webkit? Webkit is also known as the browser engine and it renders the web pages containing Javascript, HTML and XML code and provides the visual representations. Webkit also manages the history of recently visited pages. Webkit powers browsers
How to access and edit Adobe Captivate Quiz Pool Questions
There are two ways to edit the question content in Captivate question pool : 1. First way is by enabling custom workspace settings. You can enable workspace settings with these steps : a.) Click on Edit>Preferences on top menu bar
Salesforce | Display error message returned by Trigger with enter key
How to send an error message from trigger back to the layout and display it on the record detail page. You need to use addError method for this. For example : errorMsg=’Some of the catalog courses are not available in