Thursday 23 October 2003 9:59:24 am
It appears the problem with the media folder appearing as a normal folder is in the sitedesign admin override.ini.append. The code:
[media_folder]
Source=node/view/full.tpl
MatchFile=media_folder.tpl
Subdir=templates
Match[class]=1 Match[navigation_part_identifier]=ezmedianavigationpart Is supposed to override the media folder with the pretty thumbnail view. I just hard coded the last line of mine to get the view working. So now it looks like:
[media_folder]
Source=node/view/full.tpl
MatchFile=media_folder.tpl
Subdir=templates
Match[class]=1 Match[node]=119 Unfortunatly this does not take my media folder out of my root folder view. Also if you click on the media folder in the root folder view you get the pretty thumbnails. The problem appears to be in the fact that kernel/classes/eznavigationpart.php does not recognize my folder named Media as the Media folder. I wonder if I need to change something about my media folder itself to get array( 'name' => 'Media', 'identifier' => 'ezmedianavigationpart' ) to do what it is supposed to. In the mean time the hardcoded media folder seems to work ok.
working at www.wardnet.com
blogging at www.jamesward.ca
|