Skip to main content
Key2Goal

Main navigation

  • Home
  • Contact Us
  • Privacy Policy
  • Embed Google Maps

Key2Goal

Everyone is a learner everyday


A platform that facilitates to create your personal webpage for sharing. We are providing this at free of cost, Just sign up and create your blog, articles and share where you want ...
Join Today

Welcome to Key2Goal E-learning

Perfect place for learn and explore.

This website offers Learners to learn, Developer/Searchers to search, Blogers to Blog at only searching Cost

Blog

We offers to you make your personal blog on just free signUp

Personal Pages

We offers to you make your personal pages to share with privately or publicly

E-learning

Make your own e-learing article to share with friends and anyone you want

search articles

Recents Posts

Drupal 8: check user is logged in or not in *.html.twig

In the new era the drupal8 twig is introduce, so old basic php drupal hook is not useful in theme templates. Now twig is power under the template and if you want to know the user is logged in or Not you can use the following method in your template like node.html.twig or html.html.twig or page.html…
drupal 8, templates Drupal 8, twig

Add text to ckeditor textarea using jquery

In most of case we need to add or fill up form fields using jquery or Js, if you have trobble in loading data in textarea having ckeditor working already then this tutorial helps you. for your understanding I am adding html and js code here, also you can see how its working in codepen // html…
ckeditor, jQuery

How to Add a Custom Date Format in Drupal 8

In drupal 8 there is easiest way to add the date format is simply go link for your website "https://www.yourdomain.com/admin/config/regional/date-time" OR navigate to "Home  Administration  Configuration  Regional and language" Now click on Add Format as shown above link Add whatever…
drupal 8

Retrieve the query used in mysql views

we can create the database views for many reason, but if we forget what query you was used to create the views or need to find out using which query results are generating here is the solution: Below are the simple query to run and you will get the query: SELECT VIEW_DEFINITION FROM…
MySQL, database, phpmyadmin

Send file as Email attachment using hook_mail_alter drupal 7 programmatically (example webform submit)

Hi guys, In this tutorial we can see how we can send files as attachments in drupal 7 on webform submit using a hook_mail_alter  1) For this we need Mime Mail module and webform module 2) Create a simple module and use hook_mail_alter like below, In my case "attach_web" is my module name…
webform, email attachment

[SOLVED] PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting

If you get the same error like below in VScode editor then you are the right place to  "PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting" Solution: this error is shown because the PHP IntelliSense extension in VScode editor. 1) To solve this…
vscode

Redirect Old Domain to New Domain via .htaccess

Usually we develop the site on developement or subdomain and when we finally mirgate the to new domain then some of thing will remain or page redirect happens in  sometimes , so In this case .htaccess file helps to redirect all your olddomain pages to new one  Below is the code will helps to…
domain redirect

Create a Flag link programmatically and render flag link in twig template drupal 8

This article is refer to generate the flag link programmatically and render in drupal 8 twig template, before in drupal 7 its was quiet easy to render or generate flag link in just a single line of code. see below  drupal 7 : <?php flag_create_link('bookmarks', $node->nid); ?> But In…
drupal 8, drupal-flag, twig

Jquery prevent enter to submit form

If you want to prevent the form submit using jquery, then this page helps you to doing this. Code: jQuery(document).ready(function() { jQuery(window).keydown(function(event) { if (event.keyCode == 13) { event.preventDefault…
jQuery

Play Pause HTML5 Video using Jquery

HTML5 video playing on any web page is very easy, in this tutorial we can show you how to add video on html and make it play and pause without using html controls. I personally use this  play pause because many times we are using video to play auto animation to website Below is the code and embed…
HTML, jQuery, video

Pagination

  • Show more

Recent Content

  • How to Add a Custom Date Format in Drupal 8
  • Add text to ckeditor textarea using jquery
  • Drupal 8: check user is logged in or not in *.html.twig
  • Retrieve the query used in mysql views
  • Send file as Email attachment using hook_mail_alter drupal 7 programmatically (example webform submit)
  • [SOLVED] PHP executable not found. Install PHP 7 and add it to your PATH or set the php.executablePath setting
  • Redirect Old Domain to New Domain via .htaccess
  • Create a Flag link programmatically and render flag link in twig template drupal 8
  • Jquery prevent enter to submit form
  • Play Pause HTML5 Video using Jquery
  • Import and Export Drupal 8 Views, Or Import and Export any configuration Drupal 8
  • How to override different version of Jquery in Drupal 8 using theme
  • Subscribe to Mailchimp programmatically via api with PHP
  • How you can get Mailchimp API KEY
  • How to get your MailChimp LIST ID
  • Display a child div on hover using pure css (without javascript/jquery)

Recent Comments

  • Hi, On which conditions you…
    1 month 4 weeks ago
  • Hi
    I am getting another…
    2 months ago
  • its helpful
    2 months ago
  • Cleanly Explained with…
    4 months ago
  • Helps me well,thanks
    4 months ago
  • different from drupal 7, searching for same thx
    8 months ago
  • Its nicely explain, thanks
    9 months 3 weeks ago
  • fabulous. its save my time, thanks
    11 months 3 weeks ago
  • Helpful
    1 year ago
  • Great
    1 year ago

Useful Links

  • Home
  • Contact Us
  • Inaccessible
  • Privacy Policy
  • Inaccessible
  • Embed Google Maps
  • Inaccessible
  • © 2017 - 2026 Key2goal. All rights reserved

    Feedback

    Status message

    Sorry… This form is closed to new submissions.


    Just spent 2 secs and give your valuable feedback to us improve our website