Re-installing Joomla 1.0.x Core Components

Need help with the Administration of your Joomla! site? Pop your questions in here.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24974
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re-installing Joomla 1.0.x Core Components

Post by pe7er » Fri Oct 26, 2007 11:15 pm

Did you accidentally delete any of the Joomla 1.0.x core component in the /administrator back-end via:
Installers > Components ?
(for reinstalling Joomla 1.5.x Core Components see this thread: http://forum.joomla.org/viewtopic.php?f=429&t=284666 )

There are no core component packages that you could use to reinstall the component. That's because it's too much work to create those every time after an upgrade (they have to be created for every Joomla version!). Luckily if you have some FTP & phpMyAdmin knowledge, then you might be able to re-install the deleted core components yourself with the following explanation!

In general, if you deleted some core component by mistake, you can take the following steps to reinstall them:
  • 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
  • Re-create the reference to the component in your database with phpMyAdmin
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_ )


Reinstallation information per core-component

Banners
Files:
/administrator/components/com_banners/
/components/com_banners/
SQL:

Code: Select all

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, '');
Web Links
Files:
/administrator/components/com_weblinks/
/components/com_weblinks/
SQL:

Code: Select all

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, '');
Polls
Files:
/administrator/components/com_poll/
/components/com_poll/
SQL:

Code: Select all

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, '');
News Feeds
Files:
/administrator/components/com_newsfeeds/
/components/com_newsfeeds/
SQL:

Code: Select all

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, '');
Syndicate
Files:
/administrator/components/com_syndicate/
/components/com_rss/ {not sure about this one!}
SQL:

Code: Select all

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
Files:
/administrator/components/com_massmail/
[no front-end]
SQL:

Code: Select all

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, '');
Here you can discuss this topic: http://forum.joomla.org/index.php/topic,227324.0.html
Last edited by pe7er on Wed Apr 16, 2008 10:32 am, edited 3 times in total.
Reason: Converted all SQL statements in the message to "code" tags
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

Locked

Return to “Administration - 1.0.x”