Results 1 to 5 of 5
  1. #1
    Junior Member Soraya's Avatar
    Joined
    Apr 2012
    Posts
    4
    Version
    1.2.0

    Exclamation Date format (Put the "ago" first)

    Hi.
    Since I'm translating my site into Spanish, I need to change the date format, yet not in the way it's been asked here.
    In Spanish, the date format is the other way round: literally, instead of "X minutes ago", it'd be "ago X minutes". Thing is my pligg site displays it in the first way, and it makes it look Shakespeare-ish language. How can I simply change the position?

    Thanks.

  2. #2
    Junior Member JoeWa's Avatar
    Joined
    Mar 2012
    Location
    Prague, Czech Republic
    Posts
    29
    Head to link_summary.tpl for example find these two and swap them (we've done the same as our site is in Czech and it uses the opposite to English):

    First string: {$link_submit_timeago}
    Second string: {#PLIGG_Visual_Comment_Ago#}

    Our line now looks like: {#PLIGG_Visual_Comment_Ago#} {$link_submit_timeago}
    Last edited by JoeWa; 04-29-2012 at 02:42 PM.

  3. #3
    Junior Member Soraya's Avatar
    Joined
    Apr 2012
    Posts
    4
    Version
    1.2.0
    Thanks! That fixed the stories date, how could I change the comments date format?
    Again, thanks a lot!

  4. #4
    Junior Member JoeWa's Avatar
    Joined
    Mar 2012
    Location
    Prague, Czech Republic
    Posts
    29
    We don't use the default comments system, but I had a quick look and it seems to be in comment_show.tpl:

    {$comment_age} {#PLIGG_Visual_Comment_Ago#}

    (same deal, swap 'em around)

  5. #5
    Junior Member Soraya's Avatar
    Joined
    Apr 2012
    Posts
    4
    Version
    1.2.0
    Perfect! Thank you so much for your help

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Donate to Pligg CMS Dreamhost Web Hosting Host Gator Web Hosting