Needs review
Project:
Omega
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Anonymous (not verified)
Created:
19 Sep 2011 at 21:52 UTC
Updated:
8 Dec 2023 at 04:32 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
himerus commented+1 Love the idea
Moving to the Delta issue queue
Comment #2
Anonymous (not verified) commentedCellar-door has working code for this that he will submit as a patch soon.
Comment #3
cellar door commentedI've patched the debugging options in Alpha/Omega to hook for Delta and also display the css the site is on. I'll wrap into patch and post when ready.
Comment #4
cellar door commentedHere is the patch file. Should test out ok, already had a couple in IRC look it over. Enjoy!
Comment #5
cellar door commentedComment #6
cellar door commentedI need to roll the patch with git for easier application but let me know if there's anything that needs to be changed here. I've seen a few requests from the IRC to get this into debugging. One thing it'll need is an official image off the one's you have himerus for the side tabs.
Comment #7
cellar door commentedOk re-rolled the patch off of 7.3.1 and this time in git. It relies on a .png I added (but a new one will need to be authored by himerus to make it match 100%). This is my first git patch so let me know how it goes...
Comment #9
cellar door commentedDon't know why my patch if failing, if anyone has an idea please let me know. Here's another shot at it. You'll need the image file in order for it to work properly.
Comment #10
cellar door commentedComment #12
cellar door commentedOk try again.... I'll get this patch thing one day!
Comment #13
cellar door commentedComment #15
cellar door commentedAlright I re-rolled the patch. Hopeuflly this time it works. I've also included the file that is necessary for the tab. Hopefully this works!
Comment #16
cellar door commentedforgot to mention, the image goes into the omega/alpha/images/ directory for things to work.
Comment #17
marcoka commentedtested and works so far. i will retest when the modifications are added we discussed @irc.
Comment #18
cellar door commentedAfter the first round of testing we found that the status bar was covered in chrome and the requirement for the mediaquery library wasn't apparent so I made some minor tweaks.
Comment #19
Kendall Totten commentedThis is an older issue but @banghouse referred me here to note the solution that I use. It's not specific to only delta, it's more of a context rule-of-thumb but it works.
I apply my delta templates as context reactions and I also add the "Theme HTML" as a context reaction. Theme HTML allows you to add body classes to the DOM, so I simply add a body class that matches the name of the context/delta template. That way when I use web inspector to look at the page, I can check the body classes to be sure the right context/delta template is being applied.
This also comes in handy for theming, since you may want to change a background color of a sidebar, but only when it's the skinny sidebar, "delta template X" for example. You can use that body class as part of your css selector, like