Gossamer Forum
Home : Products : DBMan : Customization :

Short/Long Display Problem

Quote Reply
Short/Long Display Problem
I've scoured this entire site for tips on the Short/Long Display mod for dbman.
First, I installed the short/long mod on a clean install of dbman. It worked fine.
Second, I installed the Column Record Display mod and now the long display links are not going to the proper record. The are going to what appears to be the first record on each display page. I've re-installed both scripts about 5 times.

Any help would be greatly appreciated.

I'm stumped.

Paul


Quote Reply
Re: Short/Long Display Problem In reply to
what's the linking syntax from the column display mod? Looks like it's calling something the wrong way

Good Luck

**************************************
on the pages in between ...
Quote Reply
Re: [QooQ] Short/Long Display Problem In reply to
I am having the exact same problem, except I am using Short/Long and Spreadsheet (no clickable headers).

Everything is working, and looking, beautifully, and the long record looks fine. However, all the records on each page link to the first record on the page. I had it working fine earlier, and I guess I unknowingly tweaked something that gave me this problem.

Any help is appreciated!

------------------

$record_number = ((($nh - 1) * $db_max_hits) + $rec_count);



$long_url = $ENV{'QUERY_STRING'};

$long_url =~ s/\&nh=\d+//;

$long_url =~ s/\&mh=\d+//;

$long_url = "$db_script_url?$long_url&nh=$record_number&mh=1";

Anne
anne@mugbug.com
Quote Reply
Re: [VintageVW] Short/Long Display Problem In reply to
Fixed my problem- I had deleted a few records in the past, and that threw off the counter for the record number. Not sure if that will help you or not. I just renumbered my primary key, not skipping any numbers.
Anne
anne@mugbug.com