protected function initCopyPageFormOptions(ilFormPropertyGUI $a_tgt) { $old = new ilRadioOption($this->lng->txt("prtf_existing_portfolio"), "old"); $a_tgt->addOption($old); $options = array(); $all = ilObjPortfolioTemplate::getAvailablePortfolioTemplates("write"); foreach ($all as $id => $title) { $options[$id] = $title; } $prtf = new ilSelectInputGUI($this->lng->txt("obj_prtt"), "prtf"); $prtf->setRequired(true); $prtf->setOptions($options); $old->addSubItem($prtf); // no option to create new template here $a_tgt->setValue("old"); }