Variable to show "how long ago" was content added?

Post Reply
Ramp
Posts: 135
Joined: Sun Jun 09, 2013 11:23 am

Variable to show "how long ago" was content added?

Post by Ramp »

Hi,

What variable I should use to show how long ago was the content added rather than just a date?


Also, how do I use google api to translate my categories, because your wiki says nothing about it at all or if it does nor me nor my russian friend understand it :)
admin
Site Admin
Posts: 37241
Joined: Wed Sep 10, 2008 11:43 am

Re: Variable to show "how long ago" was content added?

Post by admin »

Don't forget to run script update
Ramp
Posts: 135
Joined: Sun Jun 09, 2013 11:23 am

Re: Variable to show "how long ago" was content added?

Post by Ramp »

Already sorted the translation thing. Even tho, I've got one problem.

I use category_custom_var1 for category name translations and I use the variable in Meta title and meta description. So category ALL shows <!--CATEGORY_CUSTOM_VAR1-->

How do I make it write something else? I don't know where I can set this custom var1 for all new and all best.
admin
Site Admin
Posts: 37241
Joined: Wed Sep 10, 2008 11:43 am

Re: Variable to show "how long ago" was content added?

Post by admin »

if ($_GET['group_name'] == '') {
all
} else {
something else
}
Don't forget to run script update
Post Reply