Shape 5

Joomla Templates => Simplex - Club => : apanos March 25, 2012, 06:07:14 PM



: Date format problem in Greek (for blog item)
: apanos March 25, 2012, 06:07:14 PM
Hi

i have a problem for displaying correctlty  the month when i use the latest news. More specific the in the black box that has the day number an the abbreviation (short name ) of the month for some reason it displays only the first letter and then it puts a questionnaire mark like M? for March.

My site is in greek and i checked the el-GR.ini and all the short names for the months are there.
I also show that in the com_content views the default format in LC2.

Can you please help me find the problem or at least change the format of the s5_daydate to use instead of short name of the month the full name just in case this fix the problem?

kind regards



: Re: Date format problem in Greek (for blog item)
: apanos March 27, 2012, 07:46:22 AM
can you please answer Jonahh?


: Re: Date format problem in Greek (for blog item)
: jonahh March 27, 2012, 12:02:37 PM
Hello,

This would require custom coding in order to do.  You can make the changes in the folder here:

simplex\html\com_content\article\default.php

and

simplex\html\com_content\featured\default item php


: Re: Date format problem in Greek (for blog item)
: apanos March 29, 2012, 06:36:33 PM
please can you be more specific? In joomla the abbreviations are working just fine, it is a template problem for multilingual sites i need you to just tell me what to change and where and i will do it.
kind regards
Andreas


: Re: Date format problem in Greek (for blog item)
: apanos March 30, 2012, 08:04:40 AM
Hi Jonahh waiting for your valuable aswer to proceed to the development. I need to fix that before i present it
please help


: Re: Date format problem in Greek (for blog item)
: jonahh March 30, 2012, 12:23:59 PM
I have never tried to change the date format but I know its set here:

simplex\html\com_content\article\default.php

you'll see:

<?php echo JText::sprintf(JHTML::_('date',$this->item->created, JText::_('DATE_FORMAT_DAY'))); ?>

This is what outputs the date, I would post on Joomla.org forum for help changing output of date


: Re: Date format problem in Greek (for blog item)
: apanos March 30, 2012, 12:30:31 PM
thank you Jonahh
what is very strange is that even if the greek translation exist in the el-gr.ini it is like it has no utf8 capability. It confuses me cuase for some reason it shows the first letter only. If there was i translation problem it should not disply M? but ??

how can i be sure that the file that outputs the text in greek has ut8 capability?

kind regards

Andreas


: Re: Date format problem in Greek (for blog item)
: jonahh April 02, 2012, 01:06:25 PM
Try one of these sites:

http://www.google.com/search?q=how+to+save+with+utf8&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a#hl=en&client=firefox-a&hs=nN8&rls=org.mozilla:en-US:official&sa=X&ei=mvh5T8TBJ6jc0QGj3ZCSDQ&ved=0CB0QBSgA&q=how+to+save+with+utf+8&spell=1&bav=on.2,or.r_gc.r_pw.r_qf.,cf.osb&fp=8da94c63c2bafc55&biw=1920&bih=990


: Re: Date format problem in Greek (for blog item)
: apanos April 02, 2012, 03:43:21 PM
Jonahh i already saved teh ini file in UTF-8 format.
I have also other ini files form modules that are working just fine with greeks after i saved them.
Any other suggestions ?


: Re: Date format problem in Greek (for blog item)
: jonahh April 03, 2012, 06:10:54 PM
Im not really sure, I would search and if not post on Joomla.org forum regarding this