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.


Layout problem

Login / Search

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

Community saint


Here's a good one:

Fresh install of 3.1.1, no configuration yet, fresh out of the box.

This is the index page:






Now, I create a FR folder in Lang/ (it's empty, just created it.
Index page becomes:




Any clue ?  :whistle:

www.precorp.fr

Last one to leave the country, please turn off the lights.
Back to the top
 
Posted
Rating:
#29138
Avatar

I think that this has prompted ocPortal to switch to French before all the right directories exist. The processed CSS files can't be saved under the 'FR' template cache (each language has it's own template cache, as these cache files are language-specific).

In 3.1.1 we've changed the language addition process a bit. If you go to the Admin Zone, then the Style tab, then the Languages icon… choose to translate for French. You'll be prompted by the AFM to give FTP passwords. After doing so, all the two-dozen or so FR directories will be created automatically, with correct permissions.


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

Community saint

Chris Graham said

In 3.1.1 we've changed the language addition process a bit. If you go to the Admin Zone, then the Style tab, then the Languages icon… choose to translate for French. You'll be prompted by the AFM to give FTP passwords. After doing so, all the two-dozen or so FR directories will be created automatically, with correct permissions.
Excellent idea.   :wub:

back in a minute

www.precorp.fr

Last one to leave the country, please turn off the lights.
Back to the top
 
Posted
Rating:
#29141
Avatar

Community saint

Well it's a good intention, but this is totally misleading:



Do i choose french (unset) in the first field?
Second field, what do I write ? FR? French?
Leave 3rd field set to abstract file management?


www.precorp.fr

Last one to leave the country, please turn off the lights.
Back to the top
 
Posted
Rating:
#29143
Avatar

Ouch, that is a bit confusing. Choose "French (unset)" in the list, leave the second field blank, and choose anything you like in the third field. It's a very unfortunate coincidence that the first entry is 'abstract_file_manager' as this has nothing to do with my mention of it in my previous post.

We'll tidy this up.


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

Community saint



hmmm
Did that, chose a file to translate, and hit edit.

Here's the result




www.precorp.fr

Last one to leave the country, please turn off the lights.
Back to the top
 
Posted
Rating:
#29146
Avatar

The form just looped back to itself without giving a file management screen or a string-by-string translation screen?

(I'll have to reply tomorrow as it's late now, but this really surprises me)

You might want to fall-back to creating themes/default/templates_cached/FR manually, and setting full permissions on it.


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

Community saint

will try that

www.precorp.fr

Last one to leave the country, please turn off the lights.
Back to the top
 
Posted
Rating:
#29148
Avatar

Community saint

It worked
The FR folder was there, (script created it) but had wrong permissions.

Edit: Everything back to normal  :thumbs:

www.precorp.fr

Last one to leave the country, please turn off the lights.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: