Loading...
 
Skip to main content

Features / Usability


Great weirdness using stylesheets

posts: 104 France

A strange and weird tale... trying to play with the bluegreen.css style sheet to change the colour displays a little.

  1. I install Tiki 1.7.7 from scratch
  2. I enter as admin and enable Categories in General Features, just to make sure it works
  3. I change the stylesheet to bluegreen.css
  4. I modify one line in bluegreen.css (using WordPad) to read: TD#centercolumn { padding-right: 2px; background: #FFFFFF; vertical-align: top; } (ie centercolumn should be white not grey-green)
  5. I go to General Features and enable Articles
  6. I go to "Home": the Articles menu appears
  7. I click on "Articles" - I get the message "this feature is disabled", articles menu has disappeared
  8. Back to general features - and indeed "Articles" is no longer enabled
  9. Try it again three times to make sure I didn't make a mistake: no mistake.
  10. Delete the modified bluegreen.css and replace it with the original
  11. Back to home and refresh the page to make sure new css is in place: colours back to normal
  12. Now I can't enable anything ever again - same topo as before, even if I change the stylesheet used.


My understanding was that stylesheets and Tiki were supposed to separate presentation from content: apparently this is catastrophically not the case! What on earth is happening that merely changing the colour in the stylesheet should have such a drastic effect?

The only way out of this I have found is to delete everything and start again.

Whoops! Silly me! Tried again after enabling stylesheet and template modification, then doing the same edit using the built-in editor in Tiki. It seems to work. Bizarre though, nonetheless

There are no comments at this time.