1.5 install file...

Discussion and education for beginner / novice programmers interested in embarking on the development process to take advantage of the extensible nature of the Joomla! CMS.

Moderators: tjay, seadap, Rogue4ngel, matthewhayashida

Forum rules
Post Reply
Arbo
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Oct 02, 2007 12:00 am

1.5 install file...

Post by Arbo » Wed Oct 03, 2007 4:04 am

I'm trying to figure out how this automated install for components works.  In my .xml file, I have this:


index.html
accalendar.php
accalendar.html.php

   
      acCalendar
 
index.html
admin.accalendar.php
toolbar.accalendar.php
toolbar.accalendar.html.php
 



   
       
        CREATE TABLE IF NOT EXISTS `#__cacalendar` (
          `eid` int(11) NOT NULL auto_increment,
          `edate` date NOT NULL default '0000-00-00',
          `ename` varchar(70) NOT NULL default '',
          `etime` varchar(50) default NULL,
          `eloca` varchar(70) default NULL,
          `edisc` varchar(255) default NULL,
          PRIMARY KEY  (`eid`)
        ) TYPE=MyISAM;
       

     



in the zip, the root as the .xml file, then there is a 'site' directory and 'admin' directory (per the 'folder' directive).  It says it installs, and it does create the database, but none of the files are on the server (ie, none of it works)....

Any ideas?  Or at least where to look to figure it out?

Thanks
Paul

User avatar
infograf768
Joomla! Engineer
Joomla! Engineer
Posts: 366
Joined: Fri Aug 12, 2005 3:47 pm
Location: •Translation Matters•

Re: 1.5 install file...

Post by infograf768 » Wed Oct 03, 2007 7:03 am

This is an xml for a new beta component whose install works OK:



PhocaGallery
26/09/2007
Jan Pavelka
[email protected]
http://www.phoca.cz
Jan Pavelka
GPL

1.0 Beta

Phoca gallery


install.phocagallery.php


uninstall.phocagallery.php




install.sql






uninstall.sql





controller.php
index.html
phocagallery.php
router.php
assets/images/icon-exit.gif
assets/images/icon-next-grey.gif
assets/images/icon-next.gif
assets/images/icon-pause-grey.gif
assets/images/icon-pause.gif
assets/images/icon-play-grey.gif
assets/images/icon-play.gif
assets/images/icon-prev-grey.gif
assets/images/icon-prev.gif
assets/images/icon-reload.gif
assets/images/icon-stop-grey.gif
assets/images/icon-stop.gif
assets/images/icon-view.gif
assets/images/index.html
assets/images/phoca_thumb_l_no_image.gif
assets/images/phoca_thumb_m_no_image.gif
assets/images/phoca_thumb_s_no_image.gif
assets/images/spacer.gif
assets/index.html
assets/phocagallery.css
assets/phocagalleryieall.css
helpers/index.html
helpers/phocagallery.php
models/categories.php
models/category.php
models/index.html
models/phocagalleryd.php
views/categories/index.html
views/categories/metadata.xml
views/categories/tmpl/default.php
views/categories/tmpl/default.xml
views/categories/tmpl/index.html
views/categories/view.html.php
views/category/index.html
views/category/metadata.xml
views/category/tmpl/default.php
views/category/tmpl/default.xml
views/category/tmpl/index.html
views/category/view.html.php
views/index.html
views/phocagalleryd/index.html
views/phocagalleryd/metadata.xml
views/phocagalleryd/tmpl/default.php
views/phocagalleryd/tmpl/index.html
views/phocagalleryd/view.html.php




language/en-GB/en-GB.com_phocagallery.ini
language/en-GB/en-GB.com_phocagallery.menu.ini




Phoca gallery

Gallery
Categories




admin.phocagallery.php
controller.php
index.html
install.phocagallery.php
install.sql
phocagallery.xml
uninstall.phocagallery.php
uninstall.sql
assets/images/icon-insert.gif
assets/images/index.html
assets/images/phoca_thumb_l_no_image.gif
assets/images/phoca_thumb_m_no_image.gif
assets/images/phoca_thumb_s_no_image.gif
assets/images/spacer.gif
assets/index.html
assets/phocagallery.css
assets/phocagalleryieall.css
controllers/index.html
controllers/phocagallery.php
elements/index.html
elements/phocagallery.php
help/cs-CZ/css/help.css
help/cs-CZ/css/index.html
help/cs-CZ/index.html
help/cs-CZ/screen.phocagallery.html
help/en-GB/css/help.css
help/en-GB/css/index.html
help/en-GB/index.html
help/en-GB/screen.phocagallery.html
helpers/index.html
helpers/phocagallery.php
models/index.html
models/phocagallery.php
models/phocagalleryd.php
models/phocagalleryi.php
models/phocagallerys.php
tables/index.html
tables/phocagallery.php
views/index.html
views/phocagallery/index.html
views/phocagallery/tmpl/form.php
views/phocagallery/tmpl/index.html
views/phocagallery/view.html.php
views/phocagalleryd/index.html
views/phocagalleryd/tmpl/default.php
views/phocagalleryd/tmpl/index.html
views/phocagalleryd/view.html.php
views/phocagalleryi/index.html
views/phocagalleryi/tmpl/default.php
views/phocagalleryi/tmpl/index.html
views/phocagalleryi/view.html.php
views/phocagallerys/index.html
views/phocagallerys/tmpl/default.php
views/phocagallerys/tmpl/index.html
views/phocagallerys/view.html.php




language/en-GB/en-GB.com_phocagallery.ini
language/en-GB/en-GB.com_phocagallery.menu.ini





Hope it helps.
Jean-Marie Simonet / infograf · http://www.info-graf.fr · GMT +1
Qui vult dare parva non debet magna rogare.

Arbo
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Oct 02, 2007 12:00 am

Re: 1.5 install file...

Post by Arbo » Wed Oct 03, 2007 1:30 pm

Thanks, I prefer the external .sql stuff.  I figured it out.  Was a fat finger problem, I reversed two letters in the part ... 

All works now.

Thanks
Paul


Post Reply