HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


How to add a child page in Wiki+

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#97533 (In Topic #19315)
Avatar

Community saint

Ok so I am pulling my hair out on Wiki+

I go to edit Tree. I have the Root entry with one child entry. I want to add a child entry to that first child entry so I click the id assistant which puts in my first child entry id (3 -this number 3 is because of a deleted page earlier) plus the exclamation point as well as the name of that entry?? So I change the name of that entry to the name of the child I want and click save but nothing gets added?

I would think that a page should have an "add Child Page" button when on it to make life simpler. But living without it for now is fine as long as I can find a way to add a child page to another?

 tried this in Chrome and FF just to make sure it is not a ff issue.
Back to the top
 
Posted
Rating:
#97534
Avatar

Community saint

ok NVM I figured it out but dang the explanations a little confusing.

Ok so as long as I edit tree from within the first child page I can just add a page as normal and it becomes child of that page. Gotta say seems very confusing at first.
Back to the top
 
Posted
Rating:
#97547
Avatar

Will this be clearer?



Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97572
Avatar

Community saint

Now that I understand it better I suppose it is clear enough. My problem was I was assuming that the first option (simply add a page) meant I was dropping a page into the root and that if I wanted to make the page a child of a particular page I needed to add the number of the parent first followed by the exclamation mark.

I think I was further muddled because somehow my first page (or 2) were added sort of separate from the wiki root and appeared as orphaned. Despite many attempts (with moderate success) at figuring out how to clean those up I am still left with what appears to be an orphaned copy of the root when I choose to "Edit Wiki Page" from the adminzone.


Adding to the confusion was the fact that typing the number (and exclamation point) with a name that started in anyway the same as the parent  name (but that ended differently) it would simply change the name of the parent page.

ie if Page2 (was actually 2) and I typed this in 2!Page3 then Page2 would now be called Page3 I guess this all adds up to a late night where a bunch of things just didn't seem totally intuitive.
Back to the top
 
Posted
Rating:
#97573
Avatar

Community saint

"To add a new child page at this point in the tree, simply type the title you wish for it on a line of its own"

Perhaps that would be clearer reading from the first option?
Back to the top
 
Posted
Rating:
#97574
Avatar

Community saint

Would be even clear if it actually told you what parent you were working under.

I know you technically have the breadcrumb to look at but I don't fully consider that intuative as your looking at a Nav which ends in "Edit Tree" so your eyes are not quite drawn to that as an explanation of where you sit in the tree (if you follow?)
Back to the top
 
Posted
Rating:
#97575
Avatar

Duck said

Would be even clear if it actually told you what parent you were working under.

I know you technically have the breadcrumb to look at but I don't fully consider that intuative as your looking at a Nav which ends in "Edit Tree" so your eyes are not quite drawn to that as an explanation of where you sit in the tree (if you follow?)

Yes I came to the same conclusion after reading your comments. We'll do this.

The root should not be listed as an orphan, that's a bug.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#97577
Avatar

Community saint

I can't remember exactly every order of which I did things but I believe the first thing I did was add a page from admin zone. This gave me an orphaned page so I at some point I added a menu link to Wiki home and then edited that page to be the wiki home. then tried to add the child page to it. I somehow got that working but still with orphaned pages. I delted an orphaned page but it also delted my wiki home it was really weird behaviour which lead to more of my confusion so this time I left the orphan page. It only shows in edit a page from admin zone but not under the wiki entry point from the site.

I suppose the orphan things are good so you could have multiple root trees I guess.
Back to the top
 
Posted
Rating:
#97580
Avatar

Yeah, it's just a bug. I committed a fix earlier which will be in the next patch release :).

We made the mistake of coding it up so that orphan pages are defined as a page with no parent. But of course, the root page is an exception.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris Graham)  
Rating:
#97642
Avatar

Well-settled

Back to the top
 
Posted
Rating:
#97645
Avatar

Community saint

hehe it does sound like it overlaps with that! hmmm maybe a place for me to put those support credits to use? Though there may be better areas, we'll see.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: