Zorro67 Posted February 24, 2008 Share Posted February 24, 2008 Hi guys. This is for all those people that may have had a similar problem to myself with HTML tags not representing properly in your KB. Matt kindly provided an easy solution, sO I thought it appropriate to post that here. I recently upgrade from v3.5.1 to v3.6.0 (successfully) my KB articles looked fine before the upgrade. Now when adding a new KB article (or if editing an old KB), the html tags & formatting marks show in the article instead of the fully formatted text Eg."<p>To send mails from your@domain.com.au to gmail, </p><ol><li>Login to our cPanel hosting account</li><li>In the 'Mail' section, select the 'Forwarders' icon.</li><li>Create a new email forwarder from yourname@domain.com.au to yourname@gmail.com.</li><li>" etc etc. Is there a config item that i need to set after the upgrade? (If so I obviously missed it). Following from that, is there a setting to set the number of displayed characters previewed on a KB "most popular"? I have posted Matt's resposnse and attachment in the following file 0 Quote Link to comment Share on other sites More sharing options...
Zorro67 Posted February 24, 2008 Author Share Posted February 24, 2008 And the winner is ............ Hi Daniel, I am attaching a file that will correct this issue - just upload this to your admin folder and then resave the articles. Regarding the number of characters to show, you can customise that in the template file knowledgebase.tpl I believe. Regards, Matt End of quote. ] BTW. If the file didn't attach, please request from Matt. "Here endeth the Lesson" 0 Quote Link to comment Share on other sites More sharing options...
Zorro67 Posted February 24, 2008 Author Share Posted February 24, 2008 The modification that Matt suggested can be found on line 29 of the file {$kbarticle.article|truncate:50:"..."}<br> Change the truncate|50 to truncate|75 or whatever number of characters you want to display as previews in your KB article. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.