[SOLVED][How get the red Login Field when using CSS

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

[SOLVED][How get the red Login Field when using CSS

Post by pico »

when I use a Table Layout I can see a red Field on the left Side with Username thats OK

but when I use CSS Div this is not shown - what and where I have to insert a Code or CSS-Class for that :?:

EDIT

found it - it was just out of the visible Area

must edit in index.php the position in Line 125

Code: Select all

$content['page_end']  = '<div id="VisualMODE" style="position:absolute;left:5px;bottom:45px;padding:5px;z-index:1;background-color:#FF3300;color:#FFFFFF;border:1px solid #000000;">';
Last edited by pico on Thu 3. Mar 2005, 08:09, edited 1 time in total.
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
dpajevic
Posts: 32
Joined: Mon 31. Jan 2005, 17:39
Location: Boulder, Colorado USA

Post by dpajevic »

in index.php I found this on line 124. I'm not sure where this mode is actually set? Is it something I only see, or the public sees as well?

Code: Select all

if(VISIBLE_MODE == 1 || VISIBLE_MODE == 2) {
		$content['page_end']  = '<div id="VisualMODE" style="position:absolute;left:5px;bottom:5px;padding:5px;z-index:1;background-color:#FF3300;color:#FFFFFF;border:1px solid #000000;">';
		$content['page_end'] .= VISIBLE_MODE == 1 ? 'user: ' : 'admin: ';
		$content['page_end'] .= html_specialchars($_SESSION['wcs_user']);
		$content['page_end'] .= "</div>\n</body>\n</html>";
	} else {
		$content['page_end'] = "</body>\n</html>";
	}
I guess I don't understand how to use VISIBLE_MODE?
Last edited by dpajevic on Tue 1. Mar 2005, 18:39, edited 1 time in total.
Dean
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

thanx

I've seen this too - but I'm not know how to handle it withh CSS-Layout -
maybe it's not ready now
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
dpajevic
Posts: 32
Joined: Mon 31. Jan 2005, 17:39
Location: Boulder, Colorado USA

Post by dpajevic »

Do you know how to turn it off?
Dean
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

why turn it off?

you see it only when you locked in in the Backend on your Computer
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
dpajevic
Posts: 32
Joined: Mon 31. Jan 2005, 17:39
Location: Boulder, Colorado USA

Post by dpajevic »

Ah ... I get it. Thanks.

:)
Dean
Ben
Posts: 558
Joined: Wed 14. Jan 2004, 08:05
Location: Atlanta
Contact:

Post by Ben »

I think it's something that OG has in preparation for making it easier to view the site from the frontend and make changes directly from it w/ out having to go back to the admin section. Anyone else know for sure?
User avatar
pico
Posts: 2595
Joined: Wed 28. Jul 2004, 18:04
Location: Frankfurt/M Germany
Contact:

Post by pico »

- I think that this is for previewing Articles by the Author in Frontend wich are not Public in the Moment
Lieber Gott gib mir Geduld - ABER BEEIL DICH
Horst - find me at Musiker-Board
Post Reply