CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Display Navigator only when needed

Print topic Send  topic

Author Message
bb
Posted: 01/13/2004, 12:57 PM

Compliments of Yes tech support:

If you want to globally hide the grid navigation HTML unless there is more than one page of data to display, replace the existing code in Navigator.php with the following starting on about line 37:


function Show()
{
global $Tpl;
$this->EventResult = CCGetEvent($this->CCSEvents, "BeforeShow");
//==========================
if ($this->TotalPages == 1)
$this->Visible = false;
//==========================
if(!$this->Visible) { return; }

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.