简体   繁体   中英

create custom fileds in Article Manager of joomla 1.5

I am beginner in joomla so For some customization in joomla's core files i am getting troubles.

what i want:- I want to add check box in article detail page.by using this option i will get the value that the current article should be "Latest or not".

what i done:-i added the extra 1 field of Boolean type in jos_content. and create a check box on article edit form.i create the check box in following code administrator/components/com_content/admin.content.html.php

<td>
                <label>
                <?php echo JText::_( 'Latest News' ); ?>
                </label>
            </td>
            <td>
                <?php echo $lists['latestnews']; ?>
            </td>

My Question:- how can i add this field value and update in database?

i found to create such things for joomla 1.6,1.7.but the file structure of joomla 1.5 is very different to other versions. Please help me out..Thanks in advance.

您需要编辑将数据保存到数据库名称中的controlertables ,这一定与文章有关!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM