Quick way is create one model with fields, that equals all params. I.e. for
your example - field with welcome text, two fields with banners and 3 fields
for links. So you'll have one record in table with all needed parametrs.
Of course this way isn't acceptable if you'll have over hundred params
2013/6/27 rush
> Hi,
>
> Could please somebody advice how to store application settings and allow
> to edit them via admin panel?
> Settings are used site-wide, not on per user basis.
>
> This settings have different types ( text, ineteger, images aka banners )
> therefore it looks impossible to
2 matches
Mail list logo