Hello,
I'm testing the new 3.1 update and I'd like to fill a subject title automatically as a title of an actual article. In previous version I used this code:
But this code doesn't work in current version. Can you please help me with that?
Thank you
I'm testing the new 3.1 update and I'd like to fill a subject title automatically as a title of an actual article. In previous version I used this code:
input;
$id = JFactory::getApplication()->input->getInt('object_id',0);
$article = JTable::getInstance('content');
$article->load($id);
<?php echo $article->get('title'); ?>
But this code doesn't work in current version. Can you please help me with that?
Thank you