Форуми / Cotonti / Support / page.add as index

#1 29.05.2016 21:35

Hi , its been long time since I used cotonti (or any cms). I need the page.add to be the index on a single page website which would allow guests to fill in the form to submit pages.


thanks in advance

"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
#2 30.05.2016 20:03

Currently `page` module is not able to work with guests directly.

правильный хостинг — https://goo.gl/fjCa1F
#3 01.06.2016 08:11

There should be a small form submission plugin on the index page, rather than the page.add.tpl. One the data has been submitted, use the cot_page_add function to add a new page. That's a rough idea -- obviously you got more details on that ))

SED.by - создание сайтов, разработка плагинов и тем для Котонти