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.


CEDI-Tree, Add comments to CEDI-post

Login / Search

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

Fan in training

see text below ... (thank you)

Dear Madam / Sir,

I'm new to ocPortal, so maybe my "problems" sound a liitle whacko to you:

1) How can let users of my (hopefully soon-to-be website) add comments to a CEDI-post?
    Additionally, in Drupal 7 I can restrict certain users from having access to certain features
    of WYSIWYG-editors (like the one I'm using right now) but giving for example the administrator
    full-fledged WYSIWYG- and HTML-features. Can I do that with ocPortal for CEDI-Comments?

2) The CEDI-Tree view is very much resembling the tree view for the Drupal content-type called book.
    Is it possible to click on "Tree" in the CEDI-block and get a view oft the CEDI-tree structure but not
    in the default expanded way (making all child pages visible) but with all child pages hidden as default?

I hope my words made my "problems" comprehensible. I fnot, please ask for more details, cause al hinges on having these feature or not.

So now I turn in for bed (it's almost two o'clock in the morning).

Best regards,
GeorgHuber    
Back to the top
 
Posted
Rating:
#68917
Avatar

How can let users of my (hopefully soon-to-be website) add comments to a CEDI-post?

Right, I think you're a little confused with the terminology here. The CEDI tree consists of pages. Pages have a description, and also posts.
If you go to edit a page there is an option that let's you pick how it's displayed. The default is a bit like a structured forum, where the page description is like a topic summary and the posts contribute to the article. But you can make it like a wiki where the page description is like the article and the posts are like comments.

Additionally, in Drupal 7 I can restrict certain users from having access to certain features
    of WYSIWYG-editors (like the one I'm using right now) but giving for example the administrator
    full-fledged WYSIWYG- and HTML-features.

There's no way to do that currently, but it's not a security issue as extensive input filtering goes on.

Is it possible to click on "Tree" in the CEDI-block and get a view oft the CEDI-tree structure but not
    in the default expanded way (making all child pages visible) but with all child pages hidden as default?

Template change can do it, just upload this to themes/default/templates_custom/.
Attachment
» Download: JAVASCRIPT_SPLURGH.tpl (3 Kb, 142 downloads so far)
. i just changed a couple of lines a little.


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: