Quote:
'date_short' => date( $dtfmt_short , xoops_getUserTimestamp( $item['pubdate'] ) ) ,
'date' => formatTimestamp( $item['pubdate'] , 'm' ) ,
i can change the function date() with my jalali date function jdate() in all the module. but how can i use "firmattimestamp" instead of your "date_short" function?
I've just understood what you want.
try to edit templates like this:
<{if $items[i].pubdate != "" }>
<{$items[i].pubdate|formatTimestamp}>
<{/if}>
instead of
<{if $items[i].pubdate != "" }>
<script type="text/javascript">document.write(phpDate('<{$dtfmt_short|escape}>', <{$items[i].pubdate|escape}>));</script>
<noscript><{$items[i].date_short|escape}></noscript>
<{/if}>
It is not necessary to hack *.php at all