Kayako logo
Modifications & Addon Releases Modification guides and addons are posted here to share with the community. Do not post requests in here!

Notices

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  (#1) Old
Deadlift Offline
New Member
 
Deadlift's Avatar
 
Posts: 12
Join Date: Jun 2007
A "read more" button in category display - 22-06-2007, 12:18 PM

If you limit article display in the category view some articles are simply cut.

This might be annoying to some users so I added a [more] link to display the respective article.

Sample:

Code iss pretty simple (done in template kbcatdisplay):

Find:
Code:
 <a href="<{$baseurl}>_m=knowledgebase&_a=viewarticle&kbarticleid=<{$articleitem[kbarticleid]}>"><span class="articlepreview">&nbsp;[more]</span></a>
After, insert:
Code:
 <{if $settings[kb_climit] > 0}>
                            <tr><td colspan="3">
                            <table width="100%"  border="0" cellspacing="0" cellpadding="0"><tr><td width="1" align="left"><img src="<{$themepath}>space.gif" width="16" height="16" border="0" /></td> <td align="left" valign="middle">&nbsp;<span class="articlepreview"><{$articleitem[contents]}>
Of course you could define a new Language Phrase for it to let it be controlled via language phrases.

Mine is the small simple version since I'm lazy

I'm sorry if you folks don't want these kind of adjustments here.
Then just delete.

Last edited by Jamie Edwards; 22-06-2007 at 12:47 PM.
   
Reply With Quote
  (#2) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,283
Join Date: Apr 2007
Location: Toronto Canada
22-06-2007, 12:45 PM

can't you just click the article title to read more? Did you add this so that users are aware that there is more?


Siora Solutions Inc.
www.sioraIT.com
   
Reply With Quote
  (#3) Old
Deadlift Offline
New Member
 
Deadlift's Avatar
 
Posts: 12
Join Date: Jun 2007
22-06-2007, 04:54 PM

Of course you could.... yet some were smart enough not to find it.

So basically thats a yes on both your questions.
   
Reply With Quote
  (#4) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,283
Join Date: Apr 2007
Location: Toronto Canada
22-06-2007, 05:25 PM

Cool...good work.


Siora Solutions Inc.
www.sioraIT.com
   
Reply With Quote
  (#5) Old
no0ne2k Offline
New Member
 
Posts: 22
Join Date: Sep 2007
03-10-2007, 02:54 AM

The template seems to have changed in 3.11.01. I would like to add the more button, but I don't see the "find this" line in my template.

Thanks!
   
Reply With Quote
Reply

Tags
button, category, display, read

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47