Comment to 'custom field'
Comment to custom field
  • Hello everybody!

    The mentioned problem has the solution only via customization the related files:

    modules/boonex/timeline/template/type_post.html 

    and 

    modules/boonex/timeline/classes/BxTimelineTemplate.php 

    The first one should have new variables like __city__ and the second should have the processing of this variable in the method protected function _getPost($sType, $aEvent, $aBrowseParams = array())

    It will look like the addon after 'comments' => '',: line:

    'comments' => '',

    'city' => $aEvent['city_or other new field name'].

    BUT in this case, you will lose the automatic update of the timeline module. And always have the backup of all changed files.

    0 0 0 0 0 0
    • Can you show an example of adding a new var to 

      modules/boonex/timeline/template/type_post.html 

      0 0 0 0 0 0
      • Hello Omar611 !

        My previous post is definitely about it. Maybe you have the detailed questions?

        0 0 0 0 0 0

      UNA - Social Media Software Framework

      Close