Quote:
|
Originally Posted by infuseweb Does anyone know if there's a way to show the last updated date of a KB article on the client side in addition to the creation date (which is already there)? |
To do above firstly you have to add Last Modified language entry as follows:
<phrase section="knowledgebase" code="lastmodified">Last Modified: </phrase>
Then have to modify template "kbarticleview" form Admin CP -> Templates -> Manage Templates -> Knowledgebase -> "kbarticleview".
Change:
Quote:
|
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="smalltext"><tr><td class="row2" width="100"><{$language[createdon]}></td></tr></table>
|
to:
Quote:
<table width="100%" border="0" cellspacing="1" cellpadding="3" class="smalltext"><tr><td class="row2" width="100"><{$language[createdon]}></td><td><{$article[date]}></td></tr>
<tr><td class="row2" width="100"><{$language[lastmodified]}></td><td><{$article[modified]}></td></tr></table>
|
Hope this will help you.
Regards,