Skip to main content

Home/ Drupal for Developers/ Group items tagged database

Rss Feed Group items tagged

Hendy Irawan

Eclipse SQL Explorer - 0 views

  •  
    "Eclipse SQL Explorer is a thin SQL client that allows you to query and browse any JDBC compliant database. It supports plugins with specialized functionality for individual databases (Oracle, DB2 and MySQL) and can be extended to include specialized support for other databases. The project started as a fork from the original JFaceDb project which has gone commercial and uses some of the core libraries of SQuirreL SQL. The application is available as a standalone client or as a plugin for Eclipse 3.2."
Scott Blackburn

Database Scripts | drupal.org - 0 views

  • The Database Scripts project a series of command line scripts which will dump, erase, restore and merge databases. They are specifically set up to work the best when developing within the subversion version control environment. Their primary goal is to keep database configuration settings in sync with file changes, and then to allow a method to merge a development database with the production database
Csaba Kovács

Perform bulk operations on a custom database table with views | Wunderkraut - 0 views

  •  
    "/** * Implementation of hook_action_info(). */ function mymodule_action_info() { return array( 'mymodule_mytype_delete_action' => array( 'description' => t('Delete mytype'), 'type' => 'mytype', 'configurable' => FALSE, 'hooks' => array( 'mytype' => array('delete'), ), ), ); }"
anonymous

Free your content of PHP: Moving PHP code out of blocks, views and nodes | 2bits.com, I... - 2 views

  • From the early days, Drupal had the ability to embed PHP code in its content. This provides flexibility and functionality, most importantly, nodes and blocks can contain dynamically fetched data from the database using custom queries and displayed them in other content. This is an easy approach to get such data without writing a module. All you need to do is assign the PHP input format filter to the node or block and paste your PHP code in it, and voila, you have dynamic content. Code in Content: the issues However, this approach is suboptimal and has serious drawbacks, including:
  •  
    From the early days, Drupal had the ability to embed PHP code in its content. This provides flexibility and functionality, most importantly, nodes and blocks can contain dynamically fetched data from the database using custom queries and displayed them in other content. This is an easy approach to get such data without writing a module. All you need to do is assign the PHP input format filter to the node or block and paste your PHP code in it, and voila, you have dynamic content.
Hendy Irawan

Run multiple sites from the same code base (multi-site) | drupal.org - 0 views

  •  
    "If you are running more than one Drupal site, you can simplify management and upgrading of your sites by using the multi-site feature. Multi-site allows you to share a single Drupal installation (including core code, contributed modules, and themes) among several sites. This is particularly useful for managing the code since each upgrade only needs to be done once. Each site will have its own database and its own configuration settings, so each site will have its own content, settings, enabled modules, and enabled theme. However, the sites are sharing a code base and web document root, so there may be security concerns (see section below for more information)."
Hendy Irawan

phplist Integration Module | drupal.org - 0 views

  •  
    This module provides a basic level of integration between Drupal and phplist. one-way synchronisation of user accounts from Drupal to phplist targetting of mailshots using Drupal user profiles users can manage their phplist subscriptions in "My Account" bulk import to phplist for existing Drupal installations anonymous sign-up (via a block), confirm and unsubscribe access to lists based on role NEW in D6-DEV - send mailshots directly from within Drupal (thanks to seutje #449024: future direction) All the functionality of PHPlist is retained - this is just a way of automatically getting Drupal users into the phplist database and incorporating them into any mailshots that get sent.
Scott Blackburn

Finding Your Server's Bottleneck - 0 views

  •  
    # Matt Westgate (Lullabot) - Introduction [602KB] and Finding Your Server's Bottleneck [2.02MB] # James Walker (Bryght) - Optimizing The Web Server [740KB] # Jeremy Andrews (CivicSpace Labs) - Optimizing the Database [108KB] # Robert Douglass (Lullabot) - Memcache - Lightning Fast Drupal Sites [146KB] # Dries Buytaert (Drupal Project Founder) - Optimizing Drupal (not available)
Daniel Gregoire

Example Varnish VCL for a Drupal / Pressflow site | Drupal - 1 views

  •  
    Example Varnish configuration, used for optimizing site performance with file and database caching.
Daniel Gregoire

Module Development - Schema Won't Install | drupal.org - 0 views

  • I had similar symptoms ... a simple install file that wouldn't create a table. However, I got it to work by going into the Drupal system table and deleting the record for my module. Then the next time that I enabled my module, Drupal freshly discovered it and ran the .install file to successfully create the table. Summary. When you have a module already in use (and so it appears in the system table), and *then* as a developer you create its .install file, it doesn't look like a *new* installation to Drupal (since the module name was already in the system table), so hook_install never gets called.
  •  
    Trick for schema's that won't install. If you have a custom module that you _had_ installed before making a .install file and including a schema, you need to: (1) Disable your module (2) Uninstall your module (3) Delete your module's row in the 'system' table in your Drupal database. Then you can re-introduce your module, and all its files will be recognized.
Bartłomiej Małysz

Drupal Database Documentation - 0 views

  •  
    This is png picture from Drupal Database's Documentation
Bartłomiej Małysz

Drupal Database Documentation Picture - 0 views

  •  
    This is png picture from Drupal Database's Documentation
paresh sagar

Best Drupal Website Development Services in USA - 0 views

  •  
    Excellent WebWorld is a best drupal website development services in USA and surrounding the area. Drupal websites are platform, web server and database independent; they can be installed on any platform and work with all the servers.
Scott Blackburn

Multiple domains or vhosts using different databases | drupal.org - 0 views

  •  
    go up one directory (cd ..) and delete the 'other' directory. now make a symbolic link (in unix: ln -s . other) to replace the directory and browse to the site. works now, eh?
Daniel Gregoire

Programmatically Create, Insert, and Update CCK Nodes | doug | CivicActions - 2 views

  • Always use content_database_info to get the database info. For example:   $field1 = content_database_info(content_fields('yourfield1', 'yourtable'));  $table1 = $field1['table'];  $column1 = $field1['columns']['value']['column'];  $field2 = content_database_info(content_fields('yourfield2', 'yourtable'));  $table2 = $field2['table'];  $column2 = $field2['columns']['value']['column'];  if ($table1 == $table2) {    $sql = "SELECT n.*, t1.$column1, t1.$column2 FROM {node} n ";    $sql .= " INNER JOIN {$table1} t1 ON t1.nid = n.nid AND t1.vid = n.vid";  }  else {    $sql = "SELECT n.*, t1.$column1, t2.$column2 FROM {node} n ";    $sql .= " INNER JOIN {$table1} t1 ON t1.nid = n.nid AND t1.vid = n.vid";    $sql .= " INNER JOIN {$table2} t2 ON t2.nid = n.nid AND t2.vid = n.vid";  }  $sql .= " WHERE n.nid = %d";
  •  
    Important point: Using special functions to let CCK get the proper name of the field (allowing users to make CCK changes in the UI and let your code continue to work).
1 - 19 of 19
Showing 20 items per page