News Feed on Homepage to display only Title

Hi,

I am wondering if anyone can assist me with this. I wanted to display only the News Titles in the Homepage and no snippet. As such, I have changed the snippet value to 0. It works fine until I go back to edit the news item in the administration. It refuses to save and keep pointing to an error in the snippet box saying Incorrect length.

Please advise if this is a bug or am I not doing it correctly?


PSF

12-6-2010 5-30-42 PM.png · 10.5K · 89 views
Quote · 6 Dec 2010

Hello follow to these suggestions :

1. Open the modules/boonex/news/BxNewsData.php

find these code lines :

$this->_aForm['inputs']['allow_vote_to'] = array(
'type' => 'hidden',
'name' => 'vote',
'value' => 0,
'db' => array (
'pass' => 'Int',
),
);

 

and add this code line after that:

unset( $this->_aForm['inputs']['snippet']);

PS: If possible do not write me personally, please try to ask on the forum first
Quote · 6 Dec 2010

Hi,

It works :-)

Many thanks

PSF

 

Quote · 7 Dec 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.