Is it possible to put the sliding region to the default theme, so I can switch back to admin pages by using a link from the sliding region?
right now I have to leave an administer link in one of the blocks of the homepage theme to switch to admin theme/RootCandy.

Right now I'm torn between "admin" and "rootcandy", but I like root candy better, because it doesn't steal my custom blocks ;)

Comments

maulwuff’s picture

Title: Show RootCandy bar on default theme » Show RootCandy slider on main theme

"admin" module demands me to put

<?php if (!empty($admin)) print $admin; ?>

right after the body tag to get the admin-bar shown. Would there be an similar approach for root candy?

sign’s picture

Category: support » feature

no, there is no simple way how to do this with rc right now, but it might be a good feature actually

maulwuff’s picture

StatusFileSize
new7.96 KB

I've built a small module adapted from the admin module, which adds the slider to the main theme.
Would you mind maintaining this module? I can do it, too, but it's very dependent on rootcandy development.

Right now all slider parts are doubled (panel html, css, panel images). At first I thought, that's not good at all, but it leaves the user free to modify the slider when displayed on the main theme. I.e. it makes no sense to overlap the content of the page (position:absolute), if the slider is only visible when scrolled to the top. So I switched it to position:relative, but inside rootcandy it's still position:absolute. ;)

maulwuff’s picture

StatusFileSize
new15.09 KB

small screenshot showing rootcandySlider on multiflex3

maulwuff’s picture

StatusFileSize
new8.1 KB

this is a modified version to support regions in slider.
see #504370: Add regions to slider

maulwuff’s picture

Status: Active » Needs review
maulwuff’s picture

StatusFileSize
new8.12 KB

support rootcandy dark and rootcandy fixed, too.

sign’s picture

again thank you!

wandering now, whether to place it into rootcandy contrib dir within this theme, or whether you should create a module contrib out of it? what are your thoughts?

maulwuff’s picture

Version: 6.x-1.5 » 6.x-1.6

I'm undecided ;)
It's easier for users to have a single package where everything is put in. But: I don't know if sites/all/themes/rootcandy/contrib/rootcandyslider will get recognized. On the other hand, there is some effort needed to get it working, because users have to modify their page.tpl.php to see the slider. Therefore they have to read the readme and copy the slider from rootcandy/contrib to sites/all/modules. So no real win of comfort.

A own module would be the clean way, but it's very dependant on rootcandy. I've seen that while implementing the addidtional regions. :)

I can't believe that this is such a hard decision *g*

sign’s picture

It is indeed :)
I would suggest to make a module out of it? I'll link to it from rootcandy page and mention it on handbook page and so on.

Most of the people don't read README files btw. :)

maulwuff’s picture

allright, that seems to be the clean way.

sign’s picture

hi maulwuff,
how far did you get with this? :)

maulwuff’s picture

oh I thought you would create it, as you are the rootcandy maintainer.

ghosty’s picture

I like that you are using the slider in your main theme, but is there a way to include the menu with the icons in the main theme? Same kind of concept, but I guess this would have to be a module. What do you guys think?

sign’s picture

Version: 6.x-1.6 » 6.x-1.x-dev
Status: Needs review » Fixed

Ok, finally had time to spend some time on this and here it is.

http://drupal.org/project/rootcandy_header

I am marking this as fixed now... all other issues should go into the rootcandy_header issue queue if they are related

@ghosty ^^ - but I doubt your idea will happen tho.

ghosty’s picture

I actually created my own module that shows the menu with the icons, so I'm all good now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.