Forums
This topic is locked
master/detail page navigation
Posted 28 Apr 2002 16:04:22
1
has voted
28 Apr 2002 16:04:22 Toomas Riim posted:
I'm using Phakt with UD. I have a problem with bulding next/prev links on the detail page. On the master page I have a table with different sorts of data taken from MySQL database. In one column I have links to the detail page (GoToDetailpage SB) where I have some more info (photo and text) about the item. Now I want to have next/previous links to the next or previous detail page of the items indicated on the master page? But I couldn't make next/prev links on the detail page allowing me to navigate through the detailpages for every item indicated on the master page. I can only browse back to the master page and click again the next item. Any ideas how to solve the problem?Replies
Replied 14 May 2002 10:06:58
14 May 2002 10:06:58 Julio Taylor replied:
the problem (i think) is that your detail page probably has a query which is being filetered by criteria passed on from you master table, (e.g. detail.php?rec_id=128), which means that the detail page's recordset will only contain one record (rec_id=128) which is why you can't browse them.
Make sure that the recordset in the detail page is not not being fieltered down to one single record (e.g. using a record id field as criteria).
i can't think of any other solutions. you could just wait for one of the geniuses like tim or waldo to waltz around here and give you some proper advice<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
-- J
P.S. i killed kenny
Make sure that the recordset in the detail page is not not being fieltered down to one single record (e.g. using a record id field as criteria).
i can't think of any other solutions. you could just wait for one of the geniuses like tim or waldo to waltz around here and give you some proper advice<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>
-- J
P.S. i killed kenny
Replied 17 May 2002 16:23:49
17 May 2002 16:23:49 Toomas Riim replied:
Yes, you are right. It seems to be impossible. But how one creates an image gallery which works on the same basis, where you have a bunch of image thumbnails on the master page and when one is clicked it goes to a bigger picture on the detail page and shows also link to the next or previous bigger picture. Is it possible to do it with UD with Phakt?
Replied 15 Jun 2002 16:24:51
15 Jun 2002 16:24:51 Toomas Riim replied:
Still having this problem with DW MX and using Phakt 2.0.4. DOES ANYONE KNOW HOW TO SOLVE THE PROBLEM? Thanx for any help!
Replied 26 Nov 2003 16:21:26
26 Nov 2003 16:21:26 Henk Arends replied:
Already found a solution for this? I want to do the same....
HJ
HJ