[Typo3] DAM Downloads Categories "unknown"?
Eric Blom
ericb at piap.com
Mon Apr 11 19:34:31 CEST 2005
Hi Daniel,
Thanks for the clarification on the List Type field. Can you offer me
any suggestions on ways to customize the format for each instance of
dam_downloads? Am I on the right track with the page's TSconfig?
I also have a list of other features I'm looking for. Would you mind
commenting on if these features are good enhancements for dam_downloads
or if a new extension should be created?
1) Ident key (sku) available as a MARKER for the front end template
2) User controlled front end sorting based on, SKU, TITLE, dates, etc.
3) Method for using the Indexed Search with the files available in a
dam_downloads instance
The next feature is probably one for the DAM it self, but, would need
to be comprehended by dam_downloads. The feature is related DAM items,
just like related news. Creating categories would be one way to do
this, but, I would end up with far too many categories. In my case I'm
managing Application Notes in PDF format and example projects that are
ZIP files. I need to find a way to link these two together in the DAM
so that a visitor can see if an App Note has an associated example
project.
Regards,
Eric
On Apr 11, 2005, at 9:15 AM, Daniel Thomas wrote:
> Hi Eric,
>
> the list field type is not for choosing different layouts of the list.
> It is there to differentiate between the basket list and the standard
> list.
> If you put in COLLECT the plugin will show a list of all the items the
> user has added to the downloadlist.
>
> Regards Daniel
>
>> Thank you Daniel. I removed dam_downloads and then reinstalled it and
>> now the categories show up! Thank you for your help and for this
>> extension.
>>
>> Would you mind trying to help me with another question?
>>
>> If I set
>> plugin.tx_damdownloads_pi1.listView.templatePrefix = APPNOTE
>>
>> in my template setup I'm able to change the format for my list. My
>> understanding was that I should be able to do the same thing on an
>> instance by instance basis by putting APPNOTE in the plugin's
>> General: List Type field. However, whatever I put in that field seems
>> to have no effect. Next I tried to put
>>
>> tx_damdownloads_pi1.listView.templatePrefix = APPNOTE
>>
>> In the page's TSconfig field, but, that didn't seem to do anything
>> either.
>>
>> Can you tell me what I need to do to have each instance of the
>> dam_downloads plugin display it's contents with a different format.
>> Currently I was trying to use LIST and APPNOTE.
>>
>> Thank you again Daniel.
>>
>> Eric
>>
>>
>> On Apr 10, 2005, at 11:47 PM, Daniel Thomas wrote:
>>
>>> Hi Eric,
>>>
>>> could you check whether the dam_downloads extensions is loaded
>>> before the dam extension? - is listed before the dam extension when
>>> in the extension manager's view of all installed extensions.
>>>
>>> The TCA configuration for the plugin form uses a variable defined in
>>> the TCA of the dam extension:
>>> $GLOBALS['T3_VAR']['ext']['dam']['TCA']['category_config']
>>> If the dam is loaded after the dam_downloads this variable is not
>>> yet set and produces your problem.
>>>
>>> Regards
>>>
>>> Daniel
>>>
>>>> I think the problem I'm experiencing is a bug and I've decided to
>>>> make a post to the development list. The title of that post will be
>>>> "DAM core and dam_downloads bug?". Below are the contents of the
>>>> post for those wishing to follow the topic.
>>>>
>>>>
>>>>
>>>> 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
>>>>
>>>>
>>>> On Apr 9, 2005, at 8:29 AM, Eric Blom wrote:
>>>>
>>>>> I still haven't found a solution to my problem. But, I have
>>>>> noticed that the search box and it's pop-up menu in the front-end
>>>>> correctly display the categories I have created. Therefore, I'm
>>>>> still confused about why the back-end configuration form does not
>>>>> show any categories.
>>>>>
>>>>> Here is a screenshot to clarify the problem. You will see that
>>>>> below "Plugin: DAM Downloads" it says "Categories: Unknown type"
>>>>>
>>>>> http://www.psocdeveloper.com/downloads/damdownloads_categories.jpg
>>>>>
>>>>> Any tips would be greatly appreciated.
>>>>>
>>>>> Cheers,
>>>>> Eric
>>>>>
>>>>>
>>>>> On Apr 7, 2005, at 9:55 PM, Eric Blom wrote:
>>>>>
>>>>>> I have three installations of Typo 3.7.0 all of which have the
>>>>>> same set of DAM extensions installed. One of the installations
>>>>>> lists my DAM Categories in the backend configuration for the DAM
>>>>>> Downloads plugin I've put on one of my pages. However the other
>>>>>> two simply say
>>>>>> DAM Categories: "Unknown type"
>>>>>>
>>>>>> I have set pid for the damdownloads plugin and I do get items
>>>>>> that are in the DAM system to show up in the front end. But,
>>>>>> since I can't select categories I can't limit what shows up in
>>>>>> the frontend by category.
>>>>>>
>>>>>> I've been searching for the different in the configuration of
>>>>>> these sites, but, can't find one. Can anyone here give me a tip
>>>>>> as to why this might be happening? Or maybe some good debug
>>>>>> techniques to use?
>>>>>>
>>>>>> Thank you,
>>>>>> Eric
>>>>>
>>>>> _______________________________________________
>>>>> Typo3-english mailing list
>>>>> Typo3-english at lists.netfielders.de
>>>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>>>>
>>>>
>>>> _______________________________________________
>>>> Typo3-english mailing list
>>>> Typo3-english at lists.netfielders.de
>>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>>>
>>>>
>>>>
>>> --/
>>>
>>> Daniel Thomas dpool
>>>
>>> Hinderink und Thomas Partnerschaft IT-Berater und Projektmanager
>>>
>>> Eduard-Schmid-Str. 9 | D-81541 München
>>> t 08945227582 | m 01793918781 | fax 08945227583
>>>
>>> http://www.dpool.net | http://www.typergy.com
>>> http://typo3partner.net
>>>
>>> /--
>>>
>>> _______________________________________________
>>> Typo3-english mailing list
>>> Typo3-english at lists.netfielders.de
>>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>>
>>
>> _______________________________________________
>> Typo3-english mailing list
>> Typo3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>
>>
> --/
>
> Daniel Thomas dpool
>
> Hinderink und Thomas Partnerschaft IT-Berater und Projektmanager
>
> Eduard-Schmid-Str. 9 | D-81541 München
> t 08945227582 | m 01793918781 | fax 08945227583
>
> http://www.dpool.net | http://www.typergy.com
> http://typo3partner.net
>
> /--
>
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list