Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Joomla将参数添加到扩展_Joomla - Fatal编程技术网

Joomla将参数添加到扩展

Joomla将参数添加到扩展,joomla,Joomla,I fix/administrator/components/com_content/models/forms/article.xml 与 和/administrator/components/com_content/views/article/tmpl/edit.php 与 但当我按下save时,这个字段不会存储在数据库中 我必须在哪里修复更多代码?简而言之,您需要在数据库的jos_内容表中添加一个名为“turbobit”的列 看看我的另一个答案:,可能会有帮助 <field

I fix/administrator/components/com_content/models/forms/article.xml


和/administrator/components/com_content/views/article/tmpl/edit.php

  • 但当我按下save时,这个字段不会存储在数据库中


    我必须在哪里修复更多代码?

    简而言之,您需要在数据库的jos_内容表中添加一个名为“turbobit”的列

    看看我的另一个答案:,可能会有帮助

    <field name="turbobit" type="text"
    label="Turbobit" description="Turbobit"
    class="inputbox" size="60" />
    
    <li><?php echo $this->form->getLabel('turbobit'); ?>
    <?php echo $this->form->getInput('turbobit'); ?></li>