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 phrase in the language file

Login / Search

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

Community saint

I am trying to change a few things on the login page such as the line:

"Automatically logs you in on your next visit (as visible). Not recommended for shared computers."

What I want to do is to break up the phrase into 2 lines, like:

"Automatically logs you in on your next visit (as visible).
Not recommended for shared computers."

I want to do this because the phrase bleeds into the image I have on the left side of the page. Then I guess the existing CSS will center it. I located the phrase to modify in STYLE > TRANSLATE/RE-PHRASE THE SOFTWARE > GLOBAL. When I tried to put a <br /> in the phrase to break it up but it didn't seem to like that when I 'saved' it - because I got the white screen of oops.

So I am guessing I am doing something wrong? I thought style formatting might be it but I see it on other Language phrases so any idea how I should approach this??


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#60918
Avatar

That's sound like the third party mod_security module a lot of webhosts install blocking a request with HTML in forms, although if that's the case I would have thought you'd have the same problem elsewhere.


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

Community saint

I am checking with Elief, my webhost, to see if their mod_security module may be affecting this.


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#60928
Avatar

Community saint

Chris Graham said

That's sound like the third party mod_security module a lot of webhosts install blocking a request with HTML in forms

Webhost said

This is likely the case here. Are you able to modify this html through ftp or cpanel file manager instead, or do all modifications need to be made through a php app?
Is there a file I can download and edit then ftp it back?


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#60931
Avatar

Community saint

Would the source file be LANGUAGE>EN>GLOBAL.INI ?
and can I edit it in something like ConTEXT saving it as an .ini?


Art and Imagination
of David L Friend

http://davidlfriend.com

  My Art Gallery
powered by ocPortal
Back to the top
 
Posted
Rating:
#60936
Avatar

lang/EN/global.ini - find the string you wish to change and copy it into lang_custom/EN/global.ini and change it in there.


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: