Toolbar

Features

  • select which roles can see the Toolbar

Available Tags

  • toolbarrole

Automatic extraction of patterns files status

Yes, supported in versions >= 7.x-2.x

Shortcut

Features

  • Create / Delete shortcut_set
  • Modify shortcut_set's name
  • Add / Modify / Delete links of a shortcut_set
  • Switch User's Shortcut_set

Available Tags

  • shortcut_set
  • shortcut_link
  • shortcut_set_user

Automatic extraction of patterns files status

Yes, supported in versions >= 7.x-2.x

Examples

shortcut_set Tag:add/modify/delete

info:
  title: add new shortcut set (create)
  description: add a new shortcut set 
  author: QScience
  category: Shortcut 
  version: 1.0 
  core: 7.x 
  author_email: xrfind@gmail.com

actions:

  - create:
      tag: shortcut_set
      shortcut_set_name: new_set_fortest

  - modify:
      tag: shortcut_set
      oldname: new_set_fortest
      newname: TestShortcutSet001

  - delete:
      tag: shortcut_set
      name: TestShortcutSet001

shortcut_link Tag:add/modify/delete


info:
title: add a link to a shortcut set (create)
description: add a link to a shortcut set
author: QScience
category: Shortcut
version: 1.0
core: 7.x
author_email: xrfind@gmail.com

actions:

- create:
tag: shortcut_link
shortcut_set_name: new_set_fortest
shortcut_link_title: link_admcont

Getting Your First REST Server Working

If you have never dealt with services before, then this guide may help you get a REST server on Drupal 7 up and running.

I have pulled this example module from other sources and made one small edit to it, of adding ->fetchAll() to the create function, but all you have to do is to install 1) the Services module, 2) the REST server within the Services module package, 3) this custom module below, and 4) the Firefox plugin called "Poster" (which allows you to check that everything is working). You can do this on any Drupal 7 site, as far as I know.

NOTE: The instructions written below are to get you up and running in your local environment so you understand how to make the site with a working REST server. Following these steps and not doing anything further may leave your site vulnerable.
You may also download the archive attached with files containing all the code shown here.

Here is the custom "noteresource" module to install:

noteresource.info:

name = Note Resource
description = Sample resource implementation
package = Notes example

core = 7.x

files[] = noteresource.inc
files[] = noteresource.module

noteresource.install:

<?php
// noteresource.install
/**
* Implementation of hook_schema().
*/
function noteresource_schema() {
$schema['note'] = array(
'description' => t('Stores information about notes.'),

Subscribe with RSS Subscribe to RSS - example