-
AuthorPosts
-
January 21, 2010 at 6:27 pm #147864
Can anyone out there point me in the right direction on how to make the “last updated” information show in articles with this template? All my articles have got that information by default and it works alright on any other template I’ve got on the site. The relevant php code is there where it should be (ja_kyaniteii > html > com_content >article >default.php), but it just does not appear.
Thanks for any help.Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 26, 2010 at 10:38 am #330438Hello guy!
You access the adminstrator,
1) show lasted update for each artcile in the list,
You edit a article which you would like to display the lasted update, in the Parameters (Advanced), you choose “SHOW” for the Modified Date and Time parameter!
2) Or you would like to show the last updated for articles in the menu, you edit this menu and choose “SHOW” for the Modified Date and Time parameter!.
January 26, 2010 at 11:44 am #330444I don’t seem to have made myself understood. What you suggest is something I had done already before posting my request for help. The thing is that it does not work for this particular template. Actually, it does not work on the demo on the Joomlart web site either. For some reason, the “last updated” information is not retrieved from the database. This is what the code of a page looks like (copied from the live demo of JA Kyanite II on the Joomlart website). You will notice it’s empty.
<span class=”modifydate”>
</span>But thanks, anyway for at least trying to help.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
January 28, 2010 at 4:50 am #330687Hello
Please give the ftp account into your ticket, i would like to check in detail.
ThanksSaguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 1, 2010 at 8:16 am #3311546863
I accessed your adminsitrator, and choose the ยฟVamos al cine en alemรกn? article, and set “show” for the “Modified Date and Time” parameter. The modified date is showing, please see my screenshotFebruary 1, 2010 at 10:22 am #331177The modified date is NOT showing in full article view, which has been my complaint all the time (see my screenshot).
February 11, 2010 at 12:17 pm #332374I must express my disappointment at Joomlart Club’s poor level of support. I honestly expected real bugs to be looked into, rather than totally ignored.
It is impossible to configure Kyanite II to display the “last updated” date in full-view articles. But when anyone visits a web site, they want to know if the page they are reading has been updated recently or hasn’t been updated for years: that is essential information by any standards!! And yet, this issue is one more of those unresolved by Joomlart’s team of “experts” ๐
I quite like Kyanite II, but I’m afraid I’ll have to choose another template… or join another club with more serious support. ๐histeriks Friendhisteriks
- Join date:
- December 2009
- Posts:
- 285
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 16
- Thanked:
- 114 times in 87 posts
February 15, 2010 at 1:25 pm #332752Hi Mig,
please, open file site_root/templates/ja_kyanite_ii/html/com_content/article/default.php
and on line 263, change this:
<?php JText::sprintf(‘LAST_UPDATED2’, JHTML::_(‘date’, $this->article->modified, JText::_(‘DATE_FORMAT_LC2’))); ?>to:
<?php echo JText::sprintf(‘LAST_UPDATED2’, $this->escape(JHTML::_(‘date’, $this->article->modified, JText::_(‘DATE_FORMAT_LC2’)))); ?>This should fix it ๐
histeriks Friendhisteriks
- Join date:
- December 2009
- Posts:
- 285
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 16
- Thanked:
- 114 times in 87 posts
February 15, 2010 at 1:36 pm #332753Not sure is it allowed to attach patched files (sorry if it’s not, delete this post if so, please), but here’s a patched version of default.php, so you can just overwrite it.
Just replace site_root/templates/ja_kyanite_ii/html/com_content/article/default.php with this one.
1 user says Thank You to histeriks for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
February 23, 2010 at 3:11 am #333495Dear guy
sorry for my delay.
Thanks histeriks, his post is the solution to resolve this issue.Thanks
February 23, 2010 at 10:43 am #333575Thanks very much indeed, it really works and this is the solution I had been looking forward to. Thanks again ๐
histeriks Friendhisteriks
- Join date:
- December 2009
- Posts:
- 285
- Downloads:
- 0
- Uploads:
- 3
- Thanks:
- 16
- Thanked:
- 114 times in 87 posts
February 23, 2010 at 11:02 am #333577mig;166122Thanks very much indeed, it really works and this is the solution I had been looking forward to. Thanks again ๐
No prob man ๐
-
AuthorPosts
This topic contains 12 replies, has 3 voices, and was last updated by histeriks 14 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum