如何使用自定义社区/城市/州在 drupal 或 elgg 上注册?

发布于 2024-07-10 09:43:37 字数 240 浏览 4 评论 0 原文

我正在实施一个社交网站。 我希望使用 drupal 或 elgg,并且正在尝试两者。 我坚持自定义注册,除了城市和州之外还包括社区。

我想要下拉菜单根据更全局的信息自定义本地信息。 因此,一旦您选择了州,城市列表就会填充在下拉菜单中。

我正在构建一个有趣社区的列表,并且可以将其加载到数据库表或任何方便的表中。

你有什么建议?

JavaScript 和/或 PHP 都可以。

I'm implementing a social networking site. I hope to use drupal or elgg and am trying out both. I'm stuck on customizing the registration to include a neighborhood in addition to city and state.

I want to have drop-down menus customize the local information based on the more global information. So, once you choose the state, the city list is populated in a drop-down menu.

I am building a list of the interesting neighborhoods, and can load that into a db table or whatever is convenient.

What do you suggest?

Javascript and/or php is fine.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

伴随着你 2024-07-17 09:43:37

您将需要一个像 Active Select (Drupal 6 移植)为 Forms API 提供了此类功能。

You're going to want a module like Active Select (Drupal 6 port here) that provides that sort of functionality to the Forms API.

不知所踪 2024-07-17 09:43:37

对于 elgg .. 有两个插件你会发现很有用。

  1. 表单 - http://community.elgg.org/pg/plugins/kevin/read/97061/form-and-lated-plugins-for-elgg-15-and-higher

  2. flex 配置文件 - < a href="http://groups.google.com/group/elgg-development/browse_thread/thread/15bb22b7b5fc665e" rel="nofollow noreferrer">http://groups.google.com/group/elgg-development/browse_thread /thread/15bb22b7b5fc665e

希望这能为您指明一个有用的方向。

您甚至可以使用 csv 和此插件...动态填写所有信息。

http://community.elgg.org/pg/plugins/ naakka/read/165550/upload-users

for elgg .. there are two plugins you will find usefull.

  1. forms - http://community.elgg.org/pg/plugins/kevin/read/97061/form-and-related-plugins-for-elgg-15-and-higher

  2. flex profiles - http://groups.google.com/group/elgg-development/browse_thread/thread/15bb22b7b5fc665e

hope this points you in a helpful direction.

you can even use csv and this plugin... to fill out all the info dynamically.

http://community.elgg.org/pg/plugins/naakka/read/165550/upload-users

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文