CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Suggestion for the demo
Pages: [1]

Author Topic: Suggestion for the demo  (Read 2135 times)

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Suggestion for the demo
November 28, 2012, 03:03:15 am
I realize this is mostly an english-centric request but when people who don't have a local install to compare against visit the demo and it's been changed into another language it's difficult to find the spot where you can change the language. I'm wondering if in the demo install it would be possible to put a link in a prominent part of the non-civi navigation part of the menu (which always stays in english) to civicrm/admin/setting/localization?reset=1, or somewhere on the "home page" after you first log in?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Suggestion for the demo
November 28, 2012, 07:03:13 am

Agreed, this is definitely needed. Might be a good idea to write a small PHP script which does this automatically, and link to it from a Drupal block? The script basically can modify and reset the config in the DB to use en_US as the locale

daved: wanna take this on?

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Jason W

  • I post frequently
  • ***
  • Posts: 197
  • Karma: 12
  • jason@civitrainingtutorials.com
  • CiviCRM version: 4.2
  • CMS version: Drupal 7
  • MySQL version: 5.x
  • PHP version: 5.x.x
Re: Suggestion for the demo
November 28, 2012, 07:52:56 am
Hello demeritcowboy,

I had the same issue. I jotted down the steps, counting rather than reading the menu items:

1. On the Admin bar across the top, choose the second tab from the right. This will open the "Administer" dropdown menu.

2. Hover over the 4th option down. This Will expand another menu to the right, Select the first option.

3. in the first dropdown, find the language you are looking for and select it.

4. There are 2 buttons just above and to the left of this menu, click the leftmost button, and you should be set.

It is also possible to reset it from this link:
http://drupal.demo.civicrm.org/civicrm/admin/setting/localization?reset=1

Just click the link, and skip to step 3.

In the event that the demo site has been set to multilingual, and you can't find your language in the default language dropdown:

1. Scroll down to the bottom of the page and check the box beside the last option (return to single language), then select save.

2. go back to http://drupal.demo.civicrm.org/civicrm/admin/setting/localization?reset=1

3. in the first dropdown, find the language you are looking for and select it.

4. There are 2 buttons just above and to the left of this menu, click the leftmost button, and you should be set.

I know that this really doesn't help if it keeps getting changed back, but at least the steps are here.

Cheers,
Jason
civiTrainingTutorials
"Helping You Help Others"

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: Suggestion for the demo
November 28, 2012, 12:23:09 pm
Thanks Jason but I was thinking more for people who don't have another install they can refer to, and might not search the forums to find it.
Lobo I'm open to taking it on but a drupal module wouldn't work for joomla etc, so I was thinking either a CMS menu link or the home page. Maybe an extension that has an extra.tpl for the home dashboard that inserts the text/link?

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: Suggestion for the demo
December 05, 2012, 07:49:57 pm
Somebody mentioned there's already a "language switcher" block provided by civi. Tested locally and seems to do the desired thing. Could somebody enable this on the demos?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Suggestion for the demo
December 06, 2012, 10:03:23 am

i enabled this on demo, but dont see anything come up. I'll need to check the block code to see when it shows up etc

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: Suggestion for the demo
December 06, 2012, 10:15:11 am
If you see literal \n's in the "show on listed pages", it's an older bug that's fixed, but if the drupal side was installed prior to re-running setup.sh then they'll still be there.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Suggestion for the demo
December 06, 2012, 11:13:35 am

r u on D6 or D7?

note that this changed between D6 and D7. I think what we have in core now works for D7 (but not D6)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

demeritcowboy

  • Ask me questions
  • ****
  • Posts: 570
  • Karma: 42
  • CiviCRM version: Always the latest!
  • CMS version: Drupal 6 mostly, still evaluating 7.
  • MySQL version: Mix of 5.0 / 5.1 / 5.5
  • PHP version: 5.3, usually on Windows
Re: Suggestion for the demo
December 06, 2012, 11:30:41 am
Might be but I'm just saying that if for example the demo gets refreshed in a way similar to running setup.sh, then that by itself isn't enough to clear the \n's out, if the drupal side happened to be installed during a period in which the \n issue wasn't fixed yet.

Anyway the problem with the demo simply seems to be multilingual support wasn't turned on - the language switcher doesn't display if unilingual.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions (Moderator: Dave Greenberg) »
  • Suggestion for the demo

This forum was archived on 2017-11-26.