Hallo Zusammen das tönt alles vielversprechend. Ich bin ein contenido-neuling und mache meine ersten gehversuche. Soweit ok, find das System cool.
Haupsächlich mach ich eigentlich design von Seiten und nicht das programieren. Egal, mit contenido ist ja auch das keine Hexerei

. Nun zu meinem eigentlichen Post.
Wenn Ihr schon diskutiert über CI usw, gibts da noch etwas was ich anfügen möchte. Nicht jeder Browser interpretiert das CSS auch gleich (ist ja nix neues). Desshalb sollte man von einem Style auch verschiedene Configs für verschiedene Browser machen können. (Jaja, der Typ verlangt viel). Weil ich nicht einfach so Poste, hier noch eine kleine inspiration.
Für Seiten die ich bis jetzt gebastelt hatte, habe ich das CSS dynamisch nach Client generiert. Das sah in etwa so aus: anstatt eine normale CSS File zu machen, habe ich ein css/php inluded, das sah so aus:
//////////////////////////////////////////////////////////////////////
filename : mystyle.inc.php
//////////////////////////////////////////////////////////////////////
<?php
if (eregi("MSIE",getenv("HTTP_USER_AGENT")))
{
// Internet Explorer
echo "body { font-family: Verdana, Tahoma, Arial; font-size: 10pt; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; color: #000000}";
echo "table { font-family: Verdana, Tahoma, Arial; font-size: 10pt; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; color: #000000; background-attachment: fixed; text-decoration: none}";
echo "a { font-family: Verdana, Tahoma, Arial; font-size: 10pt; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; color: #333333; background-attachment: fixed; text-decoration: underline}";
echo "a:hover { font-family: Verdana, Tahoma, Arial; font-size: 10pt; font-style: normal; line-height: normal; font-weight: normal; font-variant: normal; color: #006699; background-attachment: fixed; text-decoration: underline }";
echo "INPUT { border-color:#707070; border-width:1; border-style:solid:}";
echo "SELECT { border-color:#707070; border-width:1; border-style:solid:}";
echo "TEXTAREA { border-color:#707070; border-width:1; border-style:solid:};";
}
elseif (eregi("NS",getenv("HTTP_USER_AGENT")))
{
// Netscape Navighettor
echo "p {font-family: Verdana font-size: 12px; color: red;} ";
}
?>
Ich hab das mal Versucht in ein Contenido-Template einzubauen. Es scheitert aber irgendwie an der Syntax
So lässt eine ganz saubere config machen für X-Browser.
Das lässt sich vielleicht irgendwie in Contenido miteinbauen. Wär doch die *Creme de la Creme* ?