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 create paragraphs in the language files

Login / Search

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

Community saint

I am trying to add an additional paragraph to a language entry. I leave a blank line just as I see in some of the existing multi-paragraph entries but everything runs together.

What am I doing wrong?

Bob
Back to the top
 
Posted
Rating:
#71200
Avatar

Most strings support HTML.


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

Community saint

e.g.
WELCOME=<p align="center">Welcome! We hope you enjoy your visit.<br />Please click on the relevant link to {1}.</p><br /><br />

Any help?

Take my advice. I'm not using it!

View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal
Back to the top
 
Posted
Rating:
#71207
Avatar

Community saint

Hey Fletch-

I know I can use HTML but I was just a bit surprised that the following doesn't break paragraphs:

Code

Invitations are currently required in order to join the site. The e-mail address given has not been invited, or has already joined since being invited.

If you would like an invitation, please request one using the "Feedback" link at the left.

but this example does even without the HTML paragraphs or line breaks:

Code

[b]Welcome to {1}![/b] Thank you for joining.

Before we can activate your account, we need you to confirm that this is really your e-mail address. Just click this link:
[url="{2}"]{2}[/url]

[font size="0.8"][b]Link not working?[/b] Try this one instead:
[url="{3}"]{3}[/url]
You'll need to enter your e-mail address: {4}, and this code: {5}

[b]Don't remember joining at {1}?[/b] Just disregard this e-mail.[/font]

And then there is this example which I presume has paragraphs even without the HTML markup:

Code

The ability to merge members is only of occasional use, but when you find you do need it, it can be a great help. The usual situation is that one member gets 'bored', feels 'victimised', or wants to go 'undercover' (often, talking with their other account to 'hide the fact'), and creates themselves a second username. This may be a violation of your rules, depending which you have chosen, but is often annoying; it can usually easily be noticed just by seeing that two members have the same personality, spelling and language habits, usage patterns and IP address.

It is worth noting, that you should not be overly suspicious, as members who share some of the listed characteristics, may simply be family members in a household that shares an Internet connection.

The merge member feature will attempt to reassign everything attached (in any way) to the 'from' member to the 'to' member.

Just caught off-guard by the inconsistency.

Bob
Back to the top
 
Posted
Rating:
#71210
Avatar

Community saint

It will be because of the context of where those strings are used.

These type of inconsistencies irritate me. It would be best if they standardised on comcode, but I suspect that deep down that there is probably a performance reason for not doing so.

Do you have a Samsung Galaxy S / Galaxy S II ? If so, why not check out my ScreenFree FM Radio .
Back to the top
 
Posted
Rating:
#71211
Avatar

Community saint

Agreed about the inconsistencies.

I look for examples and emulate them only to achieve a different result. It's frustrating.

Bob
Back to the top
 
Posted
Rating:
#71223
Avatar

Very few are in Comcode, just the inline documentation and emails mainly.


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
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: