Tags:
create new tag
, view all tags

Question

I create a new Web in my TWiki installation. For new topics created under this new Web I wanted to change the existing template. In my new Web I went to the WebPreferences topic and clicked on the WebTopicEditTemplate template. It had a ? because it wasn't created yet. I created the template the way I wanted it saved it.

Next I created a new topic under my new web. My newly created template showed up perfectly. I saved my new topic. My problem is instead of this topic simply being under my new Web the bread crumbes looked like this.

TWiki - My New Web - WebPreferences - NewTopic
I was expecting the bread crumbs to look like:
TWiki - My New Web - NewTopic
Did I do something wrong?

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows XP
Web server: Apache 2.2.4
Perl version: Perl 5.8.8
Client OS: Windows XP
Web Browser: IE Version 6
Categories: Localisation

-- MichaelCarter - 19 Mar 2008

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

When you create a new page it is usually parented to the page where you started. You can reparent a page if needed, see the "more topic actions" screen. You can set the parent to "none in your WebTopicEditTemplate.

-- PeterThoeny - 21 Mar 2008

It appears you can not remove a parent at the browser level. I went to the "more topic actions" screen. There I went to the Set new topic parent section and selected "(no parent, orphaned topic)". This parent change did not save. I tried selecting another topic for a parent and that worked however, I couldn't select no parent and have that work.

-- MichaelCarter - 26 Mar 2008

I just went to the Sandbox web and removing a parent of a topic worked just fine. I'm wondering if it has something to do with the fact that I installed TWiki on a Windows box. I'm leaning towards installing on Linux instead. I will play around some more to see if I can get this to work on my installation. Thanks for the help!

-- MichaelCarter - 27 Mar 2008

The work around for me was to delete the WebTopicEditTemplate topic. Then create it via the Create New Topic link in the Web left bar. When doing it this way the template is created and it does not contain a parent. This worked better than clicking on the ? in the Web Preferences topic. I'll see if I can remove a parent topic after I install TWiki on a linux box.

-- MichaelCarter - 03 Apr 2008

You can remove a parent. Go to the "more topic actions" screen, select "none" in the parent topic box.

-- PeterThoeny - 03 Apr 2008

I encountered the same issue as MichaelCarter reported on 26 Mar 2008. If I try to select "(no parent, orphaned topic)" from the list, the change simply doesn't save.

Interestingly, if I simply type "none" into the "Select Parent Topic" field then that change saves and new topics are no longer placed under WebPreferences or any other topic.

Peter, there is no option of simply "none" in the list of parent topics, so it may be worth clarifying whether you mean that you should be able to select "(no parent, orphaned topic)" - in which case it appears there's a bug preventing that option from working - or whether you mean the user needs to type "none" into that field as I have described.

-- GarySprague - 21 Apr 2008

I also had the same issue MichaelCarter and GarySprague had. Selecting "(noparent, orphaned topic)" did not change the parent.

I tried Gary's suggestion of putting "none" in the text box and saving the changes. That worked. Thanks for the tip.

There does seem to be a bug with the "(no parent,orphaned topic)" option. This was on a Windows install if it matters.

-- JustinFeaster - 04 Sep 2008

 
Change status to:
Topic revision: r8 - 2008-09-04 - JustinFeaster
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.