hello all i need to change the style of Joomla extension AcySMS but unable to find where i need to change
here is actual problem i need to change the style so that button must in front of text box and in country code selection i need to add county code with the flag of country Thanks :)
最佳答案
我不知道这个特定的 Joomla 扩展,但您似乎需要两个更改:
- 更改按钮的标记
- 将按钮放在输入之前
第一个可以通过更改您自己的自定义 css 文件来完成。使用 firebug 或开发人员工具找出使用了哪些类,并在您自己的 css 文件中覆盖或扩展它们。
对于第二个,您需要知道您使用的是插件、模块还是组件。这个问题的答案会将您带到正确的 Joomla 子文件夹。您可能会在那里找到一个 acysms 文件夹。然后您必须查找(甚至在子文件夹中)名为 default.php 的文件。
您应该使用模板覆盖来操作这些文件,否则您的更改将在此扩展的下一次定期更新中丢失。您可以在 Joomla 网站上搜索有关模板覆盖的帮助。这不是很复杂。 https://docs.joomla.org/How_to_override_the_output_from_the_Joomla!_core
如果(例如)您想要更改 mod_login 模块,那么您必须从复制文件 default.php
PATH_TO_JOOMLA/modules/mod_login/tmpl/
到
PATH_TO_JOOMLA/TEMPLATE_NAME/html/mod_login/
并在那里应用您的更改。
我希望这能让你入门。
关于php - Joomla Extension AcySMS 需要修改源码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44895923/