Thanks Tony - I had the same problem. I did need to clear the cache though before the change became visible - just in case anyone tries it and it doesn't seem to work! - Chris
OK, but how do you create the special media-folder (top node for media)?
I am upgrading from 3.1 stable to 3.2 stable and had the same problem as this thread describes.
I tried to make a new folder in the Content-tab, and I put the ID of this folder into MediaRootNode=
After that I don't get any errors when clicking on Media-tab, but I do not get a special Media-folder either. It just jumps to Content-tab and that folder I created there.
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:
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
This is what you need to do to make the media view work:
1: Make a new section: Media, with navigationpart Media.
2: Make the media-folder under the absolute root/top-node: http://hostname/content/view/full/1
3: Assign section Media to the node you created.
4: Put the node_id of the Media-node into settings/override/content.ini.append: MediaRootFolder=<node_id>
This worked for me :-)
There is also a bug with the view of the subfolders in Media view, they are not clickable. Heres a fix for this: http://ez.no/developer/ez_publish_3/bug_reports/link_in_media_template_of_folder_is_broken
I was just returning to the thread to post the same thing Johny. I think this issue can be put to bed. I figured the section thing out shortly after I posted but I like your solution for getting the media folder into the top node. It never occured to me to just change the 2 to a 1 in my url. I was going to manually edit the ezcontentobject_tree table to get the folder where it belonged.
Thanks for saving me from myself :)
working at www.wardnet.com
blogging at www.jamesward.ca
You must be logged in to post messages in this topic!