Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-12-20 13:50:19

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

default style sheet

After copying the default style sheet in 4.07, lets say to new_style, the original default style sheet becomes delete-able. Is this intended behavior?

Offline

#2 2008-12-20 14:28:04

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: default style sheet

Style sheets that are not used by any section can be deleted. Just copying the style sheet shouldn’t make a difference.

Last edited by ruud (2008-12-20 14:35:10)

Offline

#3 2008-12-20 15:36:14

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: default style sheet

Oh ok. Just remembered from previous TXP versions it was not possible to delete the default CSS sheet…as far as I remember anyway..

Offline

#4 2008-12-20 19:16:25

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: default style sheet

I think this changed in 4.0.6. Previously a few delete protections where hardcoded even (in this case) the actual default style sheet wasn’t used.

Offline

#5 2008-12-22 12:20:24

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: default style sheet

Mmm. Behaviour is odd. When copying the default page (not style sheet) it is marked as delete-able, but I am not able to delete it using 4.07.

Offline

#6 2008-12-22 12:26:08

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: default style sheet

Copying has no effect at all on being able to delete a page.
What matters is if the page is used by a section or by the front page.http://lists.debian.org/devel.html

Offline

#7 2008-12-22 12:32:11

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: default style sheet

Thats the thing – the default page is not used by any section. Using another page for all sections, including the default section.

On OSX/Safari.

Offline

#8 2008-12-22 13:29:22

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: default style sheet

Fixed in changesets 3053 and 3054

[forgot to thank you in the commit message. Thanks Jonathan!]

Last edited by ruud (2008-12-22 13:30:35)

Offline

Board footer

Powered by FluxBB