From: Arnar L. <arn...@bo...> - 2004-08-03 16:01:57
|
On Tuesday 03 August 2004 17:41, Bernard Chabot wrote: > Well, I was able to create 2 topic types under '[portal]/system/topictypes' > ... and to set them as "Topictype" ... > ... and I see them now in the "Available topic types in topicmap:" > ... and able to instanciate them ! Great. > I have also create 1 association type and 2 role types ! > > When I create a topic (I can't find any folder for for the simple topic ?!) We just stick them wherever we like inside the portal. Just create your own folder-hiearchy. When you "instanciate" the topic types, what you are really doing is creating entries in the portal_types component. Since you are apparently not using the TMS (ztmdefault) method of adding new portal types, you need to be certain that the type-system allow you to add the new types to folders. (You can do this in portal_types, or let the TMS do it for you.) > ... I've got this following text when I try to give it a type : > > => the search only say [topic] instead of the <nameOftheTopic> Well, you haven't given your topics any basenames, or the basename is empty. Try editing the basename. I guess it should be extended to fall back on the topics zope-id if no basename can be found. > I also have different icon for topic for different type ... > ... and some error when I whan to "edit" the topic > See after : > > ============== > Site Error > An error was encountered while publishing this resource. > > Debugging Notice > > Zope has encountered a problem publishing your object. > Cannot locate object at: > http://localhost:8080/test/system/bernard/content_edit_form This looks like a bug, though I am not exactly sure where it comes from. We rarely use the system withouth the TMS, which is where 'content_edit_form' comes from. You can fix it in the portal_types component if you do not wish to install the TMS components yet. Simply replace all occurrences of content_edit_form with ztmtopic_edit_form. > It's true, it's a kind difficult without documentation ... > ... hope you could translate your "HowTo" soon :-) Indeed, as it stands now you still need to know CMF quite well. The TMS templates makes all this a bit easier though, so I recommend that you try to install the "Topic Management Tools" if you haven't yet. The templates are in Norwegian though. Internationalization is planned for ZTM 2.6. -- Arnar -- Arnar Lundesgaard | Konsulent Bouvet AS, Sandakerveien 24C D11, Postboks 4430 Nydalen, N-0403 Oslo Tlf. +47 23 40 60 00/61 22 | Faks: +47 23 40 60 01 | Mob: +47 98 23 80 36 http://www.bouvet.no | arn...@bo... |