Page 1 of 1
[SOLVED][How get the red Login Field when using CSS
Posted: Fri 25. Feb 2005, 17:42
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;">';
Posted: Tue 1. Mar 2005, 18:34
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?
Posted: Tue 1. Mar 2005, 18:38
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
Posted: Tue 1. Mar 2005, 18:54
by dpajevic
Do you know how to turn it off?
Posted: Tue 1. Mar 2005, 20:48
by pico
why turn it off?
you see it only when you locked in in the Backend on your Computer
Posted: Tue 1. Mar 2005, 21:48
by dpajevic
Ah ... I get it. Thanks.
Posted: Wed 2. Mar 2005, 05:36
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?
Posted: Wed 2. Mar 2005, 07:51
by pico
- I think that this is for previewing Articles by the Author in Frontend wich are not Public in the Moment