Database Forum
Web Database Register Members List Calendar FAQ

 
Go Back   Database Forum > PHPMagic Discussions > Customization
User Name
Password

Reply
 
Thread Tools Search this Thread Display Modes
Question Navigation in Data View
10-23-2011, 12:23 PM #1  

jyorke
Junior Member

 
Status: Offline
Posts: 23
Join Date: Mar 2008

Hi

I was wondering if you could help please. I am running PHP Magic version 3.1 and am trying to reposition the "previous", "go to page" and "next" navigation at the bottom of the database list table as users are having to scroll to get to these. Please could you advise how I do this?

Many thanks

Julian
Reply With Quote

Default
10-24-2011, 05:51 AM #2  

Kayla
Senior Member

 
Status: Offline
Posts: 302
Join Date: Mar 2005
Location: USA

The next - previous code can be found in the generated datalist.php file.
Code:
			$this->HTML .= "\t<td rowspan=1000 valign=top width=15>";
			//$this->HTML .= "<input type=image name=Previous src=scroll_previous.gif width=15 height=15>";
			//if($ScrollUp >= 1)
				//$this->HTML .= "<input type=image name=ScrollUp height=$ScrollUp src=scroll_bar.gif width=15>";
			//$this->HTML .= "<image src=scroll_box.gif height=$ScrollBox width=15>";
			//if($ScrollDn >= 1)
				//$this->HTML .= "<input type=image name=ScrollDn height=$ScrollDn width=15 src=scroll_bar.gif>";
			//$this->HTML .= "<input type=image name=Next src=scroll_next.gif width=15 height=15>";
			$this->HTML .= "</td>";
You could also reduce the number of records to display per page to perhaps 10-15 which reduces scrolling.
Reply With Quote

Question Horizontal scrolling
10-24-2011, 12:42 PM #3  

jyorke
Junior Member

 
Status: Offline
Posts: 23
Join Date: Mar 2008

Thanks for your reply. I didn't make it clear but it is the horizontal scrolling which is more of an issue so wonder if you could comment on that.

I look forward to hearing back.

Kind regards

Julian
Reply With Quote

Default
10-25-2011, 04:16 PM #4  

Kayla
Senior Member

 
Status: Offline
Posts: 302
Join Date: Mar 2005
Location: USA

Take a look at how many fields you are displaying. I only display the most important fields and when selected all the fields can be viewed in the detail view. You can modify the style fonts size in the css file, that would help some. Or stretch your screen. There really are not other solutions I can think of.
Reply With Quote

Smile Navigation in Data View
10-29-2011, 03:28 AM #5  

jyorke
Junior Member

 
Status: Offline
Posts: 23
Join Date: Mar 2008

Thanks very much for this.

Kind regards

Julian
Reply With Quote

Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT -5. The time now is 06:00 AM.

Powered by: vBulletin Version 3.7.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Database Forums

Help support our forum assistants and product development ->

go to top go to top