Cotonti / Open Source PHP Content Management FrameworkContent Management Framework

Need cotonti extra fields

81.8% 9
9.1% 1
9.1% 1

11 Datum 2009-01-16 20:15

Forums / Cotonti / Core Labs / Archive / Poll: extra fields

extra fields for most tables

esclkm
#1 2009-01-16 20:15
I think that the most of sql tables must have 2-3 extra fields:
polls
lists (structure)
forumstruture and sections
comments
groups
pfs
pm

this field must not editable (add\delete new extra field)- it can make plugin writing more easy)
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
Trustmaster
#2 2009-01-16 21:19
I have no idea why these would have extra fields:
  • polls
  • comments
  • groups
  • pm

The rest can be done with our extrafields system by medar (extended for those areas of course).

And without any doubt: not in this version. You guys intend adding so many new features within 2 weeks right before the deadline that we gonna have lots of new bugs just by the release date.
May the Source be with you!

Dit bericht is bewerkt door Trustmaster (2009-01-16 21:21, 11 jaren ago)
esclkm
#3 2009-01-16 21:22
now my site use
ists (structure)
forumstruture and sections
in this tables extrafields
If we will use medar system for all tables - we just made our sites slowly...
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
Trustmaster
#4 2009-01-16 21:32
So I don't understand what crap you suggest to do: add lots extra fields everywhere, which won't be used on 90% of sites?
May the Source be with you!
esclkm
#5 2009-01-16 21:42
Not ! Only 2-3 extra field which could be used? if we make them: want they eat? )
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты
Trustmaster
#6 2009-01-16 22:45
That's all wrong design-wise (database design). Add one, then another one, then delete some, then rewrite everything from scratch...
May the Source be with you!
Kilandor
#7 2009-01-16 23:31
We have a extra_fields DB and API, which can be used for extra fields.

I'm not sure exactly how it works, but if it doesn't work how we need we can fix it. This could be used to on the fly add extra fields to rows AS a plugin, or Owner so needs. All extra fields can stay as default as they are now, but no new default extra fields would need to be added.

Please don't forget. The core is still supposed to be a framework. We won't add things just because someone uses it on their site. And like its been said alot of things will change in the future so this becomes even more of a true and better flexible framework.

Dit bericht is bewerkt door Kilandor (2009-01-16 23:40, 11 jaren ago)
jbra
#8 2012-08-23 13:04

I have used up all of the extra menu slots and am having trouble adding more, Any suggestions?

GHengeveld
#9 2012-08-23 18:47

Either hardcode your stuff into the template or use this plugin.