- Drupal Developer helps you to learn Drupal by Live code examples!
- Learn to develop custom Drupal modules and themes for Drupal 5, Drupal 6, Drupal 7 and Drupal 8
- Post your Drupal questions and get solutions.
- It is always free to join and post!
This CodeLet pulls results for search string fron instagram by using Instagram API. The result is displayed in tile. Befor you use the code, you have to register your app at instagram and obtain a client id which should be used in application.js file used with current code.
This codelet demonstrate different features required by a crowdsourcing site
Requires two roles 'requester' and 'bidder'.
This already include two Content types 'Request' and 'Bidder content',
This CodeLet display related products of cart items on the Onepage Checkout at the bottom.
Follow steps to add related products on the Onepage checkout page.
1.) Edit the onepage.phtml file located at /app/design/frontend/default/your_template/template/checkout
2.) Add the following code end of the file:
This CodeLet creates a floating bar at the bottom edge of the browser. The CodeLet specifically created for music player over the floating bar in the same manner as MySpace.
This CodeLet will add a facbook connect button to your login / registration form. Using the CSS, you can change the appearnce of the login block/page. This CodeLet also uses Ajax login/register module. Please make sure you have all the require modules and libraries installed before you using this CodeLet.
This CodeLet will display a block content in a region programmatically.
You have to implement hook_preprocess_HOOK() in THEMENAME.theme file of your theme directory.
This CodeLet reads details from the uploaded CSV file and import the data as nodes in respective fields. The fields can be CCK fields. Using the CodeLet, the CSV files are uploaded and saved to a location and nodes are created from it.
This CodeLet let you allow Remove tax line item from order.
Install module and make changes as per instruction on CodeLet.
This CodeLet Sends an email after a node of specific content type is created. The CodeLet uses Drupal8 API which sends and email upon node creation. This CodeLet implement hook_entity_insert & hook_mail.
Place this CodeLet on your MYMODULE.module file.
This CodeLet adds a confirmation form when a user tries to dowload a file from a Drupal site. The data then saved in the db and also mailed to the administrator. Once the form is submitted, file dowload starts. File download start with Jquery after 3 seconds. Administrator can also view all the form submissions.
This CodeLet will allow you to set some text in a region you specify from configuration page. The regions are from the current theme. The desired content will be displayed in the region when the page is rendered.
This CodeLet let you programmatically create a form page and render same form on a block.
Create custom module and follow CodeLet instruction to create a form and block programmatically.
This CodeLet tracks the number of views of tabs, created using field collection module. When user clicks on respective tab, an ajax call is initiated and a value is stored in the db. Which can then be used for manipulating further. This CodeLet allows five free views for respective tab.
This CodeLet let you display product field on cart page.
This CodeLet demonstrates the use of hook_form_alter & hook_menu.
Using hook_form_alter, a text field is added to site information page. Once a API key is saved, the button has value 'Update configuration'
Using JSON menu, one can pull a node of type page, as JSON string.