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.


Strange text edit problem in news

Login / Search

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

Community saint

Capitals not available?

I am just beginning to deploy ocportal and up until now all has gone relatively smoothly.
Today I started adding some news and noticed some strange behaviour with the editor. When I used any heading formatting for the first line of my post the capital letters disappeared. At first I thought this was an I.E. 7 problem so tried it out in FireFox with the same results.

However, when I switch off WYSIWIG everything is fine.
I am running the latest version of ocportal.:)


Back to the top
 
Posted
Rating:
#23832
Avatar

Hi,

This is stylistic - the CSS is set up to display without capital letters. I'm not responsible for this styling, but I believe it's in order to create a kind of 'stacking' appearance between the text and its lower-border.

The editor itself won't display exactly as ocPortal does, because it's an independant component unaffected by ocPortal's CSS.


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

Community saint

Hi Chris,
The problem is that I can only have capitals in headings if I use no formatting. As soon as I use heading formatting (xhtml or Comcode) the text both previews and publishes in lower-case.
I'll do a little more testing today and post some examples.
Back to the top
 
Posted
Rating:
#23849
Avatar

This is because the CSS (styling) for level-3 headings and above is by default written to make them appear lowercase, for aesthetic purposes.
If you edit the CSS, you can change this. :)

Back to the top
 
Posted
Rating:
#23851
Avatar

Community saint

Thank you Philip :thumbs:
As a newby I haven't got round to delving into ocp's CSS yet.
Have to say, this is a great piece of software. I must have tried 10 or more similar programs before finding this.
Hope to have my site (portal) up by the end of the month. Then, if all goes well, I'll be registering and singing ocp's praises.
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: