Custom CSS values which overrides chosen CSS (and are kept in database to be future-proof)
- Status
- Closed
- Subject
- Custom CSS values which overrides chosen CSS (and are kept in database to be future-proof)
- Version
- 4.x
- Category
- Feature request
- Feature
- Theme: Look & feel, Styles, CSS, Theme Control Center
Profile Manager - Resolution status
- Fixed or Solved
- Submitted by
- Marc Laporte
- Volunteered to solve
- Jonny Bradley
- Lastmod by
- Marc Laporte
- Rating
- Description
I pick one of the themes included in Tiki (Codex.css for example). It is almost perfect for my needs. I would like to make a few modifications, which are not appropriate to share with the Tiki project.
A- If I edit the styles/codex.css, I will have to redo my change again at each upgrade.
B- If I duplicate styles/codex.css to styles/mycustomtheme.css, I will not be taking advantage of any future enhancements to the theme.It is not possible to put CSS information as Custom code in Site Identity.
The other benefit is to distribute css adjustments via profiles, like:
http://profiles.tikiwiki.org/site_width1- Smarty doesn't like the curly brackets used in CSS. {literal} bla bla {/literal} could be used to get around this
2- It is not in <head> </head>I jsut tested by putting the code below as Custom code in Site Identity and it works 😊
Copy to clipboard{literal} <style type="text/css"> body { background-color: blue; } p { color: yellow; } </style> {/literal}
Entering CSS "as-is" with curly brackets in Site Identity and having it render as internal CSS could be a solution.
http://www.tizag.com/cssT/internal.phpor maybe a custom.css should be maintained, and cached from this data.
Related:
http://dev.tikiwiki.org/tiki-view_tracker_item.php?itemId=1014
http://dev.tikiwiki.org/tiki-view_tracker_item.php?itemId=1178- Solution
For 4.0, we have custom head code now.
Custom CSS and Custom JS fields in Tiki5- Workaround
In Tiki 3.0:
http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki?view=rev&revision=17331- Importance
- 9 high
- Priority
- 45
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 1320
- Created
- Sunday 19 August, 2007 13:51:37 UTC
by Unknown - LastModif
- Sunday 02 May, 2010 09:21:53 UTC