The Joomla! Forum ™



Forum rules


Please use the official Bug Tracker to report a bug: http://issues.joomla.org



Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Deleting Template
PostPosted: Sun May 30, 2010 3:38 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Aug 14, 2007 5:35 pm
Posts: 21
Not sure if this is a bug or if I just don't know how to do it in the new 1.6, but... installed a template and now would like to delete it as I have made revisions in it and want to upload the new one.

Go to try to delete the old template and it gives me "Cannot delete last style of template". Even changed the name of the "Style" to an existing style of another template and still not able to delete.

Had to go into phpMyAdmin to delete the "style" in order to install the revamped template.


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Mon May 31, 2010 9:39 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
Would you please add this to the issue tracker. Link is at the top of this forum.

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Thu Jan 06, 2011 7:47 pm 
Joomla! Intern
Joomla! Intern

Joined: Mon Nov 08, 2010 2:39 am
Posts: 74
Hi...

I'm using RC1 and I'm unable to install any templates. I've looked through the issue tracker and it's very confusing because there are several reports about this happening in beta versions. Some replies seemed to say deletion of core templates was deliberately disabled as a "security issue". Some other posts said this issue had been solved...? And that was all a while ago, before RC1.

But I have RC1 and I can't even uninstall my own custom template, let alone the core templates. This isn't good.

Can anyone confirm they still have the same issue with RC1?


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Fri Jan 07, 2011 7:43 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Feb 10, 2009 10:48 am
Posts: 3
teapotbag wrote:
Hi...
Can anyone confirm they still have the same issue with RC1?



Yes, I have the same issue with RC.


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Sat Jan 08, 2011 1:22 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
Deleting a style will definitely not delete a template. To delete a template you need to go to the extensions manager and use the tools there.
A style is just a saved set of parameter valuess.

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Sat Jan 08, 2011 12:23 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Mon Oct 01, 2007 11:16 am
Posts: 84
Location: Denmark
teapotbag <--- I belive You have to go to the extension manager, and use the discover function to find the template! (And the template needs to be 1.6 compatible.)

Primarly: you need to change templateDetails.xml.

Else: Try to install the template, all templates, must be installed or discovered :)

_________________
Http://www.onlinebrand.dk - En blog om webdesign, joomla, brugevenlighed og online markedsføring.

Http://www.d3signated.com - Joomla 1.6 + Templates


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Sat Jan 08, 2011 1:37 pm 
Joomla! Intern
Joomla! Intern

Joined: Mon Nov 08, 2010 2:39 am
Posts: 74
mcsmom wrote:
Deleting a style will definitely not delete a template. To delete a template you need to go to the extensions manager and use the tools there.
A style is just a saved set of parameter valuess.
Oohhhh!! That would never have crossed my mind!!!!!

Thank you!!



danieldue wrote:
teapotbag <--- I belive You have to go to the extension manager, and use the discover function to find the template! (And the template needs to be 1.6 compatible.)

Primarly: you need to change templateDetails.xml.

Else: Try to install the template, all templates, must be installed or discovered :)

I'm trying to delete a template, which should imply that I have already installed it.
:-p


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Sat Jan 08, 2011 9:58 pm 
User avatar
Joomla! Intern
Joomla! Intern

Joined: Mon Oct 01, 2007 11:16 am
Posts: 84
Location: Denmark
Sry ;)

_________________
Http://www.onlinebrand.dk - En blog om webdesign, joomla, brugevenlighed og online markedsføring.

Http://www.d3signated.com - Joomla 1.6 + Templates


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Sat Jan 22, 2011 10:22 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Sun Feb 25, 2007 10:44 pm
Posts: 511
Location: New Jersey, USA
I'm using the stable J 1.6 and I've not been able to delete the last style of any template. Even my own.
I can make a duplicate of a style and then delete the original, but the now "new duplicate" can't be deleted.
"Cannot delete last style of a template" is the response.

I'll continue testing and searching and post back here if I find anything.

EDIT:
Found this and it works.

GoTo

1."Extension Manager: Manage"
2."Manage" Tab
3.Find Template
4."Uninstall"

Phil


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Mon Jan 24, 2011 5:04 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
Every installed template has to have at least one style.

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Mon Jan 24, 2011 7:51 am 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Aug 02, 2009 1:31 pm
Posts: 104
Location: Web Developer House
Extensions->Extension Manager->Manage->Find Template Name->Uninstall
Thanks!

_________________
Best regards, Md. Abdullah Al Mamun, Sr. Web Development Engineer
Cell: +8801741675667
E-mail: [email protected]
Dhaka, Bangladesh, http://www.abdullah-al-mamun.info/


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Fri Apr 01, 2011 4:21 am 
User avatar
Joomla! Fledgling
Joomla! Fledgling

Joined: Fri Apr 01, 2011 4:17 am
Posts: 1
PhilOSparta wrote:
I'm using the stable J 1.6 and I've not been able to delete the last style of any template. Even my own.
I can make a duplicate of a style and then delete the original, but the now "new duplicate" can't be deleted.
"Cannot delete last style of a template" is the response.

I'll continue testing and searching and post back here if I find anything.

EDIT:
Found this and it works.

GoTo

1."Extension Manager: Manage"
2."Manage" Tab
3.Find Template
4."Uninstall"

Phil


Work like a charm thanks man...


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Wed Apr 06, 2011 10:41 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Apr 06, 2011 10:33 am
Posts: 4
PhilOSparta wrote:
I'm using the stable J 1.6 and I've not been able to delete the last style of any template. "Cannot delete last style of a template" is the response.

1."Extension Manager: Manage"
2."Manage" Tab
3.Find Template
4."Uninstall"

