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.


Comcode not working for me

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#95856 (In Topic #19055)

Non-joined user

comcode page is created but can't be accessed

I have a huge 60,000 + page site that I am trying to convert into ocPortal manged storefront. Problem is I use Add page at bottom of my start page and it brings me to a comcode editor which does allow me to construct the page but once constructed and saved it can NOT be accessed by ocportal. It says to access this page in the welcome zone simply use the comcode tag [page=<pagename>] in your page to reference it.

Can someone direct me to real factual technical details because well it is great that ocportal has all these fancy features but it I can't find basic instructions it isn't going to be much good.
Back to the top
 
Posted
Rating:
#95857
Avatar

Hi,

I believe it says 'Add child page' (or something like this), not 'Add page'. A child page will sit underneath the current page, but only have an automatic link if the parent page has a block to display it's children.

Normally you would use the Add New Page wizard from the Admin Zone.

It says to access this page in the welcome zone simply use the comcode tag [page=<pagename>\] in your page to reference it.

I think you're confusing terminology, perhaps English isn't your primary language. I believe what you read would have said something like to use "page=<pagename>" in the URL (not a Comcode tag, and not in the page).


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:
#96187

Non-joined user

Chris Graham said

Hi,

I believe it says 'Add child page' (or something like this), not 'Add page'. A child page will sit underneath the current page, but only have an automatic link if the parent page has a block to display it's children.

Normally you would use the Add New Page wizard from the Admin Zone.

It says to access this page in the welcome zone simply use the comcode tag [page=<pagename>\] in your page to reference it.

I think you're confusing terminology, perhaps English isn't your primary language. I believe what you read would have said something like to use "page=<pagename>" in the URL (not a Comcode tag, and not in the page).

Ok trying to rap my head around the terms being used by ocportal … 1) When I create a comcode page with [page="zonename:pagename"]...[/page] 1 of two things happen which are disturbing. Case 1 the page tries to save and comes back saying there is an unclosed tag when there actually wasn't or the gets changed into somthing unreadable.

And when I try to build up the site, there needs to be a way to structure it as a zone tree like
<zone:page> or
<zone:path:page>
due to enormormous number of files

As for english not being my native language, I am english trough and through and a skilled technical writer of 38 years experience


Last edit: by Chris Graham
Back to the top
 
Posted
Rating:
#96240
Avatar

When I create a comcode page with [page="zonename:pagename"]...[/page]

This will reference an existing page (i.e. create a link), not create a page.

You could create a page by creating a reference, like this then when you follow that reference it would invite you to add the page – but it's not the way that we have optimised for user-friendliness.
I'd again refer to the Add-New-Page Wizard.

Case 1 the page tries to save and comes back saying there is an unclosed tag when there actually wasn't or the gets changed into somthing unreadable.

I just ran a test and all was well and there haven't been any other bug reports of this kind of issue. We would need to see step-by-step instructions, or a video showing it happening – then we could reproduce this and treat it as a bug report. There may be an issue: if you are using the WYSIWYG editor it may be that (for example) you can nest styles in such a way that the system could get confused. Or, you may have made a typo somewhere without realising it, a video would help me see if this was the case or not.

And when I try to build up the site, there needs to be a way to structure it as a zone tree like
<zone:page> or
<zone:path:page>
due to enormormous number of files

There's no such thing as a zone tree in ocPortal, as zones only go down a single level. However, 30 zones would be very manageable, and with 30 pages in each, that's 900 pages.

There are ways to structure zones so that they appear in a tree structure in the URLs, and you can customise the breadcrumb structure also, but I can't say the features are user-friendly at this point. They are fairly new advanced features in ocPortal, that few sites have needed to use.

To be honest, with that much content, I'd say you'd want to be taking in our commercial services to help you set it up, produce some tailored guides for you, or to customise ocPortal better to your needs. Every user has a different sense of what is 'basic' to them, because every user has different goals. ocPortal isn't currently designed as a document-library-centred CMS like some other CMSs are, and we've not had a customer yet who wanted anything close to that volume of content. Most ocPortal sites have a focus on providing a rich set of engagement features to customers or a community. In any case, even with document-library-centred systems, I don't think it'd be considered normal to jump right into doing an in-house port of a site of such scope without any external training or services – and this is the kind of thing ocProducts provides to its clients.


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: