Lost Password?


Go Back   CodeCall Programming Forum > Community > Community Projects > ionFiles

ionFiles Forum for the support of ionFiles - Joomla! component

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-27-2007, 05:37 PM
rolandd rolandd is offline
Learning Programmer
 
Join Date: Jul 2007
Posts: 43
Rep Power: 6
rolandd is on a distinguished road
Default [Added]Do not drop tables on uninstall

Hi,

Not sure how to handle this. Since Joomla doesn't support upgrading a component (at least not in the 1.x series) I am basically forced to uninstall the old component and install the new one. As it drops the tables, I lose all my settings and history.

So I would vote for not dropping the tables on uninstalling. That way it is not an element of surprise when you upgrade
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 07-27-2007, 11:38 PM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,650
Last Blog:
PHP Objects, Patterns,...
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

I've considered this. It is kind of a double edged sword. On one side it is easy to upgrade but then people say "it doesn't uninstall completely" and on the other side people can't upgrade.

After releasing several versions of ionFiles and having people unable to upgrade I think I am going to adopt this policy from now on.

Do you know if 1.5 will have an "upgrade" feature?
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-28-2007, 01:48 AM
rolandd rolandd is offline
Learning Programmer
 
Join Date: Jul 2007
Posts: 43
Rep Power: 6
rolandd is on a distinguished road
Default

Quote:
I've considered this. It is kind of a double edged sword.
Absolutely true. I have the same problem with my component. I also decided rather to have the tables present than users losing their work. What I am considering but haven't looked at yet is make an option in my component to have the users drop the tables. After that they can uninstall the Joomla way.

As for 1.5 I thought I read somewhere that it does allow component upgrading but I can't find any information towards that. Just tried to do an upgrade in Joomla 1.5RC1 and it simply tells me the path is already in use. So I guess there is no upgrade.

Regards,

RolandD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 08-09-2007, 03:36 AM
TkTech TkTech is offline
 
Join Date: Jun 2006
Posts: 1,033
Last Blog:
Having trouble with yo...
Rep Power: 20
TkTech is on a distinguished road
Send a message via MSN to TkTech
Default

I believe a hack for Joomla! is in order, to allow component upgrades based on the version information found in the install xml. Actually wouldn't be that hard...thinking...
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 08-09-2007, 08:38 AM
Jordan's Avatar   
Jordan Jordan is offline
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 9,650
Last Blog:
PHP Objects, Patterns,...
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default

An upgrade component would be a nice feature to have. This is one of the lacking features of Joomla IMO.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 08-09-2007, 06:27 PM
TkTech TkTech is offline
 
Join Date: Jun 2006
Posts: 1,033
Last Blog:
Having trouble with yo...
Rep Power: 20
TkTech is on a distinguished road
Send a message via MSN to TkTech
Default

Yeah, I was thinking along the lines of having an additional install xml file in each package, which would be read by the component and act in place of the built in system.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 08-12-2007, 10:34 AM
eagle00789 eagle00789 is offline
Newbie
 
Join Date: Apr 2007
Posts: 19
Rep Power: 6
eagle00789 is on a distinguished road
Default

i have seen some components with a small different approach. in the settings, you can choose if you want to remove all or keep the tables. Then, on component uninstall, (if selected) the tables are kept. this way, the user makes the choise to keep or remove the tables.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 08-12-2007, 11:21 AM
TkTech TkTech is offline
 
Join Date: Jun 2006
Posts: 1,033
Last Blog:
Having trouble with yo...
Rep Power: 20
TkTech is on a distinguished road
Send a message via MSN to TkTech
Default

We've fixed this in the upcoming ionFiles v3.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 08-12-2007, 11:24 AM
eagle00789 eagle00789 is offline
Newbie
 
Join Date: Apr 2007
Posts: 19
Rep Power: 6
eagle00789 is on a distinguished road
Default

Quote:
Originally Posted by TkTech View Post
We've fixed this in the upcoming ionFiles v3.
is there a beta version available for download??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 08-12-2007, 12:10 PM
TkTech TkTech is offline
 
Join Date: Jun 2006
Posts: 1,033
Last Blog:
Having trouble with yo...
Rep Power: 20
TkTech is on a distinguished road
Send a message via MSN to TkTech
Default

By tuesday it'll be completly done, please just wait.
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Better to use CSS or Tables? Void HTML Programming 10 10-17-2006 12:44 PM
Still using tables? ShortCircuit HTML Programming 11 09-30-2006 09:45 AM


All times are GMT -5. The time now is 11:33 PM.

Contest Stats

WingedPanther ........ 2753.6
Xav ........ 2704
Brandon W ........ 1702.32
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 966.05
dcs ........ 655.75
Steve.L ........ 475.59
orjan ........ 418.58
Aereshaa ........ 383.54

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 100%


Complete - Celebrate!

Ads