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.245.290 Times

Template::Plugin::Page 0.10

  Date Added: May 17, 2010  |  Visits: 1.108

Template::Plugin::Page

Report Broken Link
Printer Friendly Version


Product Homepage
Download (89 downloads)



Template::Plugin::Page is a plugin to help when paging through sets of results. SYNOPSIS [% USE page = Page($total_entries, $entries_per_page, $current_page) %] First page: [% page.first_page %] Last page: [% page.last_page %] First entry on page: [% page.first %] Last entry on page: [% page.last %] When searching through large amounts of data, it is often the case that a result set is returned that is larger than we want to display on one page. This results in wanting to page through various pages of data. The maths behind this is unfortunately fiddly, hence this module. The main concept is that you pass in the number of total entries, the number of entries per page, and the current page number. You can then call methods to find out how many pages of information there are, and what number the first and last entries on the current page really are. It would be typically used in the following way for an HTML template: [% USE page = Page(134, 10, 13) %] Matches < b >[% page.first %] - [% page.last %]< /b > of < b >[% page.total_entries %]< /b > records.< BR > Page < b >[% page.current_page %]< /b > of < b >[% page.last_page %]< /b >< BR > [% IF page.previous_page %] < a href="index.cgi?page=[% page.previous_page %]" >Previous< /a > [% END %]    [% IF page.next_page %] < a href="index.cgi?page=[% page.next_page %]" > Next< /a > [% END %] ... which would output something like: Matches < b >121 - 130< /b > of < b >134< /b > records.< BR > Page < b >13< /b > of < b >14< /b> < BR > < a href="index.cgi?page=12" >Previous< /a >     < a href="index.cgi?page=14" >Next< /a > Note that this module is simply a plugin to the Data::Page module..

Requirements: No special requirements
Platforms: Linux
Keyword: Br Entries Libraries Page Paging Plugin Programming Templatepluginpage
Users rating: 0/10

License: Freeware Size: 3.07 KB
USER REVIEWS
More Reviews or Write Review


TEMPLATE::PLUGIN::PAGE RELATED
Networking  -  Page Excerpt Plugin 1.2.2
The Page Excerpt Plugin enables you to add an optional hand-crafted summary of your page content that can be used in your theme.QuestionsIf you have any questions you can leave a comment in my blog.Languages * This Plugin is available in all...
30.72 KB  
Networking  -  Entries on page x 1.3.4
Generates a link back to the archive page the current entry is on. Makes it easier for users to retrieve the chronology of a blog.Installation : 1. Upload the entries-on-page-x folder to the /wp-content/plugins/ directory. 2. Activate the plugin...
10 KB  
Networking  -  WPML Page Order 1.2.0
"WPML page order" plugin helps you to set up the order of pages with drag-and-drop interface. Order of translated pages updates automatically.Installation : 1. Install plugin and activate it on the Plugins page 2. Go to the "WPML page order" tab...
10 KB  
Modules  -  Page Shortcodes Plugin 0.1
Embed page lists and other page information in pages and posts by way of several shortcodes.[page_title name=my-page-slug][page_list name=my-page-slug]ShortcodesThe available shortcodes are: 1. [page_list] 2. [page_title] 3. [page_content] 4....
10 KB  
Networking  -  Social Media Page 2.2
The Social Media Page Wordpress plugin will add a list of links to your social media profiles on a page or post of your choice through the use of a simple tag. A widget is also added so that you can display this list of links in the side menu of...
10 KB  
Modules  -  Blogroll to Page 1.0.0
You can use the Blogroll to Page WordPress Plugin to output your blogroll links to any page or post on your blog by using its blogroll-to-page custom short code. The output options can be configured using parameters explained in the WordPress...
10 KB  
Modules  -  AJAX Comment Pager 1.0.1
AJAX paging plugin for comment pages in WordPress 2.7 or higher versions.installation : 1. Your WordPress is 2.7 or higher version. (include beta versions) 2. The CUSTOM CALLBACK method has been declared. (Your theme is ready for WordPress...
20.48 KB  
Networking  -  TwitterPad 1.3.3
TwitterPad is an automatic RSS-to-page/post plugin designed to integrate with twitter. This plugin allows the user to add a number of custom search strings from search.twitter.com specifying which page (or a new post) new tweets should be added...
10 KB  
Libraries  -  Virtual List Control New
This package provides an ActiveX control that adds speed, almost unlimited number of entries and page scroll buttons to the regular list control. The virtual control can handle an outrageous number of items. Specifically, the control can support...
 
Modules  -  Insert View 6.x-1.x-dev / 5.x- 1.0
The [view_pager:name of view=x] tag that inserts a pager view listing x entries per page is only available in the version 5.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building >...
 
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB