Elxis CMS Forum

Extensions => Components => Topic started by: elpvn on October 26, 2009, 15:56:59

Title: Re-install BANNER COMPONENT?
Post by: elpvn on October 26, 2009, 15:56:59
Hello everyone,

Since, I was uninstalled Banner Component under section: Admin area --> Components --> Install/Uninstall. And now i want to bring it back to edit my banners, but i don't see anything else to done it in admin section. Just make a check in PhpAdmin section to find a solution, in the database still have tables: banner, bannerclient and bannerfinish. Anyone can help?

Thank for support :)
Title: Re: Re-install BANNER COMPONENT?
Post by: datahell on October 27, 2009, 00:38:45
Upload the front-end and back-end component files.
Go to database table #__components via phpmyadmin and insert manually a new row pointing to the banners component. See other Elxis installations on what this entry should contain.
Title: Re: Re-install BANNER COMPONENT?
Post by: elpvn on October 27, 2009, 17:31:21
Thanks for fast support me :)

Today I just done it, but still not work???? Maybe have another solution here?

Thanks again and welcome every idea :D

Title: Re: Re-install BANNER COMPONENT?
Post by: datahell on October 28, 2009, 09:05:34
Go to an other Elxis' installation database and insert the same database entries.
Database tables:
elx_banner (CREATE IF NOT EXIST)
elx_bannerclient (CREATE IF NOT EXIST)
elx_bannerfinish (CREATE IF NOT EXIST)

Table elx_components, 3 entries:

NULL, 'Banners', NULL, 0, 0, NULL, 'Banner Management', 'com_banners', 0, 'js/ThemeOffice/component.png', 0, NULL
X+1, 'Manage Banners', NULL, 0, X, 'option=com_banners', 'Active Banners', 'com_banners', 1, 'js/ThemeOffice/edit.png', 0, NULL
X+2, 'Manage Clients', NULL, 0, X, 'option=com_banners&task=listclients', 'Manage Clients', 'com_banners', 2, 'js/ThemeOffice/categories.png', 0, NULL

Where
X: the ID that db will return you for the first row. If it is for example 56, then X+1 will be 57 and X+2 will be 58.
Title: Re: Re-install BANNER COMPONENT?
Post by: elpvn on October 30, 2009, 16:38:47
Successed!

Follow your instruction, I done in 2 minutes! Seem great!

Thanks for your SQL experience :)

Topic closed.
Title: Re: Re-install BANNER COMPONENT?
Post by: herve34000 on March 22, 2011, 08:11:01
Hi,

we do some wrong manipulation on our administration about the banner module. we uninstall this. the components it's ok, but the banner module is uninstall. what we can do to recovery this ?

Thank's for you help
Herve
Title: Re: Re-install BANNER COMPONENT?
Post by: webgift on March 22, 2011, 11:47:33
In case that you use Elxis 2009.2 electra rev2631 , download and install the attached file.


[attachment deleted by admin]
Title: Re: Re-install BANNER COMPONENT?
Post by: herve34000 on March 23, 2011, 04:49:28
Hi,

Thank you Webgift. Solved already.