• Reset your password
Home
OO PHP, Drupal, Symfony Developer and Architect
Tim Rabbetts

Main navigation

  • Home
  • Blog
  • Log in

Breadcrumb

  • Home
  • node

Example code for creating an admin page for Drupal 7 module

Tim
Rabbetts
By zarexogre | 1:17 PM UTC, Thu April 02, 2020
abstract, geometric, world
function pivotal_menu() {

  $items = array();
  $items['admin/config/development/pivotal'] = array(
    'title' => 'Pivotal settings',
    'description' => 'Piv

Entity metadata wrappers to the rescue - Drupal 7

Tim
Rabbetts
By zarexogre | 1:13 PM UTC, Thu April 02, 2020
computer, computer code, programming

This wrapping class is provided by the Entity API module, which I would highly recommend you run (more than likely you already are as it is required by some other modules).

Convert a date using php

Tim
Rabbetts
By zarexogre | 1:09 PM UTC, Thu April 02, 2020
coding, programming, css

The easiest way to convert a date in php I find is to use the php date and strtotime function.

Chop out part of a movie or video with ffmpeg

Tim
Rabbetts
By zarexogre | 12:54 PM UTC, Thu April 02, 2020
Code

This command will chop out from start ss for t time a bit of video.

Add the commit hash to zsh and oh-my-zsh on Ubuntu linux

Tim
Rabbetts
By zarexogre | 11:20 AM UTC, Thu April 02, 2020
server, cloud, development

If you haven't heard of it zsh is a bash alternative and oh-my-zsh is an awesome set of customizations.

Multilingual

Tim
Rabbetts
By zarexogre | 11:14 AM UTC, Thu April 02, 2020
  • Read more about Multilingual

Investment

Tim
Rabbetts
By zarexogre | 11:13 AM UTC, Thu April 02, 2020
  • Read more about Investment

Tax, Legal and Accounting

Tim
Rabbetts
By zarexogre | 11:13 AM UTC, Thu April 02, 2020
  • Read more about Tax, Legal and Accounting

Health and social care regulator

Tim
Rabbetts
By zarexogre | 11:12 AM UTC, Thu April 02, 2020
  • Read more about Health and social care regulator

Credit Scoring

Tim
Rabbetts
By zarexogre | 11:12 AM UTC, Thu April 02, 2020
  • Read more about Credit Scoring
Pagination
  • First page « First
  • Previous page ‹ Previous
  • …
  • Page 15
  • Page 16
  • Page 17
  • Page 18
  • Page 19
  • Current page 20
  • Page 21
  • Page 22
  • Page 23
  • Next page Next ›
  • Last page Last »
Subscribe to