Forumlar / Cotonti / Support / page.add as index

diablo
#1 2016-05-29 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."
Macik
#2 2016-05-30 20:03

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

https://github.com/macik
правильный хостинг — https://goo.gl/fjCa1F
Kort
#3 2016-06-01 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 - создание сайтов, разработка плагинов и тем для Котонти