guardian46
Založený: 31.05.2005
Príspevky: 34
Zaslal: 2010-11-21 19:25
Návrat hore
Odpovedať s citátom
|
I have this:
| Kód: |
| $opts['fdd']['filename']['URLprefix'] = 'files/categorya/'; |
in my configuration.
I'd like to replace 'categorya' with a variable that will use the folder name in which the file resides. In other words, my folder 'files' had sub-folders 'categorya - categoryz', is there a way to enter the file name in the 'filename' field and have the URLprefix value be entered as the value of another field (field with all the sub-folder names) in the table?
Any help appreciated. Thanks.
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2010-11-22 20:33
Návrat hore
Odpovedať s citátom
|
If you omit the built-in usage of URL-type options, you can build your custom link using the MySQL CONCAT function. Search the forum for CONCAT and HREF to find some examples of custom links.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|