Welcome, Guest
Username: Password: Remember me

TOPIC: [SOLVED] List of users - Special chars labels

[SOLVED] List of users - Special chars labels 06 Nov 2011 21:04 #434

  • PaulKW
  • PaulKW's Avatar
  • Offline
  • New Member
  • Posts: 1
  • Karma: 0
Hello) How i can make some kind of dropdown list of all users? I'll use it to show articles for selected user.

Thanks.
Last Edit: 09 Nov 2011 20:44 by admin.
The administrator has disabled public write access.

List of users - Special chars labels 08 Nov 2011 10:16 #437

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Hi Paul,

Thank you for using Cook Self Service.

I saw your component.

To make a drop down list of users, you did correcly.
It works fine.

But, this was not working on back-end because there was no entry-point for collection layout.
I setted up for you, so it is now working.
(I think you've created a collection layout that you deleted, and it was remaining only the second collection layout that was not entry point. Maybe possible to correct this in future in Cook).

So. You can regenerate now, but I see a strange issue :
All the fields have same label. Maybe an issue about Russian.

I am currently checking this. I'll tell you when everything will be fixed.

Arrrgh it is difficult to debug and understand Russian !!!!

By the way, please tell us if you found some problems with carracters in your component.

Regards.
Coding is now a piece of cake
The administrator has disabled public write access.

List of users - Special chars labels 08 Nov 2011 10:44 #438

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
I got it !

As you certainly know, Joomla is parsing all the strings through the language files.
Each string is affected to an capital letters alias. (without russians caracters.)
Your component name is com_capital, so the aliases are CAPITAL_[...].

In Cook, when you create your component, it automatically creates all theses alias, using the Russian and converting to a capitals aliased string.

But this aliasing process is splitting all specials chars, so it's a big problem. Lots of strings contains the same alias. In you case :

CAPITAL_FIELD_ -> Текущий договор

CAPITAL_FIELD_ -> Имя пользователя

CAPITAL_FIELD_ -> Дата заключения договора

CAPITAL_FIELD_ -> Дата завершения текущего договора

CAPITAL_FIELD_ -> Сумма договора

CAPITAL_FIELD_ -> Текущий баланс портфеля

CAPITAL_FIELD_ -> Доходность за текущий период

CAPITAL_FIELD_ -> Свободных денежных средств

CAPITAL_FIELD_ -> Денежные средства в открытых позициях

CAPITAL_FIELD_ -> Текущие открытые позиции



Last one override the value, so all the previous labels will be interpreted though the "CAPITAL_FIELD_" alias, so the result will always be "Текущие открытые позиции"


So.
I will add a field to customize this alias string in the properties. It can take some time before to be usable.

For the moment, please don't use ONLY special chars in labels and titles.
After that, you'll be able to customize your language files manually and write special chars inside.

Thank you for raising this issue.

Regards.
Coding is now a piece of cake
Last Edit: 08 Nov 2011 14:35 by admin.
The administrator has disabled public write access.

Re: List of users - Special chars labels 08 Nov 2011 14:34 #441

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
Finaly I didn't add a special property for aliasing. (Too much complicated entry for begginers).
If community ask me to do this, I will.

For the moment, if a language string aliasing is impossible, the aliases will be uniques with the use of number suffix behind un unsolved alias, of if two strings are aliasing same.

Hope I am clear. If you don't understand, I can be more explicit with exemples.

Solved since 1.4.3
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.088 seconds

Get Started