如何在 Drupal 6 中组织产品目录站点?

发布于 2024-08-29 02:54:33 字数 545 浏览 8 评论 0原文

请建议我如何组织具有这种结构的产品目录站点(这是应该位于站点地图中的页面):

- Home page
- About Us
-- Team
-- Contacts
- Products
-- Category
--- Product
---- Overview
---- Photo gallery
---- Variants
-- Category
--- Subcategory
--- Product
---- Overview
---- Photo gallery
---- Variants

我知道我可以将页面节点用于一般页面,例如“关于”页面。我可以使用 CCK 准备具有所需字段的产品节点。然后我可以使用产品类别/子类别的分类词汇。这是执行此类功能的正确方法吗?或者最好只使用子/父节点?

我如何在产品页面上显示子页面菜单?我如何组织菜单?我需要一个带有主链接的菜单,其下方的第二个菜单用于辅助链接(产品目录除外),以及用于产品目录的侧边栏菜单。

请指教。可能这是一个简单的问题,但我刚刚学习 Drupal(但我有其他 CMS 的经验)。

多谢。

please advice me how to organize product catalog site with such structure (this is pages which should be in site map):

- Home page
- About Us
-- Team
-- Contacts
- Products
-- Category
--- Product
---- Overview
---- Photo gallery
---- Variants
-- Category
--- Subcategory
--- Product
---- Overview
---- Photo gallery
---- Variants

I know that i can use Page nodes for general pages like About page. And i can prepare Product node with CCK with needed fields. Then i can use taxonomy vocabulary for product categories/subcategories. Is this a right way to do such functionality? Or better to use just child/parent nodes?

And how i can show subpages menu on product page? How i can organize menus? I need one menu with primary links, second menu below it, for secondary links (except Products catalog) and sidebar menu for Products catalog.

Please advice. May be this is easy questions, but i just learning Drupal (but i have experience with other CMS).

Thanks a lot.

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

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

发布评论

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

评论(1

夜无邪 2024-09-05 02:54:33

您会发现在 Drupal 中设置站点有多种方法,并且由于您目前正在学习 Drupal,因此无论您现在选择什么方法,都可能不会成为最终站点的交付方式。 Drupal 的学习曲线具有挑战性,前几百个小时是最难的。

最好的办法是设置一个本地服务器并创建一个或两个(或三个)测试站点。 ..)。

熟悉基本节点类型以及分类法如何帮助您处理它们。然后启用核心 Book 模块并注意它如何在某些方面使分层页面变得更容易。熟悉主菜单和辅助菜单的工作方式,以及如何以不同的方式填充它们。

创建一些额外的内容类型,然后向其中添加 CCK 字段,然后使用视图模块来显示它们。这两个模块几乎是每个复杂的 Drupal 站点的一部分——学习如何一起使用它们将使您受益匪浅。

然后查看用于对内容进行分类的许多贡献模块,以及购物车解决方案(如果您将直接从此目录进行销售)。

花一些时间搜索 Drupal 站点和外部站点,了解人们设置目录的经验 - 您会发现更多实现此目的的方法。

祝你好运!

You're going to find that there are several ways to set up a site in Drupal, and since you're currently learning Drupal, whatever method you pick now, will probably not be how the final site is delivered. Drupal has a challenging learning curve, and the first few hundred hours are the toughest.

Best thing to do is to set up a local server and create a test site or two (or three...).

Get accustomed to the basic node types and how taxonomy would help you with them. Then enable the core Book module and notice how it makes hierarchical pages easier in some respects. Get familiar with the way that the primary and secondary menus work, and how you can populate them in different ways.

Create some additional content types and then add CCK fields to them, and then use the Views module to display them. These two modules are part of almost every sophisticated Drupal site--learning how to use them together will benefit you greatly.

Then take a look at the many contributed modules that exist for categorizing content, as well as shopping cart solutions if you'll be selling directly from this catalog.

Spend some time searching both the Drupal site and external sites for people's experiences with setting up catalogs--you'll find even more ways to accomplish this.

Good luck!

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