database driven user quotes

Поиск
Список
Период
Сортировка
От Robert Treat
Тема database driven user quotes
Дата
Msg-id 200508171433.02939.xzilla@users.sourceforge.net
обсуждение исходный текст
Ответы Re: database driven user quotes  ("Marc G. Fournier" <scrappy@postgresql.org>)
Список pgsql-www
Hey guys,

I'm thinking about making the user quotes on the main website database
driven .  Two goals behind this would be to allow for a page where we could
display all user quotes, and also to allow the quotes on the main page to be
randomly generated for each site build, making the front page a little less
static.  The one tricky part seems to be how best to handle translations. I
had a thought to make the database table something simple like quote,
tagline, & lang, which would be fine for storing the content, however I'm not
sure the best way for extracting it.  I was thinking the calls to func_lang
could be replaced with a get_quote, and then use $_LANGUAGE for
system/handler.php as an argument to get the appropriate quote.  I figure
this will also mean we need an addition to the admin screens for inputing
quotes. Does this sound reasonable?

--
Robert Treat
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL

В списке pgsql-www по дате отправления:

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: Gforge down?
Следующее
От: Robert Treat
Дата:
Сообщение: Re: database driven user quotes