The DL Mod works just fine. I'm trying to figure out HOW it works. Right now, I just can't find where the value for $view is generated. Not that there's anything wrong.
I'm just curious.
[GERMAN -- GOOGLE]
Traurig, ist das nicht, was ich bedeutete. :?
Die DL-Umb.-Arbeiten gerade fein. Ich versuche, darzustellen aus, WIE es funktioniert. Gerade finden im Augenblick kann ich nicht, wo der Wert für $view erzeugt wird. Nicht das dort ist alles falsch.
The DL Mod works just fine. I'm trying to figure out HOW it works. Right now, I just can't find where the value for $view is generated. Not that there's anything wrong.
I'm just curious.
[GERMAN -- GOOGLE]
Traurig, ist das nicht, was ich bedeutete. :?
Die DL-Umb.-Arbeiten gerade fein. Ich versuche, darzustellen aus, WIE es funktioniert. Gerade finden im Augenblick kann ich nicht, wo der Wert für $view erzeugt wird. Nicht das dort ist alles falsch.
Ich bin gerade neugierig.
OH... Sorry for my misunderstanding. :oops: :P
Detail is mean the downloads.php page turn to the detail info of one of the download item. So, in the code of the downloads.php, there has one line :
if ($row['long_desc'] != "") $info = "<a class="gen" href="downloads.$phpEx?view=detail&id=" . $file_id . "&cat=" . $row[cat] . "">" . $lang['Dl_info'] . "</a>";[code]
this line mean that when the the long_desc field in that record is not null then return a link is downloads.php?view=detail&id="this record ID"&cat="this record of Cat."
So, when user click on this link, the downloads.php will do those code in this condition "if ($view == "detail")"
Is it what you need? I'm also a user of the Downloads mods. I hope you can get what you want. :wink:
The DL Mod works just fine. I'm trying to figure out HOW it works. Right now, I just can't find where the value for $view is generated. Not that there's anything wrong.
I'm just curious.
[GERMAN -- GOOGLE]
Traurig, ist das nicht, was ich bedeutete. :?
Die DL-Umb.-Arbeiten gerade fein. Ich versuche, darzustellen aus, WIE es funktioniert. Gerade finden im Augenblick kann ich nicht, wo der Wert für $view erzeugt wird. Nicht das dort ist alles falsch.
Ich bin gerade neugierig.
OH... Sorry for my misunderstanding. :oops: :P
Detail is mean the downloads.php page turn to the detail info of one of the download item. So, in the code of the downloads.php, there has one line :
this line mean that when the the long_desc field in that record is not null then return a link is downloads.php?view=detail&id="this record ID"&cat="this record of Cat."
So, when user click on this link, the downloads.php will do those code in this condition "if ($view == "detail")"
Is it what you need? I'm also a user of the Downloads mods. I hope you can get what you want.
Sorry for some typing mistake. :oops: :P
One more thing, when do the condition $view=detail, it will shown the page of the detail info.