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

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

Serving Software Downloads in 976 Categories, Downloaded 29.874.174 Times

Template::Plugin::Page 0.10

  Date Added: May 17, 2010  |  Visits: 785

Template::Plugin::Page

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 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  
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  -  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  
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  
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 >...
 
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  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.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...
2.73 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