Hello
I'm Developer from DJ-Extensions.com team and I have little problem with adding html to stream in integration EasySocial with Dj-Classifieds..
I'm adding stream in this way
$stream = Foundry::stream();
$template = $stream->getTemplate();
$actor = Foundry::user( $row->user_id );
$template->setActor( $actor->id , 'user' );
$template->setTitle( $item_title );
$template->setType( 'full' );
$template->setContent( $item_content );
$template->setContext( $row->id , 'djclassifieds' );
$template->setVerb( 'create' );
$stream->add( $template );
Html in messages is ignored and elements changed to entities http://screencast.com/t/iqJ9Bnmaq .
What I'm doing wrong? What should I change?
Best Regards,
Lukasz Ciastek
I'm Developer from DJ-Extensions.com team and I have little problem with adding html to stream in integration EasySocial with Dj-Classifieds..
I'm adding stream in this way
$stream = Foundry::stream();
$template = $stream->getTemplate();
$actor = Foundry::user( $row->user_id );
$template->setActor( $actor->id , 'user' );
$template->setTitle( $item_title );
$template->setType( 'full' );
$template->setContent( $item_content );
$template->setContext( $row->id , 'djclassifieds' );
$template->setVerb( 'create' );
$stream->add( $template );
Html in messages is ignored and elements changed to entities http://screencast.com/t/iqJ9Bnmaq .
What I'm doing wrong? What should I change?
Best Regards,
Lukasz Ciastek