如何根据其他参数 /数字在Joomla模块中创建参数?

发布于 2025-02-03 01:30:42 字数 233 浏览 1 评论 0原文

我正在尝试为典型的CSS卡创建一个Joomla 模块,但我想对卡号进行依靠用户的数字输入。 例如,用户想要5张卡片,因此在参数字段“卡数”中,他将'5'

。我可以在运行时'spawn'参数值吗?

我可以在模块XML中放置一定的卡片并定义相应的参数,但是是否有一种方法可以像我想要的那样执行吗?

非常感谢您的帮助。先感谢您。

I'm trying to create a joomla module for typical css cards but I want to make to card number dependent on a number input from the user. For example the user wants 5 cards so in the parameter field "number of cards" he puts '5'.

Now he has to choose the text and logo for each card he wants, but how can I 'spawn' paramter values during runtime?

I could just put a set number of cards in and define the corresponding paramters in the modules xml but is there a way to do it like I want to?

Would greatly appreciate the help. Thank you in advance.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文