Seems like that this is a dumb question but how can you show full descriptions in the frontpage instead of summary only?
Also, is the "truncate" function not supported now?


![]() |
| | Thread Tools | Display Modes |
| ||||
|
Seems like that this is a dumb question but how can you show full descriptions in the frontpage instead of summary only? Also, is the "truncate" function not supported now? |
| ||||
|
Look in your link_summary.tpl file - It's pulling out $story_content Then look at libs/link.php and you see where smarty is getting story_content. You can hack that to make it get the full content and not use the truncate_content() function cheers! |
| ||||
|
Couldn't you just go to admin>config>submit> set the story truncate to something higher like 1000 characters?
|
| ||||
|
It can't be becuase this is only for a specific story, not all.
|
| |||
|
OK...so I was having the same problem. I could see the short/truncated description, but not the full description. I did "hack" the libs/link.php file by putting this on line 380 (just before Smarty sets whether or not it's a summary or full view). Code: if ($_GET['title']) {$type="full";} If you're using URLs that have the ID, etc. just replace the 'title' with the appropriate querystring variable. It SHOULD work... |
| ||||
|
Thanks that works great!
|
| |||
| Quote:
thanks!!! |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| secound Link to source under full description | dogmog | Questions and Comments | 7 | 07-20-2009 09:33 AM |
| [SOLVED] beta 9.9 - story shows summary, not full description | tlembke | Questions and Comments | 18 | 08-04-2008 12:24 AM |
| When you edit a link, whatever the summary is, it's replaced by the full text | VictorML | Questions and Comments | 0 | 07-27-2008 11:57 AM |
| Would like video to display in full story view, not summary view | aaronpais | Questions and Comments | 8 | 11-13-2007 05:21 AM |
| full story (not summary) on index page | revolver | Questions and Comments | 2 | 06-24-2007 12:03 PM |