Forums / Cotonti / Support / Remarks 0.9.4

pieter
#1 2011-09-10 08:20

When I add a page, pagetext is now needed.

I use pages as a photogallery and don't need the pagetext all the time.
Is there a way to make it NOT needed anymore, maybe a config-entry.

... can we help you ...
Dayver
#2 2011-09-11 14:02

Agreed. The same can be said that the lack of content in page_title also should not cause an error - in return, you can add a warning message -

"You really want to add a page with no title - Yes or No"

or

"You really want to add a page with no text- Yes or No"

Pavlo Tkachenko aka Dayver
esclkm
#3 2011-09-18 21:07

hey!  you are not noobis write just little plugin)

littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
Kingsley
#4 2011-09-19 00:51
#30750 esclkm:

hey!  you are not noobis write just little plugin)

 

Your argument is invalid, not everyone is a programmer

GHengeveld
#5 2011-09-19 23:54

Here you go: Bypass Page Checks

Its a little dirty because it replaces title and text with some dummy text first so it passes the check and then it replaces with empty strings right before running the db insert.

There is another problem if a page has no title, it gets marked as 'Deleted'. Maybe someone else can fix that wink

Trustmaster
#6 2011-09-21 07:31

Kort has added an issue for this in 0.6.x as will, will be fixed soon.

May the Source be with you!