Tom Muck

Alpha Dog Blues Band
Home page
All articles | DWTeam | Flash Remoting | Basic-Ultradev | Community MX
All Extensions | Extension News | Extension FAQs | Customer Login
Books authored or co-authored by Tom Muck
Extensions, books, and other products | Customer Login
Your current cart contents
Tom-Muck.com Blog | CMXTraneous Blog | Flash Remoting Blog
About the site

Pagevariables


The Current Page and Total Pages variables

Dreamweaver MX currently has a Recordset Navigation Bar that shows a display like this:

Records 21 - 30 of 400

When using the DWTeam Recordset Navigation server behaviors, you may want to include a display like the following:

Currently viewing page 3 of 40 pages

The concept is similar, but there is no way to achieve this display in Dreamweaver MX without hand-coding it or using our server behaviors. Both of our behaviors will insert a variable on the page that will display the number. Obviously in order to use these page variables, there have to be pages and recordset navigation already set up or they won't work. You can use the variables with any of our Recordset Navigation behaviors, or any of the built-in recordset paging (Move To) server behaviors that come with Dreamweaver MX.

To apply either one, all you need to do is to put your cursor on the page whereever you want the variable to appear and then choose the SB from the Server Behaviors >> DWTeam >> Recordset Navigation menu and choose either Current Page Variable or Total Pages Variable:

The only parameter is for Recordset. Choose the correct recordset and click OK. The Current Page or Total Pages variable should be on your page where your cursor was positioned.

 

 

 

Pay me securely with your Visa, MasterCard, Discover, or American Express card through PayPal!
Pay me securely with your Visa, MasterCard, Discover, or American Express card through PayPal!
About | Privacy Policy | Contact | License Agreement | ©2002-2017 Tom Muck | Dreamweaver Extensions