【发布时间】:2014-12-08 11:34:54
【问题描述】:
我正在开发使用 Form Maker 的 Joomla 项目。我的任务是改进HTML template,但我绝对找不到。我已经在扩展的目录文件夹中搜索了所有可能的地方。
结构:
|-models
|----formaker.php
|----index.html
|-uploads
|----index.html
|-views
|----formmaker
|--------tmpl
|------------default.php
|------------default.xml
|------------index.html
|------------main.js
|--------index.html
|--------view.html.php
|----index.html
|-controller.php
|-formmaker.php
|-index.html
|-wd_captcha.php
从我的角度来看,主文件位于views/formmaker/tmpl/default.php,但我没有找到如何修改特别是 HTML 模板以更改表单参数的方法。
更新 - default.xml 的结构:
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<layout title="Form">
<message></message>
</layout>
<fields name="request">
<fieldset name="request" addfieldpath="/administrator/components/com_formmaker/models/forms" >
<field name="id" type="modal_contacts" label="Select a Form" required="true"/>
</fieldset>
</fields>
</metadata>
提前谢谢你
【问题讨论】: