如何在单个页面上将洋地黄控件与其各自的模块关联起来
我如何将 digitalusControl 与 digitalusModule 关联起来,以便当我使用后面的选择器更改模块时(管理区域)它还会将其设置为前面选定的值
<digitalusControl type='moduleSelector' id='modulesearch' group='mods' />
<digitalusModule type='modulesearch' group='mods' module='serach' action='search'/>
<digitalusControl type='moduleSelector' id='modulenews' group='mods' />
<digitalusModule type='modulenews' group='mods' module='blog' action='blog'/>
我很难,因为论坛没有有关如何将多个模块添加到单个页面的相关信息..
编辑 更不用说相关的事情了,我如何使用 digitalusControl 标签向页面添加多个模块我尝试这样做,但它不起作用,
<digitalusControl type='moduleSelector' id='modulesearch' group='mods' />
<digitalusControl type='moduleSelector' id='modulenews' group='mods' />
但是当我
<digitalusControl type='moduleSelector' id='module' group='mods' />
只添加这个(第三个)时,其他两个模块将不起作用尝试在数据库中查看它们是这样保存的
<?xml version="1.0"?>
<elementData><module>login_index</module><modulesearch>search_search</modulesearch><modulenews>blog_blog</modulenews><blog>41</blog></elementData>
how can i relate the digitalusControl with the digitalusModule so that when i change the module using the selectors in the back(admin area) it will also set it to the selected value in the front
<digitalusControl type='moduleSelector' id='modulesearch' group='mods' />
<digitalusModule type='modulesearch' group='mods' module='serach' action='search'/>
<digitalusControl type='moduleSelector' id='modulenews' group='mods' />
<digitalusModule type='modulenews' group='mods' module='blog' action='blog'/>
i am having a hard time since the forums don't have a relevant info on how to add multiple modules to a single page ..
EDIT let alone the relating thing how can i add multiple modules to a page using the digitalusControl tags i tried to do this but it's not working
<digitalusControl type='moduleSelector' id='modulesearch' group='mods' />
<digitalusControl type='moduleSelector' id='modulenews' group='mods' />
but when i add
<digitalusControl type='moduleSelector' id='module' group='mods' />
only this one (the third one) works the other two will not work when i try to see in the db they are saved like this
<?xml version="1.0"?>
<elementData><module>login_index</module><modulesearch>search_search</modulesearch><modulenews>blog_blog</modulenews><blog>41</blog></elementData>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
洋地黄中有一个错误,现已在存储库中修复,您可以从此处获取它,已在修订版 782 中修复
there was a bug in digitalus it's now fixed in the repository you can fetch it from here fixed in revision 782