Reinstalling deleted Joomla 1.0 core extensions

From Joomla! Documentation

Jump to: navigation, search

Some Joomla 1.0.x core component (Banners, News Feeds, Polls, Weblinks, Syndicate, and Mass Mail) can be deleted via the /administrator back-end: Installers > Components.

Core component installation packages don't exist because it's too much work to maintain.

Contents

Reinstallation information per core-component

With some FTP & phpMyAdmin knowledge you will be able to reinstall deleted core components. In general, if you have deleted some core component by mistake, use the following steps to reinstall:

  • Download & unzip the Joomla Full package of your current version
  • Before following the next steps, backup your site (files + database)
  • Re-upload the component's files for the front-end and the back-end (see info below)
  • Re-create the reference to the component in your database with phpMyAdmin (see info below)

Next you will find the necessary information to reinstall a core component, all displayed in the format:

  • Name
  • Directories + files to re-upload (front-end and back-end)
  • SQL query to run in phpMyAdmin to restore the reference in the jos_components table (note: assuming that your table prefix is the default jos_ )

Banners

Upload all files & directories under:

  • /administrator/components/com_banners/
  • /components/com_banners/

Use phpMyAdmin to run the following SQL statements to recreate the references:

INSERT INTO `jos_components` VALUES (1, 'Banners', '', 0, 0, '', 'Banner Management',
'com_banners', 0, 'js/ThemeOffice/component.png', 0, '');
INSERT INTO `jos_components` VALUES (2, 'Manage Banners', '', 0, 1, 'option=com_banners', 'Active Banners',
'com_banners', 1, 'js/ThemeOffice/edit.png', 0, '');
INSERT INTO `jos_components` VALUES (3, 'Manage Clients', '', 0, 1, 'option=com_banners&task=listclients', 'Manage Clients',
'com_banners', 2, 'js/ThemeOffice/categories.png', 0, '');

News Feeds

Upload all files & directories under:

  • /administrator/components/com_newsfeeds/
  • /components/com_newsfeeds/

Use phpMyAdmin to run the following SQL statements to recreate the references:

INSERT INTO `jos_components` VALUES (12, 'News Feeds', 'option=com_newsfeeds', 0, 0, '', 'News Feeds Management',
'com_newsfeeds', 0, 'js/ThemeOffice/component.png', 0, '');
INSERT INTO `jos_components` VALUES (13, 'Manage News Feeds', '', 0, 12, 'option=com_newsfeeds', 'Manage News Feeds',
'com_newsfeeds', 1, 'js/ThemeOffice/edit.png', 0, '');
INSERT INTO `jos_components` VALUES (14, 'Manage Categories', '', 0, 12, 'option=com_categories&section=com_newsfeeds', 
'Manage Categories', '', 2, 'js/ThemeOffice/categories.png', 0, '');

Polls

Upload all files & directories under:

  • /administrator/components/com_poll/
  • /components/com_poll/

Use phpMyAdmin to run the following SQL statements to recreate the references:

INSERT INTO `jos_components` VALUES (11, 'Polls', 'option=com_poll', 0, 0, 'option=com_poll', 'Manage Polls',
'com_poll', 0, 'js/ThemeOffice/component.png', 0, '');
 
CREATE TABLE `jos_polls` (
  `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
  `title` varchar(100) collate latin1_general_ci NOT NULL DEFAULT '',
  `voters` int(9) NOT NULL DEFAULT '0',
  `checked_out` int(11) NOT NULL DEFAULT '0',
  `checked_out_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `published` tinyint(1) NOT NULL DEFAULT '0',
  `access` int(11) NOT NULL DEFAULT '0',
  `lag` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY  (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=15 ;
 
INSERT INTO `jos_polls` VALUES (14, 'This Joomla! installation was ....', 1, 0, '0000-00-00 00:00:00', 1, 0, 86400);
 
CREATE TABLE `jos_poll_data` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `pollid` int(4) NOT NULL DEFAULT '0',
  `text` text collate latin1_general_ci NOT NULL,
  `hits` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY  (`id`),
  KEY `pollid` (`pollid`,`text`(1))
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=13 ;
 
INSERT INTO `jos_poll_data` VALUES (1, 14, 'Absolutely simple', 1);
INSERT INTO `jos_poll_data` VALUES (2, 14, 'Reasonably easy', 0);
INSERT INTO `jos_poll_data` VALUES (3, 14, 'Not straight-forward but I worked it out', 0);
INSERT INTO `jos_poll_data` VALUES (4, 14, 'I had to install extra server stuff', 0);
INSERT INTO `jos_poll_data` VALUES (5, 14, 'I had no idea and got my friend to do it', 0);
INSERT INTO `jos_poll_data` VALUES (6, 14, 'My dog ran away with the README ...', 0);
INSERT INTO `jos_poll_data` VALUES (7, 14, '', 0);
INSERT INTO `jos_poll_data` VALUES (8, 14, '', 0);
INSERT INTO `jos_poll_data` VALUES (9, 14, '', 0);
INSERT INTO `jos_poll_data` VALUES (10, 14, '', 0);
INSERT INTO `jos_poll_data` VALUES (11, 14, '', 0);
INSERT INTO `jos_poll_data` VALUES (12, 14, '', 0);
 
CREATE TABLE `jos_poll_date` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
  `vote_id` int(11) NOT NULL DEFAULT '0',
  `poll_id` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY  (`id`),
  KEY `poll_id` (`poll_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci AUTO_INCREMENT=1 ;
 
CREATE TABLE `jos_poll_menu` (
  `pollid` int(11) NOT NULL DEFAULT '0',
  `menuid` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY  (`pollid`,`menuid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
 
INSERT INTO `jos_poll_menu` VALUES (14, 1);

Web Links

Upload all files & directories under:

  • /administrator/components/com_weblinks/
  • /components/com_weblinks/

Use phpMyAdmin to run the following SQL statements to recreate the references:

INSERT INTO `jos_components` VALUES (4, 'Web Links', 'option=com_weblinks', 0, 0, '', 'Manage Weblinks',
'com_weblinks', 0, 'js/ThemeOffice/globe2.png', 0, '');
INSERT INTO `jos_components` VALUES (5, 'Web Link Items', '', 0, 4, 'option=com_weblinks', 'View existing weblinks',
'com_weblinks', 1, 'js/ThemeOffice/edit.png', 0, '');
INSERT INTO `jos_components` VALUES (6, 'Web Link Categories', '', 0, 4, 'option=categories&section=com_weblinks', 
'Manage weblink categories', '', 2, 'js/ThemeOffice/categories.png', 0, '');

Syndicate

Upload all files & directories under:

  • /administrator/components/com_syndicate/
  • /components/com_rss/

Use phpMyAdmin to run the following SQL statements to recreate the references:

INSERT INTO `jos_components` VALUES (17, 'Syndicate', '', 0, 0, 'option=com_syndicate&hidemainmenu=1', 
'Manage Syndication Settings', 'com_syndicate', 0, 'js/ThemeOffice/component.png', 0, '');

Mass Mail

Upload all files & directories under:

  • /administrator/components/com_massmail/
  • [no front-end]

Use phpMyAdmin to run the following SQL statements to recreate the references:

INSERT INTO `jos_components` VALUES (18, 'Mass Mail', '', 0, 0, 'option=com_massmail&hidemainmenu=1', 
'Send Mass Mail', 'com_massmail', 0, 'js/ThemeOffice/mass_email.png', 0, '');
Personal tools