Loading...
 
Skip to main content

Themes


Problem updating CSS in Styles - v 2.0

I made a copy of subsilver, call it subsilver-admin. When I select it for my site, it displays properly. When I try to edit this copy, this happens:

1. Edit one color, save
- site goes whacko in overall appearance

2. Make no change, save, go back to edit css
- css edit window has no content - all white

3. Do same for existing style (not -admin), get same result as 2.


I need to be able to modify subsilver-admin. Any help with this would be appreciated.

Thanks!

Download the file (from the /styles directory of your Tiki site) and edit it locally, then ftp it back. (I haven't used the Tiki CSS edit feature in quite a while so don't know how it works these days. I do all Tiki-related file editing on my local computer and then update with ftp.)

-- Gary (checking out Google's Chrome browser 😊)

Thanks for input. What you described is the procedure I follow. I just repeated it to make sure and got the same results as the original posting. This is from a Fantastico install at Siteground, which otherwise seems to be ok.

About your points,

1. What css file is the page using? You can check the css link by looking at the page source. Sometimes after a CSS file change or theme change, the refreshed page will show parts of more than one theme until the Tiki caches are flushed. You could trying flusing the caches after making an edit (using the Exterminator on the Tiki Cache/Sys Admin page.

2. If you are editing locally (by that I mean using an application on your computer, not in the browser), what do you mean by "css edit window"? What editor do you use?

A white screen can result from saving a template file with character encoding other than utf-8, but I don't think this is an issue for style sheets.

-- Gary

I'm using the "Edit CSS" function link from the "Look and Feel" page. It's the window there that turns white.

I appreciate the info on the flush, however, this procedure was working without any difficulty on 1.9, and it doesn't seem like it should require this much rigamarole if it's a mature feature, so I'm wondering wassup?

So, I've got a parallel site at another hoster, and that one was just broken, and I suspected that I bunged it up attempting to copy it...so I reinstalled it manually, and, voila, the problem did not occur.

So then I went back to siteground, and re-checked my two fantastico installs there, and the problem was still there (just needing to make sure I was seeing what I was seeing).

So I'm going to manually install at siteground, and see if that resolves it.

Preliminary Diagnosis: two different, funky installs of 2.0.

Hm, earlier I mentioned editing the CSS file locally. That isn't using the "Edit CSS" link. Local editing is downloading the CSS file, editing it in a text editor or CSS editor, and uploading it back to the site. You can do that if "Edit CSS" isn't working right and you need to make the theme changes.

I haven't used Edit CSS in a long time so haven't kept track of how it works. It's a mature feature but may have been tweeked or affected by other code changes and a regressive bug introduced. A bug report should be filed at dev.tikiwiki.org. In the meantime, CSS files can be modified using ftp and an editor on your PC.

-- Gary


I just experienced a similar problem.
In the Edit style sheet, I did edit tikineat, changed one colour, and saved. After saving, either trying to display or use the CSS shows that the tikineat.css is currupted / no more working at all.
The bad thing is that editing -thus corrupting - existing CSS is not forbiden (whereas is is said it won't work)
In general, any CSS that is saved from the Edit style sheet does not work.*

Frederic

The strange thing is that 2.0 operates the edit function correctly on another site, with exactly the same FTP upload. That points to an infrastructure issue, and since you're a third instance, perhaps a build of linux/apache/whoknowswhat, as opposed to a hardware glitch at a facility (end of technical competence...) I've given the site that gets the error (siteground) all the details, and I'll report what they find.

Unfortunately, I was unable to resolve the problem on siteground. They said they could do editing from where they sat. However, I couldn't get it to work, even though I tried both IE7 and Firefox 3.0 on two different machines, and changed the domain name for the site.

Siteground support, I must report, then abandoned the chase, saying that it was an application issue, not in their scope.

So, I gave up on Siteground, and moved 100% to HostMySite, which is either much more expensive or a minor increment of additional cost, depending on your budget perspective. HostMySite has fabulous customer service, though, and doesn't have the edit problem in TW 2.0, so I can now get on with my work instead of debugging the cloud.

The residual frustration, fast fading, is that I coudn't get around the problem at siteground, which may have been caused by some difference in their internal path to the server, and my external path in. So it's left with mysteries, business models and a hmph!

Until more reports are in from people using Siteground, it's hard to say whether it is an issue with their servers generally or with a particular installation. At a site I have with another hosting company, stylesheets saved with Edit CSS were blank — 0 bytes; I filed a bug report.

As for moving your site because of this problem, I'm curious just how important it is to you to edit CSS files via Tiki's interface? Is this a feature that is important for you to offer your site users? If the editing is limited to you or other trusted site admins, it can be done locally and the stylesheets uploaded, so Edit CSS isn't involved.

-- Gary