Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.476.241 Times

Previous/Next API 6.x-1.x-de

  Date Added: May 04, 2013  |  Visits: 372

Previous/Next API

Report Broken Link
Printer Friendly Version


Product Homepage
Download (45 downloads)

This module allows you to know the previous or next nodes for any given node. This is very useful for providing navigational links to the user without the expensive queries required to dynamically deduce such information on the fly.The use case is two fold:Usability/NavigationFor example, on a site with a gallery of images, you want to show a next/previous link with a thumbnail under each image. Your site's visitor click on the link to show new content or browse it.ScalabilityAlthough the previous and next nodes can be deduced with some SQL work, the queries to do so are very heavy on the database, and can bring a site to its knees. This module solves this problem by storing the previous/next node in a table so lookups are fast. Once the module is installed, it will build this index backwards via cron until all nodes have been indexed. See the "More Info" section below for a detailed post on the positive scalability impacts of implementing this module.ConfigurationThe module can be restricted to certain content types to be included in the previous/next indexing. For example, you want the site's visitors to browse through video and image nodes only, but not blogs and regular pages.The number of nodes to index is defined in the settings too. The default is 200, but you may want to lower that for a site on shared hosts. Once the indexing is complete for all the site's nodes, cron will do do anything. You can always reindex the site using the "Re-Index" button on the settings page.APIThe module provides only one API call. If you do not call that function, this module will do nothing.Examples for using it are:ExampleTo implement the functionality for this module, please see the example in the README.txt file provided with this module.Future developmentAt present, the module does not provide for indexing content by criteria other than the node type.Other use cases may call for additional criteria, for example, a term id, so content is browsed by taxonomy terms. This will require database schema changes and reindexing of the site again.If you have a patch to do this, please submit an issue for it.More infoFor more info on the performance impact of this module on large sites, please read Previous/Next API: a high performance API module for previous/next node.SponsorsDevelopment sponsored by: WebMediaBrands for Ads of the WorldAuthorKhalid Baheyeldin of 2bits.com.The author can also be contacted for paid customizations of this module as well as Drupal consulting, installation, development, and customizations.

Requirements: No special requirements
Platforms: PHP
Keyword: Browse Content Criteria Customizations Database Image Index Indexing Module Nodes Performance Prev Nidnid Previous Previousnext Queries Settings Site
Users rating: 0/10

License: Freeware Size: 10 KB
PREVIOUS/NEXT API RELATED
Libraries  -  Image::MetaData::JPEG::Structures 0.15
Image::MetaData::JPEG::Structures is a Perl module that describes the structure of a JPEG file; it is an appendix to the main manual page of the Image::MetaData::JPEG module, which the reader should refer to for further details and the general...
286.72 KB  
Database Tools  -  SQL Database Professional 3.7.7.221
The SQL Database Professional data export module for Accurate Printer Monitor is used for recording/saving variables the parser receives and extracts from the stream of bytes into SQL-compatible databases, such as SQLBase, Oracle, Microsoft...
 
Modules  -  QEdit (Batch and Mass Operation for nodes) 5.x-1.1
Quick Edit adds batch ("mass updates") and AJAX functionality to the standard interface for Drupal content management, for the roles that has "administer nodes" permissions.From the Quick Edit content management screen, you filter by content type,...
10 KB  
Graphics Viewers  -  Make Image Index rc
Scans a given directory and makes one or more index files, that contains thumbnails of all image files found. The filename and image dimensions are overlayed on the thumbnails.It is a BASH script using NetPBM for image manipulation.
6.48 KB  
Database Tools  -  Pages Summary 1.0
Pages Summary is meant to generate an HTML navigation bar made of links to browse content that is split over several pages, like for instance listings made of data from database query result records.Pages Summary can execute a given MySQL query to...
10 KB  
Database Tools  -  vladzur Database 0.8
A connection to a MySQL database can be established and SQL INSERT, UPDATE, DELETE and DESCRIBE queries can be executed from parameters that specify the tables, fields and values to...
10 KB  
Modules  -  Full Node Version 6.x-1.x-de
full_node_version module (FNV) enhances versioning to allow draft and production views of site content witout a database roll.Content creators often need to see a site to know when it's right. While preview is great for single pages, it falls...
20.48 KB  
Network & Internet  -  django-nani 0.0.2
django-nani provides a high level API to maintain multilingual content in your database using the Django ORM.
30.72 KB  
Libraries  -  Image::PBMlib 1.05
Image::PBMlib Perl module contains helper functions for PBM/PGM/PPM image file formats. SYNOPSIS use Image::PBMlib; ... open(PPM, "< image.ppm")... my $ref = readppmheader(*PPM); my @pixels = readpixels_raw(*PPM, $$ref{type},...
6.14 KB  
Libraries  -  Search::FreeText 0.05
Search::FreeText is a free text indexing module for medium-to-large text corpuses. SYNOPSIS my $test = new Search::FreeText(-db => [DB_File, "stories.db"]); $text->open_index(); $text->clear_index(); $text->index_document(1, "Hello...
10.24 KB  
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB