Elxis CMS Forum

Support => Elxis 4.x/5.x DEV => Topic started by: speck on October 18, 2012, 12:57:23

Title: some correction to do in elxis
Post by: speck on October 18, 2012, 12:57:23
a)
"YOU ARE HERE" don't change in multilanguage. :)

b)
if in general setting i've selected to display username, in articles display always the first and last name  ???

c)
in administration-> extensions is possible to add a filter position and a filter type as was in the previous elxis? I think is very useful if someone as a long list of position and many configuration of the same module.  ;)
Title: Re: some correction to do in elxis
Post by: webgift on October 18, 2012, 13:48:47
Hi, speck!
1. Check the relative file /languages/ISO_LANG_CODE/ISO_LANG_CODE.php line: 92 if it has been translated. Language switch is working properly. It might be missing  this array's element for your language.
In English:
$_lang['YOU_ARE_HERE'] = 'You are here:';
In Greek:
$_lang['YOU_ARE_HERE'] = 'Είστε εδώ:';

2. I confirmed that. We must update it!
3. Have you clicked the magnifier icon which is placed at the left bottom of the grid ?
Title: Re: some correction to do in elxis
Post by: speck on October 18, 2012, 15:16:39
Yes has been translated. 
it.php

90 /* general */
91 $_lang['HOME'] = 'Home';
92 $_lang['YOU_ARE_HERE'] = 'Tu sei qua:';
93 $_lang['CATEGORY'] = 'Categoria';
93 $_lang['DESCRIPTION'] = 'Descizione';

it seems not work in serbian e russian too ??? ??? ???
in greek works right

get a look
http://elxis4.elxisitalia.com

3 )  :o it's a bad position .... i never see it  :)  i think if is to the top before the grid, is more friedly
Title: Re: some correction to do in elxis
Post by: datahell on October 18, 2012, 17:57:06
1. I guess you talk about template Delta.
Template Delta has its own language files, check this:
templates/delta/language/en.tpl_delta.php  line 38:
$_lang['YOU_ARE_HERE'] = 'You are here';
Note: One of the unique features of the Elxis language system is that support language strings overwrite.

2. There is no bug, everything works normally and correct. The author name (username or real name) is saved based on the general configuration option in table elx_content when you first save an article. If you change this option later the already saved items wont be updated. It works this way in order to reduce database load during page generation.
Tip: If you want to massively change a saved name you can do so from phpmyadmin with a query like this:

UPDATE elx_content SET created_by_name = 'Bugs Bunny' WHERE created_by = X;
Where X the author's user id (uid)
Title: Re: some correction to do in elxis
Post by: speck on October 18, 2012, 18:07:47
yes is delta :)

It works this way in order to reduce database load during page generation.
Tip: If you want to massively change a saved name you can do so from phpmyadmin with a query like this:

UPDATE elx_content SET created_by_name = 'Bugs Bunny' WHERE created_by = X;
Where X the author's user id (uid)
Is not a good idea to create two field in content where is possible to save also username, so in base someone wants change in a future display first and last name or viceversa username, there is not this problem??? i think is more flexible   :-X
Title: Re: some correction to do in elxis
Post by: datahell on October 18, 2012, 18:34:55
Yes, although it is not a full solution. You will also have the same problem in case someone decides to change his real name...
The solution is either a special tool/button or a cron jobs system (good for other tasks too).
Title: Re: some correction to do in elxis
Post by: wbread on October 24, 2012, 19:33:09
huh ???
Title: Re: some correction to do in elxis
Post by: datahell on October 24, 2012, 19:53:00
Works good for me, strange...
Try to logout and re-login. Is the problem solved?
If not, tell me if you have enabled the gravatar option.
Title: Re: some correction to do in elxis
Post by: wbread on October 24, 2012, 20:36:14
Try to logout and re-login. Is the problem solved?
No.

if you have enabled the gravatar option.
where this option?  :-\
Title: Re: some correction to do in elxis
Post by: datahell on October 24, 2012, 21:27:20
Does anybody else have the same problem?
Title: Re: some correction to do in elxis
Post by: webgift on October 25, 2012, 10:19:34
No. It's working properly!
Title: Re: some correction to do in elxis
Post by: wbread on October 25, 2012, 19:52:26
I work on locallhost, may be...

Title: Re: some correction to do in elxis
Post by: datahell on October 25, 2012, 20:05:24
Publish icon: Normal. This is a toggle button (this is why the icon it looks like this), it converts published items to un-published, and un-published ones to published.
Columns alignment: Normal. If the doctype is xhtml the alignment is worst but it is much better with the html5 doctype. It can't be perfect, sorry.