I am not talking about the module. I have no problem with the module. There is a problem with blog pages.
There is a systemic problem with the template as it is written in that the Created Date variable is passed down incorrectly to the plain Joomla Section and Category Blog pages.
The blog-item.php file in the /html/com_content/section and /html/com_content/category directories has the correct code for displaying the variable:
<?php echo JHTML::_('date', $this->article->created, JText::_('DATE_FORMAT_LC2')) ?>
However, the variable $this->article->created contains the WRONG DATA. It contains the wrong data even before it gets to the blog-item.php program file. That is the problem. The template, as currently written, has a problem. When the program gets to the line above, the variable $this->article->created contains Today's Date, not the date the article was created.
I read this thread and hoped that putting
<?php $this->article = $this->item; ?>
at the beginning of the blog-item.php files would help, because it seemed to help other people, but it solves one problem (fixes the date) and creates another (displaying the Written By). This new problem is created because $this->item seems to contain more information than we want, because $this->article->created ends up equal to some odd mix of the date and author data.
So I'm not talking about modules here. I'm talking about a problem with the basic Joomla blog function, that exists only in this TWN template. I can change the template on my site o something else and I do not have the same problem. It is particular to your template code.
You can see the same problem on your very own demo page here:
http://demo.gavick.com/joomla15/dec2009 ... Itemid=70#
Look below the modules and slideshow to the actual mainbody. Here you will see ALL the articles have the NOW date. Not just today's date, but the very date and time stamp at which you loaded the page. This is not right. How can anyone tell which articles are new and old if they all have the same date and time?
Again, I believe the problem is that the $this->article or $this->article->created variables are incorrectly set before these variables even get to teh blog-item.php files. That is my theory.
I'd be interest to know what you think.
Thanks in advance.
Sean
Sean