drupal.the-aim.be
hook_schema example
http://drupal.the-aim.be/drupal-7-module-hookschema-custom-table
Skip to main content. This is an example of how to create a custom table in Drupal 7:. 1) create a file module name .install. 2) Add the schema in the hook schema. Function module name schema() {. Schema = array();. Schema['custom table name'] = array(. Description' = 'custom table name description.',. Description' = 'Primary key, term id.',. Type' = 'serial',. Unsigned' = TRUE,. Not null' = TRUE,. Description' = 'Vocabulary id.',. Type' = 'int',. Unsigned' = TRUE,. Not null' = TRUE,. Default' = 0,.
the-aim.be
Seminaries en opleidingen over internet marketing
http://www.the-aim.be/over-ons/events
Kiezen voor the AIM. Raquo; Over ons. Seminaries en opleidingen over internet marketing. Je wilt de online visibiliteit van je bedrijf verbeteren, maar je mist nog de achtergrondkennis om dit effectief te doen? Bij the AIM delen we graag onze uitgebreide kennis over internet marketing d.m.v. verschillende opleidingen en seminars. Dankzij onze opleidingen. Word je in een mum van tijd een internet marketing expert. Blijf je bij met de laatste internet marketing trends. Kiezen voor the AIM.
drupal.the-aim.be
Simple form alter example: How to add fields to taxonomy terms, validate and save them in a custom table
http://drupal.the-aim.be/drupal-7-hookformformidalter
Skip to main content. Simple form alter example: How to add fields to taxonomy terms, validate and save them in a custom table. Simple form alter example: How to add fields to taxonomy terms, validate and save them in a custom table. This is a simple. How to add fields to a taxonomie term with the hook form FORM ID alter. With bonus info like: how to add a validation and how to add a submit handler. Function my module form taxonomy form term alter(&$form,&$form state){. Tid = $form['#term']['tid'];.
drupal.the-aim.be
pjax for Drupal | drupal.org | Drupal Blog - the AIM / Websites, E-shops
http://drupal.the-aim.be/pjax-drupal-drupalorg
Skip to main content. Pjax for Drupal drupal.org. Pjax for Drupal drupal.org. Thu, 05/03/2012 - 06:11. Load content without redrawing page. JQuery Photo Tag plugin Karl 's Blog. Connecting Facebook with Drupal, the easy way. Grasmash. Drupalcon Denver - Battleplan. Hook form FORM ID alter. 32 (0)9 237 27 00. BTW 0457.879.491. Bezoek the AIM via.
drupal.the-aim.be
Automatically add a field when a new taxonomy(entitytype) is created
http://drupal.the-aim.be/add-field
Skip to main content. Automatically add a field when a new taxonomy(entitytype) is created. Automatically add a field when a new taxonomy(entitytype) is created. A code example to demonstrate how to automatically add a field when a new taxonomy is created. This can be used for other entities as well. Function hook taxonomy vocabulary insert($vocabulary){. If field does not exist create it. Field info field('the aim example text field') {. Field name' = 'the aim example text field',. Cardinality' = 1,.
drupal.the-aim.be
Theming Custom Blocks in Drupal 7
http://drupal.the-aim.be/theming-custom-blocks-drupal-7
Skip to main content. Theming Custom Blocks in Drupal 7. Theming Custom Blocks in Drupal 7. Het aanmaken van een custom .tpl voor een blok kan soms voor verwarring zorgen wat betreft de schrijfwijze. Daarom bij deze:. Block- modulenaam- delta.tpl.php (Let vooral op de dubbele streepjes! De modulenaam en delta kan opgevraagd worden in je originele blok.tpl dmv. Php print $block- module ;? Php print $block- delta ;? Vb met views block:. Block- views- test-block.tpl.php. En koppelde er deze tags aan:.
drupal.the-aim.be
Drupal 7: hook_view and custom tpl with hook_theme
http://drupal.the-aim.be/drupal-7-hookview-and-custom-tpl-hooktheme
Skip to main content. Drupal 7: hook view and custom tpl with hook theme. Drupal 7: hook view and custom tpl with hook theme. A small example how to create a custom template when creating a custom content type:. Function gasstation view($node, $view mode) {. Theme: the tpl name from hook theme. Node: variable from hook theme. You also could add title here. Node- content['prices'] = array(. Theme' = 'gasstationprices',. Template' = 'gasstationprices',. Variables' = array(' node. Null, ' title.
drupal.the-aim.be
file_directory_path() equivalent in D7
http://drupal.the-aim.be/filedirectorypath-equivalent
Skip to main content. File directory path() equivalent in D7. File directory path() equivalent in D7. If you want the relative path in D7, just like file directory path(). In D6, you can use this:. Variable get('file ' . file default scheme() . ' path', conf path() . '/files');. En koppelde er deze tags aan:. JQuery Photo Tag plugin Karl 's Blog. Connecting Facebook with Drupal, the easy way. Grasmash. Drupalcon Denver - Battleplan. Hook form FORM ID alter. 32 (0)9 237 27 00. BTW 0457.879.491.
drupal.the-aim.be
Flexslider | WooThemes | Drupal Blog - the AIM / Websites, E-shops
http://drupal.the-aim.be/flexslider-woothemes
Skip to main content. Thu, 04/12/2012 - 03:28. Http:/ www.woothemes.com/flexslider/. JQuery Photo Tag plugin Karl 's Blog. Connecting Facebook with Drupal, the easy way. Grasmash. Drupalcon Denver - Battleplan. Hook form FORM ID alter. 32 (0)9 237 27 00. BTW 0457.879.491. Bezoek the AIM via.
SOCIAL ENGAGEMENT