251 Posts
Viktor Iwan
11 years ago
0
Topic

So you want to load any seblod content.. anywhere ?

There's one solution i found so far... here's the 5 lines of seblod awesomenes:

$rowId=99; // id of your article/content
$table= JTable::getInstance('Content', 'JTable');
$table->load($rowId);
$content = JHtml::_('content.prepare', $table->introtext);
echo $content;

What's the limitation ??
At the moment, this script still not be able to "custom-defined"  to load "Intro" ,"Content", or "Site Form".... it automatically load based on the view requested from the URL

@Octopoos Team.... beg on my knee... please bring wisdom on how to make it more awesome... i promise i will be more loyal and progress with my diet....


Get a VIP membership