Add some type of identifying information on the site pages that will let us know what delta is being applied to the current view. As per irc discussion with fubhy.

Comments

himerus’s picture

Project: Omega » Delta
Component: Feature Request » Code

+1 Love the idea

Moving to the Delta issue queue

Anonymous’s picture

Cellar-door has working code for this that he will submit as a patch soon.

cellar door’s picture

Project: Delta » Omega

I'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.

cellar door’s picture

StatusFileSize
new11.05 KB

Here is the patch file. Should test out ok, already had a couple in IRC look it over. Enjoy!

cellar door’s picture

Status: Active » Needs review
cellar door’s picture

Assigned: Unassigned » himerus

I 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.

cellar door’s picture

StatusFileSize
new6.4 KB
new3.66 KB

Ok 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...

Status: Needs review » Needs work

The last submitted patch, omega-debugstatus-1284428-4.patch, failed testing.

cellar door’s picture

StatusFileSize
new3.66 KB
new6.21 KB

Don'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.

cellar door’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, Omega-DebugStatus-1284428-9.patch, failed testing.

cellar door’s picture

StatusFileSize
new6.21 KB

Ok try again.... I'll get this patch thing one day!

cellar door’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, omega-debug_bar.patch, failed testing.

cellar door’s picture

Status: Needs work » Needs review
StatusFileSize
new3.66 KB
new6.18 KB

Alright 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!

cellar door’s picture

forgot to mention, the image goes into the omega/alpha/images/ directory for things to work.

marcoka’s picture

tested and works so far. i will retest when the modifications are added we discussed @irc.

cellar door’s picture

StatusFileSize
new6.31 KB

After 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.

Kendall Totten’s picture

This 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

.context-delta-sidebar-left .region-sidebar-first {
background: #333;
}