| | #1 (permalink) |
| [+] more user info Join Date: Feb 2010 Location: Glen Allen, VA
Posts: 354
Thanks: 24
Thanked 51 Times in 45 Posts
| Answered: Format of Firstname Lastname in SimpleContact What is your live site URL? (localhost if none):
localhost
What version of Joomla:
Joomla 1.5
Why does the Module produce the contact's name like Fred-smith instead of Fred Smith or some other more standard format? What do I have to edit? The CSS is already Capitalize, but the code is concatenating the names before the capitalize, so it's not producing a proper Firstname Lastname. Thanks, Ken |
| |
| This is a Advertisement. Sign up to have these ads removed. | |
| | |
|
| Ok, i've updated the downloads with the new version, upgraded the version on your site and confirmed that the issue is fixed now. I essentially had to write a new function to split the name, so the place holder #n outputs the contacts first name. |
| | #2 (permalink) |
| Co-Pilot & Owner [+] more user info Join Date: Sep 2006 Location: Cape Town, South Africa
Posts: 3,125
Thanks: 151
Thanked 819 Times in 677 Posts
|
I'm not sure why yours is displaying like that - i just tested it on my dev install and as you can see in the screenshot (Viewing Firefox details :: Ember) it's not doing that at all. Check the format of the name in your Joomla contact that you are displaying - maybe its set like that in the contact.
|
| |
| Important: If your question has been addressed, please mark the post as answered as this helps us see which posts are still open. Recommended debugging tools: We highly recommend using firefox for development, along with the webdev toolbar & firebug extensions. Follow us on Twitter: prothemer | connectr |
| | #3 (permalink) |
| [+] more user info Join Date: Feb 2010 Location: Glen Allen, VA
Posts: 354
Thanks: 24
Thanked 51 Times in 45 Posts
|
Thanks, Chris. It looks like the default Contacts component is making an alias, fred-smith from Fred Smith. Even if I try to overwrite the alias with Fred Smith, I Save then re-open it in the Component, and the alias is back to fred-smith. Then you guys capitalize in the CSS and I end up with Fred-smith. The site is brand new 1.5.18. Is there a switch in the module to use the name instead of the alias, or to allow choosing. That would isolate the module from any weirdness in the Contacts component. Thanks, K |
| |
| | #4 (permalink) |
| Co-Pilot & Owner [+] more user info Join Date: Sep 2006 Location: Cape Town, South Africa
Posts: 3,125
Thanks: 151
Thanked 819 Times in 677 Posts
|
It shouldnt be using the alias to begin with. I checked my 1.5.6 install and its definitely using the Title, not the alias. I'm upgrading my dev site to see if its something that maybe changed in 1.5.8. Will report back once its done :)
|
| |
| Important: If your question has been addressed, please mark the post as answered as this helps us see which posts are still open. Recommended debugging tools: We highly recommend using firefox for development, along with the webdev toolbar & firebug extensions. Follow us on Twitter: prothemer | connectr |
| | #5 (permalink) |
| Co-Pilot & Owner [+] more user info Join Date: Sep 2006 Location: Cape Town, South Africa
Posts: 3,125
Thanks: 151
Thanked 819 Times in 677 Posts
|
Upgrading to 1.5.18 didnt change anything. Here are some screenies of my settings: Viewing Vanilla - Administration details :: Ember Viewing Vanilla - Administration details :: Ember Not sure what else i can suggest, as i'm unable to recreate the issue you are having - unless you put the site online so i can take a look. |
| |
| Important: If your question has been addressed, please mark the post as answered as this helps us see which posts are still open. Recommended debugging tools: We highly recommend using firefox for development, along with the webdev toolbar & firebug extensions. Follow us on Twitter: prothemer | connectr |
| | #7 (permalink) |
| Co-Pilot & Owner [+] more user info Join Date: Sep 2006 Location: Cape Town, South Africa
Posts: 3,125
Thanks: 151
Thanked 819 Times in 677 Posts
|
Ahhhhhh, now i see what you mean. I thought you were referring to the actual contacts name at the top of the module. Good news is i managed to fix the issue and am now packaging up a new version. I'll update your site once i'm done :)
|
| |
| Important: If your question has been addressed, please mark the post as answered as this helps us see which posts are still open. Recommended debugging tools: We highly recommend using firefox for development, along with the webdev toolbar & firebug extensions. Follow us on Twitter: prothemer | connectr |
| | #8 (permalink) |
| Co-Pilot & Owner [+] more user info Join Date: Sep 2006 Location: Cape Town, South Africa
Posts: 3,125
Thanks: 151
Thanked 819 Times in 677 Posts
|
Ok, i've updated the downloads with the new version, upgraded the version on your site and confirmed that the issue is fixed now. I essentially had to write a new function to split the name, so the place holder #n outputs the contacts first name.
|
| |
| Important: If your question has been addressed, please mark the post as answered as this helps us see which posts are still open. Recommended debugging tools: We highly recommend using firefox for development, along with the webdev toolbar & firebug extensions. Follow us on Twitter: prothemer | connectr |
| | #10 (permalink) |
| Co-Pilot & Owner [+] more user info Join Date: Sep 2006 Location: Cape Town, South Africa
Posts: 3,125
Thanks: 151
Thanked 819 Times in 677 Posts
|
No probs Ken :)
|
| |
| Important: If your question has been addressed, please mark the post as answered as this helps us see which posts are still open. Recommended debugging tools: We highly recommend using firefox for development, along with the webdev toolbar & firebug extensions. Follow us on Twitter: prothemer | connectr |
| This is a Advertisement. Sign up to have these ads removed. | |
| | |
| Thread Tools | |
| Display Modes | |
| |
Forum by vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1 Downloads powered by vBadvanced Dynamics v1.1.0.