Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 20

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Archive > Mambo 5.0 > Mambo 5.0 Wishlist

 
 
LinkBack Thread Tools Display Modes
Old 08.04.2004, 00:39   #1 (permalink)
Senior Mamber
 
doom4's Avatar
 
Join Date: Apr 2004
Location: Gelsenkirchen / Germany
Posts: 152
doom4 is on a distinguished road
Talking Possibilty to delete twiced installed components :)

i ve installed one component twice and now i cant delet them only one of them so i ve 2 entries in the compontes list
in the new version i want that mambo is blocking a twice installation or the possibility of deleting it.

THX
doom4 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 08.04.2004, 00:52   #2 (permalink)
Expert Mamber
 
keliix06's Avatar
 
Join Date: Mar 2004
Posts: 202
keliix06 is on a distinguished road
Send a message via MSN to keliix06
Default Re: Possibilty to delete twiced installed components :)

The only way to delete it is to go in through your database. Mambo can only follow the directions in the uninstall file and delete the hard files. If the uninstall file doesn't say to drop anything from the database, there is no way for Mambo to know to.

You can go through phpMyAdmin to mos_components and delete the rows that point to the component there.
keliix06 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.04.2004, 01:11   #3 (permalink)
Senior Mamber
 
doom4's Avatar
 
Join Date: Apr 2004
Location: Gelsenkirchen / Germany
Posts: 152
doom4 is on a distinguished road
Default Re: Possibilty to delete twiced installed components :)

so i wish that mambo blocks twice installtions of components
doom4 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.04.2004, 01:55   #4 (permalink)
Edi
Junior Mamber
 
Edi's Avatar
 
Join Date: Apr 2004
Location: Romania
Posts: 45
Edi is on a distinguished road
Default Re: Possibilty to delete twiced installed components :)

I wish that too !!!
__________________
Edi Online powered by Mambo... soon...
Edi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.04.2004, 02:36   #5 (permalink)
Expert Mamber
 
keliix06's Avatar
 
Join Date: Mar 2004
Posts: 202
keliix06 is on a distinguished road
Send a message via MSN to keliix06
Default Re: Possibilty to delete twiced installed components :)

Quote:
Originally Posted by doom4
so i wish that mambo blocks twice installtions of components
That works
keliix06 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.04.2004, 02:42   #6 (permalink)
Professional Mamber
 
Join Date: Mar 2004
Posts: 802
jomaco1 is on a distinguished road
Default Re: Possibilty to delete twiced installed components :)

More on this subject: Installed Component twice - how do I remove the second entry
__________________
Mark

Arthur...congrats on the rebuild! Hope it stays clean.

Click HERE to view signature. (If nothing happens at first...keep clicking)
jomaco1 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.04.2004, 04:48   #7 (permalink)
mmx
Expert Mamber
 
Join Date: Apr 2004
Location: Virginia Beach, Virginia USA
Posts: 309
mmx is on a distinguished road
Send a message via MSN to mmx
Default Re: Possibilty to delete twiced installed components :)

I cheat.

Before attempting to delete a duplicate component, I copy a set of the component directories elsewhere (both the frontend and backend directories), then delete the first instance of the component, then move the earlier copy back under the two components directories before deleting the second instance.

Mambo does a search to check if the directories exist. If they don't exist, you can't delete the second copy. Or something along those lines.
mmx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.04.2004, 05:14   #8 (permalink)
Senior Mamber
 
coke's Avatar
 
Join Date: Apr 2004
Posts: 125
coke is on a distinguished road
Send a message via MSN to coke
Default Re: Possibilty to delete twiced installed components :)

nice thought
coke is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.04.2004, 09:43   #9 (permalink)
Senior Mamber
 
doom4's Avatar
 
Join Date: Apr 2004
Location: Gelsenkirchen / Germany
Posts: 152
doom4 is on a distinguished road
Default Re: Possibilty to delete twiced installed components :)

Good morning mambers!

Quote:
Originally Posted by mmx
Before attempting to delete a duplicate component, I copy a set of the component directories elsewhere (both the frontend and backend directories), then delete the first instance of the component, then move the earlier copy back under the two components directories before deleting the second instance.

Thats a possibility but now i am using this component and it sucks that its twice in the rollout menu. if i am doing it like u all saved informations are lost .

So i hope i the next version there will be a prompt "u ve allready installed this component chose another dir oder cancle"
doom4 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08.04.2004, 10:56   #10 (permalink)
mmx
Expert Mamber
 
Join Date: Apr 2004
Location: Virginia Beach, Virginia USA
Posts: 309
mmx is on a distinguished road
Send a message via MSN to mmx
Default Re: Possibilty to delete twiced installed components :)

In cases like that, you do not want to delete the component.

Instead, you want to find the second set of records in mos_components, delete them, and do nothing else. These will be exact duplicates of the first set of records with different record ids.

The problem has existed since the first alpha development release last summer and I'm not sure why it was never fixed. The solution is for the installer to query the mos_components table for the existance of a option field value of the same name and to use a conditional statement to display an error message. Maybe there is more to it than that, but I doubt it.

Quote:
Originally Posted by doom4
Good morning mambers!

Thats a possibility but now i am using this component and it sucks that its twice in the rollout menu. if i am doing it like u all saved informations are lost .

So i hope i the next version there will be a prompt "u ve allready installed this component chose another dir oder cancle"
mmx is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +2. The time now is 02:26.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.