Phil


The above sequence worked, but in the Template Manager I still see the template to be deleted. And when deleting it, I get the error "Cannot delete last style of a template".

Any sugestions?

Arman


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Mon Apr 11, 2011 8:43 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon Apr 11, 2011 7:15 am
Posts: 1
armanic wrote:
The above sequence worked, but in the Template Manager I still see the template to be deleted. And when deleting it, I get the error "Cannot delete last style of a template".

Any sugestions?

Arman


Here is 100% The Best Answer

mamuna2m wrote:
Extensions->Extension Manager->Manage->Find Template Name->Uninstall
Thanks!


Thanks to him


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Tue Apr 12, 2011 7:11 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Dec 22, 2009 8:14 am
Posts: 3
I have the same problem. In my case, although i already deleted the templates under Extension Manager, i can not rid of the template styles. Something is screwed up in the DB.

stv


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Mon Apr 18, 2011 4:06 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 13, 2006 7:36 pm
Posts: 17
I am experiencing the same issue. I HAVE uninstalled the template successfully. It has disappeared from the Extension Manager. However, it is still listed in Template Manager. When I try to delete it there I get the dreaded 'Cannot delete last style of template.'

I really do not want my client to see the old not working templates used in development. Does anyone know how to get rid of them -- either through Joomla itself or by editing the database directly?

Tien


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Mon Apr 18, 2011 4:22 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17396
Location: **Translation Matters**
One has first to make sure that the template style is not used as default or is not assigned to a specific menu item.
This can be seen in the template style manager.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Mon Apr 18, 2011 4:34 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 13, 2006 7:36 pm
Posts: 17
The templates were not assigned to any pages, however Joomla has automatically added '-Default' after the title of every template listed in the Template Manager. Including the ones that are installed with the core.

Am I doing something wrong with my XML that is making all my templates -Default?

I ended up going into the database and manually removing them from the list. So, my issue is somewhat resolved for now. However, I'd like to understand why this is happening so I can prevent it from occurring again.

Thx.


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Mon Apr 18, 2011 8:31 pm 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
That word default is just in the title, you can edit it to change it if you wanr.

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Mon Apr 25, 2011 2:08 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Wed Aug 24, 2005 11:38 am
Posts: 1164
Location: North Carolina
I used jUpgrade to migrate. It pulled over the commercial templates from 1.5 to 1.6. I manually deleted the files, and they do not show in the extension manager. However, they do show in the list of available templates. Any idea what's causing this? I checked for the language files to see if that was it, but they aren't there.

_________________
At Montano Designs™ we are ALL Joomla!™ ALL the time.
My website http://www.montanodesigns.com
Follow me on Twitter https://twitter.com/MontanoDesigns


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Mon Apr 25, 2011 2:16 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Apr 13, 2006 7:36 pm
Posts: 17
Yes, this happened to me as well. I could find no solution, and ended up manually removing them from the database using phpMyAdmin.


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Mon Apr 25, 2011 3:35 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 3:47 pm
Posts: 17396
Location: **Translation Matters**
montano wrote:
I used jUpgrade to migrate. It pulled over the commercial templates from 1.5 to 1.6. I manually deleted the files, and they do not show in the extension manager. However, they do show in the list of available templates. Any idea what's causing this? I checked for the language files to see if that was it, but they aren't there.


Don't know exactly how JUpgrade migrates templates, but if it did and you manually deleted them instead of using the Extension Manager, there can be some stuff remaining in the db.
Look in the __extensions table as well as in the __template_styles table.

_________________
Jean-Marie Simonet / infograf · http://www.info-graf.fr
Multilanguage in 2.5: http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf
---------------------------------
Joomla Translation Coordination Team • Joomla! Production Working Group


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Mon Apr 25, 2011 5:18 pm 
User avatar
Joomla! Ace
Joomla! Ace

Joined: Wed Aug 24, 2005 11:38 am
Posts: 1164
Location: North Carolina
Thanks, that is what I did. They are gone now.

_________________
At Montano Designs™ we are ALL Joomla!™ ALL the time.
My website http://www.montanodesigns.com
Follow me on Twitter https://twitter.com/MontanoDesigns


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Tue May 03, 2011 1:29 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue May 03, 2011 1:25 am
Posts: 3
Quote:
Don't know exactly how JUpgrade migrates templates, but if it did and you manually deleted them instead of using the Extension Manager, there can be some stuff remaining in the db.
Look in the __extensions table as well as in the __template_styles table.


Having the same trouble. Sorry to be such a noob here but can you tell me where to go to edit the: '__extensions table as well as in the __template_styles table' please. Thanks.


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Tue May 03, 2011 1:41 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
You need to go to your database. How you get there will depend on your host.

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Tue May 03, 2011 1:54 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue May 03, 2011 1:25 am
Posts: 3
I have just installed Joomla ver. 1.6.3-Stable. This is my ftp. Any pointers in the right direction?

Image


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Tue May 03, 2011 3:02 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7986
Location: New York
No those are your files, not your database. Please send a support ticket to your host asking how to access your database.

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Tue May 03, 2011 7:31 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue May 03, 2011 1:25 am
Posts: 3
Ok thank you.


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Tue May 31, 2011 8:33 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Mon May 23, 2011 7:37 pm
Posts: 1
Thanks for tip!


Top
 Profile  
 
 Post subject: Re: Deleting Template
PostPosted: Wed Jun 22, 2011 10:55 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sun Jan 13, 2008 1:46 am
Posts: 114
Quote:
Extensions->Extension Manager->Manage->Find Template Name->Uninstall


Thanks!

_________________
Check out my joomla extensions at www.acoolsip.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2  Next



Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group