ATMediaPage integration in Plone SUMMARY VIEW

by Maik Derstappen last modified Dec 30, 2008 05:51 PM
How you can integrate your ATMediaPage in the SUMMARY VIEW of Plone Folders.

just customize the following script: /portal_skins/ATContentTypes/atctListAlbum



change this line:

result['folders'] = queryMethod({'portal_type':('Folder',)})

to:

result['folders'] = queryMethod({'portal_type':('Folder','MediaPage')})



and now change this line:
if p_type not in ('Image', 'Folder',) ]
to:
if p_type not in ('Image', 'Folder','MediaPage') ]


thats, all  :-)