gmn sih caranya buat comp.xml nya supaya component kita ditampilkan pada tabel installed component?
saya dah buat trus aku install berhasil , pas tak liat di installed componet eh komponen saya ga muncul.
mohon bantuannya...
saya dah buat trus aku install berhasil , pas tak liat di installed componet eh komponen saya ga muncul.
code: select all
<?xml version="1.0" encoding="iso-8859-1" ?>
<mosinstall type="component" version="1.0" >
<name>anggota</name>
<files>
<filename>anggota.php</filename>
<filename>index.html</filename>
</files>
</mosinstall>
mohon bantuannya...
ini ada contoh, coba di lihat dan bandingin apa-aja yg kurang dari xml komponen nya,
code: select all
<?xml version="1.0" ?>
<mosinstall type="component">
<name>dailymessage_tabs</name>
<creationdate>08/21/2004</creationdate>
<author>joseph leblanc</author>
<copyright>this component in released under gnu/gpl license</copyright>
<authoremail>contact@jlleblanc.com</authoremail>
<authorurl>www.jlleblanc.com</authorurl>
<version>1.0.1</version>
<files>
<filename>dailymessage_tabs.php</filename>
</files>
<install>
<queries>
<query>
drop table if exists `#__joe_dailymessage_tabs`;
</query>
<query>
create table `#__joe_dailymessage_tabs` (
`id` int not null auto_increment,
`message` text not null,
`date` datetime not null,
`published` tinyint(1) not null,
primary key (`id`)
)
</query>
<query>
drop table if exists `#__joe_dailymessage_tabs_conf`;
</query>
<query>
create table `#__joe_dailymessage_tabs_conf` (
`bold` tinyint(1) not null,
`italic` tinyint(1) not null,
`underline` tinyint(1) not null,
`showdate` tinyint(1) not null,
`configid` tinyint(4) not null
)
</query>
<query>
insert `#__joe_dailymessage_tabs_conf`(bold, italic, underline, showdate, configid) values(0, 0, 0 , 1, 1);
</query>
</queries>
</install>
<uninstall>
<queries>
<query>
drop table if exists `#__joe_dailymessage_tabs`;
</query>
<query>
drop table if exists `#__joe_dailymessage_tabs_conf`;
</query>
</queries>
</uninstall>
<installfile>
<filename>install.dailymessage_tabs.php</filename>
</installfile>
<uninstallfile>
<filename>uninstall.dailymessage_tabs.php</filename>
</uninstallfile>
<administration>
<menu>daily message tabs</menu>
<submenu>
<menu act="all">edit messages</menu>
<menu act="configure">configure</menu>
</submenu>
<files>
<filename>admin.dailymessage_tabs.php</filename>
<filename>admin.dailymessage_tabs.html.php</filename>
<filename>dailymessage_tabs.class.php</filename>
<filename>toolbar.dailymessage_tabs.php</filename>
<filename>toolbar.dailymessage_tabs.html.php</filename>
</files>
</administration>
</mosinstall>
Comments
Post a Comment