Guest
29 Nov 2013 01:47

I'd like to disable submission of records to section root so that users could upload the content only into the categories of the section. How this could be done?

Last Modified: 02 Mar 2014


Konstantin
Total posts: 1,113
29 Nov 2013 02:06

Type settings > Submission settings > Allow section root submission


Guest
01 Dec 2013 04:47

Actually this feature was not implemented. At least in my templates. Maybe i missed something.

Had to add this code arround line 100:


<?php if(($submit->params->get('submission.first_category')!=0)||(!empty($this->category->parent_id))):?>

in the template default_menu_default.php to make it work.


Sergey
Total posts: 13,748
02 Dec 2013 02:03

This parameter do not have affect on either we show submit link or not. This is controlled differently through Markup template parameters.

Parameter to submit into root only affect list of categories on the form. It does not contain section root option.


Guest
02 Dec 2013 05:22

Thanks! How could i disable submit link on section root through Markup template parameters?


Sergey
Total posts: 13,748
02 Dec 2013 05:40

I am sorry I did not pay attention it is Cobalt 7 topic. You cannot do it in Cobalt 7. You have to use code that you added. You are right.

Powered by Cobalt