【问题标题】:Joomla Form Maker where to find html form templateJoomla Form Maker 在哪里可以找到 html 表单模板
【发布时间】: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>

提前谢谢你

【问题讨论】:

    标签: html joomla


    【解决方案1】:

    根据Form Maker 扩展,唯一可能的解决方案是更改表单元素的 HTML 标记,它只是根据您的需要重写整个脚本。

    不建议使用此脚本,即使是高级版。

    【讨论】:

      【解决方案2】:

      表单参数在 xml 文件中。试试这条路views/formmaker/formmaker.xml

      【讨论】:

      • 你在哪里找到的formmaker.xml 根本不存在于目录中
      • 我的意思是default.xml
      • 更新问题,添加default.xml
      猜你喜欢
      • 1970-01-01
      • 2011-01-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-18
      • 1970-01-01
      • 1970-01-01
      • 2011-04-02
      相关资源
      最近更新 更多