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.


changing the order of child pages

Login / Search

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

Fan in action

Child pages are alphabetical by default but what happens if I want to change to order?

How do I do it?
Back to the top
 
Posted
Rating:
#102212
Avatar

At this time you can't do it, but you can easily workaround by replacing usage of the main_comcode_page_children block with your own custom Comcode. I think this would replicate the look of the default Comcode page children block:

Code

[box]
[surround="spaced"]
 - [page="site:some_page"]Some page[/page]
[/surround]
[/box]
I'm assuming WYSIWYG is off. If not, use a normal WYSIWYG list instead of " - ".


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:
#102213
Avatar

Fan in action

That was good I and I have been able to replicate the box. Thank you!

I suppose my only difference is the child pages have a solid line while the box pages have a dotted line.

Is there a way to change this?
Back to the top
 
Posted
Rating:
#102214
Avatar

Hmm, I suspect you're posting the Comcode within a [surround="boxless_space"]...[/surround] part of the Comcode page.

boxless_space is what does this transformation, to make things look less boxy.


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:
#102215
Avatar

Fan in action

Ah thats sorted it out and improved my understanding.

You sir, are a legend.

Thanks you!
Back to the top
 
Posted
Rating:
#111202
Avatar

Well-settled

Okay, Chris, I discovered "boxless_spaces" while searching the css; then it took me awhile to find this forum posting, the only place almost this feature is mentioned. Anyhow, I used the code here and it worked. Except - there is a little circle/arrow in front of my menu heading, now, that I don't like, especially since it doesn't do anything. I tried to get rid of it by removing this and that from the css (then clicking undo), but nothing remove it.

How do I get rid of the circle/arrow icon in front of the heading while using boxless_spaces?

Thanks, Daniel Yordy
Back to the top
 
Posted
Rating:
#111203
Avatar

It's right to remove it from the CSS. You can use browser dev tools to identify what style(s) are involved.

However you mentioned "clicking undo", which implies you didn't save after making the changes, because if you had you'd have said "clicking undo then clicking the save and stay button again".


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
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: