[Typo3-dev] DAM core and dam_downloads bug?
Eric Blom
ericb at piap.com
Mon Apr 11 01:09:07 CEST 2005
I've been trying to get the dam_download extension working for the past
few days. I've run into a problem with categories that I think may be a
bug.
Here is my setup:
Typo3 3.7.0
dam_downloads 1.0.1
dam 0.2.1 also tried 0.2.2
dam_index 0.1.1
dam_file 0.1.0
dam_catedit 0.1.0
enet_dam_ext 0.2.1
The first problem I noticed was that in the backend configuration form
(am I using the correct term here?) for the dam_downloads extension it
says "Unknown type" for "Categories". A screenshot is available at the
following URL.
http://www.psocdeveloper.com/downloads/damdownloads_categories.jpg
If found this problem to be quite puzzling because I do see my
categories in the frontend search for the dam_downloads extension as
well as in the backend when I'm indexing DAM items and creating new
categories. One place in the backend where I do not see the category
for a DAM item listed is in the Media->List page. For all of my DAM
items it lists N/A. Note this N/A is in the list of DAM items not when
editing a single DAM item. When editing a DAM item I'm able to see and
select categories without a problem.
Being new to Typo3 I just started poking around trying to find the
source of the problem. When I looked at ext_tables.sql I was again
puzzled by the type of "blob" for the table. See the following.
#
# Table structure for table 'tx_dpdamimgs_content'
#
CREATE TABLE tt_content (
tx_damdownloads_category blob NOT NULL
);>
Then I took at look at ext_tables.php and thought I was on to something
when I saw tx_damdownloads_category. I assume this is where the content
for the from should be coming from and was searching for a way to
execute this in some kind of a debug mode, but, could not find a way.
$tempColumns = array(
'tx_damdownloads_category' => Array (
'label' =>
'LLL:EXT:dam/locallang_db.php:tx_dam_item.category',
'exclude' => '0',
'config' =>
$GLOBALS['T3_VAR']['ext']['dam']['TCA']['category_config']
)
);
Not understanding why the tx_damdownloads_category had a type of BLOB
because I was thinking it should simply point to the UID of a DAM
category I used phpMyAdmin to change the type to INT and manually put
in the UID of the category I wanted for each of my frontend instances
of dam_downloads. While this seemed to fix the problem of limiting what
shows up in the front end for each page it did nothing to the backend
form which still appears as shown in the URL above.
I'm at a loss as to what the problem is and why the table modifications
I made seemed to work. Any help would be greatly appreciated. If this
is not the correct place to be sharing this information please let me
know.
Kind Regards,
Eric
More information about the TYPO3-dev
mailing list