Forum Support

Shape 5
March 29, 2024, 09:32:50 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Date format problem in Greek (for blog item)  (Read 931 times)
apanos
Jr. Member
**
Offline Offline

Posts: 120



« on: 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

Logged
apanos
Jr. Member
**
Offline Offline

Posts: 120



« Reply #1 on: March 27, 2012, 07:46:22 AM »

can you please answer Jonahh?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #2 on: 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
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
apanos
Jr. Member
**
Offline Offline

Posts: 120



« Reply #3 on: 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
Logged
apanos
Jr. Member
**
Offline Offline

Posts: 120



« Reply #4 on: 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
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #5 on: 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
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
apanos
Jr. Member
**
Offline Offline

Posts: 120



« Reply #6 on: 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
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #7 on: 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
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
apanos
Jr. Member
**
Offline Offline

Posts: 120



« Reply #8 on: 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 ?
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #9 on: April 03, 2012, 06:10:54 PM »

Im not really sure, I would search and if not post on Joomla.org forum regarding this
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.