Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [Robert] Build_Detail once

Quote Reply
Re: [Robert] Build_Detail once In reply to
Not 100% sure what you want to do, but as far as I see you have to look a couple of lines further.
CatLinks and Category is included as you said but as well:
Code:

$rel->select_options("GROUP BY LinkID") if $CFG->{build_detail_format} eq '%ID%';
$rel->select_options("ORDER BY LinkID");

The loop you are looking at is not the loop doing the queries:

Code:
my $sth = $rel->select('Links.*', @cat_cols, 'CategoryID' => $cond);

Is probably your problem. I work with dynamic pages, but at first sight I would say detailed pages are built for every Category which means you can not influence their location as easy as you might wish.

Regards

n||i||k||o
Subject Author Views Date
Thread Build_Detail once Robert 6233 Oct 12, 2017, 6:30 AM
Thread Re: [Robert] Build_Detail once
el noe 5972 Oct 12, 2017, 8:50 AM
Thread Re: [el noe] Build_Detail once
Robert 5966 Oct 12, 2017, 9:56 AM
Thread Re: [Robert] Build_Detail once
el noe 5959 Oct 12, 2017, 10:18 AM
Thread Re: [el noe] Build_Detail once
Robert 5918 Oct 13, 2017, 12:48 AM
Post Re: [Robert] Build_Detail once
el noe 5887 Oct 13, 2017, 5:26 AM