Outline editing

Hello dolphins. I need to edit simple outline function (screenshot attached below). I want outline to show categories of groups/photos/videos etc. Right now I am working only on groups, when I will handle this issue with this module I think doing others will be easier.

I changed wall_outline_extra_info.html (groups directory) line 2 from .. __location__ to __cats__, did not work.

Should I look for needed script to add in wall directory or in groups?

Would be very thankful if someone would give me the exact file name or lines to change

ScreenAttached.png · 721.2K · 232 views
Quote · 23 Feb 2013

Done with this one. In modules/boonex/groups/templates/base/wall_outline_extra_info.html changed '__location__' to '__categories__' . In ../groups/classes/BxGroupsModule.php , line 833

function _formatSnippetTextForOutline($aEntryData)
    {
        return $this->_oTemplate->parseHtmlByName('wall_outline_extra_info', array(
            'desc' => $this->_formatSnippetText($aEntryData, 200),
            'location' => $this->_formatLocation($aEntryData, false, false),
            'fans_count' => $aEntryData['fans_count'],
        ));
    }

 

Was changed to:

function _formatSnippetTextForOutline($aEntryData)
    {
        return $this->_oTemplate->parseHtmlByName('wall_outline_extra_info', array(
            'desc' => $this->_formatSnippetText($aEntryData, 200),
            'categories' => $aEntryData['categories'],
            'fans_count' => $aEntryData['fans_count'],
        ));
    }
}

Hope someone will find it useful :)

Quote · 24 Feb 2013

Hi yyvskiy,

thanx for this it's very useful!
it should be good for other modules too.

Quote · 24 Feb 2013

Defenitly, but I think that maybe for make this changes work, a little has to be done. Before making changes to outline, I changed 'location' to 'category' show in feautred group and recent public groups as well. Link to the topic where the process was going is below:

http://www.boonex.com/forums/#topic/Groups-info-editing.htm there is one of my topics where I got help from another great user in making the needed changes, if anyone is intersted check that out.

It is very helpful, because it makes this kind of work easier to handle in future, and not only with info editing.

If someone is new to core editing and is looking at this post: guys, ALWAYS make a backup of a file you are going to edit and clear your cache.

Quote · 24 Feb 2013

I know this is an ancient post, but just wanted to add my thanks- I was looking for this, and you saved me some time.  :)

Quote · 8 Feb 2014
 
 
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.