Recent Topics

1 May 22, 2008 19:48    

My b2evolution Version: 2.4.2

I just installed the Wide series of templates (blue, green, pink) and I really like them...except that it doesn't give me that Admin access bar at the top! I have never experienced this before, so am assuming it's a template glitch and nothing on my end?! I tested blue and green and neither of them have the bar.

Anyone else? Is this easily fixable?

2 May 22, 2008 19:53

Well, let me clarify - it's not on the top of THAT skin, but once I go to another tab (another blog) and login to the admin stuff there, I can switch to that blog to get to the admin stuff. But it's just not accessible via the front page of that template.

3 May 22, 2008 22:06

You are absolutely right, seems like author forgot to include it. This is what you can do

1. Remove file _html_header.inc.php from skin folder.
2. Add this to the very top of the style.css

/*
 * Evo Toolbar
 * Note: ther emay be some properties that seem overkill but the fact is we need to override
 * any too general styles a skin may want to bring in for its own body/general display.
 */
div#evo_toolbar {
	background-color: ThreeDFace;
	color: ButtonText;
	border-top: 1px solid ThreeDHighlight;
	border-bottom: 1px solid ThreeDShadow;
	text-align: left;
	margin: 0;
	/* font: menu; /* -- poorly supported */
	font-size: 11px;
	font-family: "Microsoft sans serif", sans-serif, Arial, Helvetica;

	position: fixed;
	z-index: 99;
	left: 0px;
	top: 0px;
	height: 21px;
	width:100%;		/* Safari Windows */
	-webkit-text-size-adjust: none; /* iPhone */
}

div.skin_wrapper_loggedin {
	margin-top: 22px;
	padding-top: 1px;
}

div#evo_toolbar a {
	border: 1px solid ThreeDFace;
	color: ButtonText;
	text-decoration: none;
	padding: 2px 1ex;
}
div#evo_toolbar a:hover {
	border-top-color: ThreeDHighlight;
	border-left-color: ThreeDHighlight;
	border-bottom-color: ThreeDShadow;
	border-right-color: ThreeDShadow;
}
div#evo_toolbar .actions_left {
	padding: 4px;
}
div#evo_toolbar .actions_right {
	padding: 4px;
	float: right;
}

div#evo_toolbar ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
div#evo_toolbar li {
  display: inline;
}
div#evo_toolbar li ul {
  position: absolute;
	z-index: 100;
	background-color: ThreeDFace;
	border: 1px solid;
	padding: 1px;
	border-top-color: ThreeDHighlight;
	border-left-color: ThreeDHighlight;
	border-bottom-color: ThreeDShadow;
	border-right-color: ThreeDShadow;
	width: 25ex; /* prevent page wide dropdowns in IE6; nicer hover in IE7 */
}
div#evo_toolbar li.menu_open ul {
	display: block;
}
div#evo_toolbar li.menu_close ul {
	display: none;
}
div#evo_toolbar li.menu_open:hover ul,
div#evo_toolbar li.menu_close:hover ul {
	display: block;
}
div#evo_toolbar li ul li {
	display: block;
	padding: 0 4ex 0 0;
	white-space: nowrap;
}
div#evo_toolbar li ul li a {
	display: block;
	padding: 4px 2ex;
	border: none;
	width: 100%;
}
div#evo_toolbar li ul li a:hover {
	background-color: Highlight;
	color: HighlightText;
}
div#evo_toolbar.evo_toolbar_safari li ul li a:hover {
	background-color: #36d;
}
div#evo_toolbar li.separator {
	padding: 0;
}
div#evo_toolbar hr {
	display: block;
}

div#evo_toolbar .time {
	margin: 0 1ex;
	color: GrayText;
}

3. Add this to the bottom of the style.css

#evo_toolbar ul li,
#evo_toolbar ol li {
	margin-left: 0;
}

4 May 22, 2008 22:08

Thanks! I will try that this weekend (or tomorrow at work if I'm not busy)! :)

5 May 23, 2008 18:12

sam2kb wrote:

You are absolutely right, seems like author forgot to include it. ...

Or chose to leave it out.

When I was trying to play with skins I found that leaving the admin bar out of the public side makes things a heck of a lot easier. I gave up on any and all skins work, but yeah sometimes a skin author will leave bits out that others might think belong there. Given that having a link to the back office in the sidebar means you are one click away from the toolbar why bother having the toolbar on the public side?

OR the author just forgot ;)


Form is loading...