Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是关于 ddermart 2.0 的。添加新类别时,会将新行插入到 prefix_virtuemart_categories 表中。该查询在哪里执行?即,在哪个文件中(模型/控制器...)。添加新类别后我想做点什么。请帮帮我。
您可以通过转到您的com_virtuemart组件来检查它。这是您的类别将其保存到数据库的导航。
com_virtuemart
Joomla 站点 -> 管理员 -> 组件 -> com_virtuemart -> 控制器 ->category.php
打开这个文件,你可以看到有一个函数叫做save(),这就是你想要的。你可以在这里做你想做的。祝你好运。
save()