|
|
#12 (permalink) |
|
Neuer Benutzer
Registriert seit: 09.04.2010
Ort: zuhause
Beiträge: 21
![]() |
<cc:*> -------------------------------------------------- Web2Date Layout: COLORS Autor: Thomas Müller MultiMüller e.K. featured by arttec grafik - Ihre Business to Business-Werbeagentur im Raum Köln, Bonn, Koblenz, Mainz, Wiesbanden, Frankfurt | Home Datei: paragraph_table.ccml Funktion: Bild -------------------------------------------------- </cc:*> <div class="clearer"></div> <table class="content" width="100%" cellspacing="1"> <cc:loop type="row" obj="myrow"> <cc:if cond="&myrow.number | 2=1"> <cc:if cond="&myrow.header"> <tr class="header"> <cc:else> <tr class="odd"> </cc:if> <cc:else> <tr class="even"> </cc:if> <cc:loop type="col" obj="mycol" row="&myrow.number"> <cc:if cond="&myrow.header"> <td width="<cc:print value="&mycol.width">%" class="headercell" align="<cc:print value="&mycol.align">" valign="top"> <cc:else> <cc:if cond="&mycol.header"> <td width="<cc:print value="&mycol.width">%" class="headercell" align="<cc:print value="&mycol.align">" valign="top"> <cc:else> <td width="<cc:print value="&mycol.width">%" class="cell" align="<cc:print value="&mycol.align">" valign="top"> </cc:if> </cc:if> <cc:if cond="&mycol.picture"> <cc:if cond="&sidebar.count gt 0"> <cc:picture uid="&mycol.picture" obj="tablepic" width="553 * &mycol.width / 100 - 9" suffix="'table'+&mycol.width"> <cc:else> <cc:picture uid="&mycol.picture" obj="tablepic" width="448 * &mycol.width / 100 - 9" suffix="'table'+&mycol.width"> </cc:if> <cc:if cond="&mycol.picture.zoom.isonsite"> <a href="<cc:print value="&mycol.picture.zoom.url">"><cc:printpicture obj="tablepic" suffix="'table'+&mycol.width"></a> </cc:if> <cc:if cond="&mycol.picture.zoom.isoffsite"> <a href="<cc:print value="&mycol.picture.zoom.url">" target="_blank"><cc:printpicture obj="tablepic" suffix="'table'+&mycol.width"></a> </cc:if> <cc:if cond="&mycol.picture.zoom.isnone"> <cc:printpicture obj="tablepic" suffix="'table'+&mycol.width"> </cc:if> <cc:if cond="&mycol.picture.zoom.ispicture"> <cc:picture uid="&mycol.picture.zoom.uid" obj="hugepic"> <a href="<cc:printpictureurl obj="hugepic">" target="_blank"><cc:printpicture obj="tablepic" suffix="'table'+&mycol.width"></a> </cc:if> <cc:if cond="&mycol.picture.zoom.isdownload"> <cc:download uid="&mycol.picture.zoom.uid" obj="mydownload"> <a href="<cc:print value="&mydownload.url">"><cc:printpicture obj="tablepic" suffix="'table'+&mycol.width"></a> </cc:if> <cc:else> <cc:print value="&mycol.text"> </font> habe ich so verändert mit dem textprogramm und gespeichert, leider passiert nichts... ist genauso wie vorher... Gruß Torben |
|
|
|
|
|
#13 (permalink) |
|
Erfahrener Benutzer
Registriert seit: 11.01.2010
Ort: Berlin
Beiträge: 226
![]() |
Hallo lababa,
du hast leider den falschen Wert angepasst. So ist es richtig: <cc:if cond="&mycol.picture"> <cc:if cond="&sidebar.count gt 0"> <cc:picture uid="&mycol.picture" obj="tablepic" width="448 * &mycol.width / 100 - 9" suffix="'table'+&mycol.width"> <cc:else> <cc:picture uid="&mycol.picture" obj="tablepic" width="873 * &mycol.width / 100 - 9" suffix="'table'+&mycol.width"> </cc:if> |
|
|
|
|
|
#15 (permalink) | |
|
Erfahrener Benutzer
|
Zitat:
Was ist daran kompliziert, einen Code abzukopieren? Wenn ich mich nicht täusche, habe ich die Werte von colors genommen ! Aber ich stimme zu: Meine Ansätze sind nichts für Minimalisten.
__________________
Gruß Urmel Und nicht vergessen: "Mittelmaß ist ansteckend"! Validierungs-Tipps für w2d-Templates + valide w2d-Designs. Schon die neuen Features entdeckt? Beispielsweise die Slideshow für einspaltige Bild-Teaser +++ |
|
|
|
|
|
|
#16 (permalink) |
|
Erfahrener Benutzer
Registriert seit: 28.11.2009
Ort: Cottbus/Spreewald
Beiträge: 2.843
![]() |
Urmel, die Original paragraph_table.ccml sieht ein wenig anders aus, wie Du oben angegeben hast (Dein Beispiel bzw. Deine Modulation) oder kann man diesen Ansatz:
Code:
<cc:if cond="&sidebar.count gt 0"> <cc:plugin name="width" value="450"><!--01wenn EINE Sidebar --> <cc:else> <cc:plugin name="width" value="650"><!--07wenn KEINE Sidebar --></cc:if> <div style="text-align:center;"> <table summary="text" class="content" style="width:<cc:print value="&plugin.width">px;"> In der Regel ist der Beginn so: Code:
<table width="100%" class="cells"> <cc:loop type="row" obj="myrow">
__________________
Never change a running system - wenn etwas läuft, soll man nichts ändern. Design-Anpassungen und mehr.... |
|
|
|
|
|
#17 (permalink) |
|
Erfahrener Benutzer
Registriert seit: 22.01.2010
Ort: Nirgendwo
Beiträge: 604
![]() |
@urmel
das hat nichts mit minimalisten zu tun. in der paragraph_table.ccml ist die abfrage schon vorhanden und braucht deshalb nicht erneut eingebaut werden. es sind nur die größen falsch angegeben und diese sollten im original zwischen zeile 38-43 so lauten: <cc:if cond="&mycol.picture"> <cc:if cond="&sidebar.count gt 0"> <cc:picture uid="&mycol.picture" obj="tablepic" width="448 * &mycol.width / 100 - 9" suffix="'table'+&mycol.width"> <cc:else> <cc:picture uid="&mycol.picture" obj="tablepic" width="648 * &mycol.width / 100 - 9" suffix="'table'+&mycol.width"> </cc:if> dann funktioniert das auch mit und ohne sidebar - siehe pics. @urmel, du bist ja schon wieder viel weiter und sprichst hier nicht mehr vom originaldesign. deine abfrage stammt aus einer modifikation von colors. wie ich dich kenne, hast du per property-schalter eine abfrage: sidebar ja/nein+/links/rechts eingebaut und wie zu sehen, das design verbreitert. also ein alleiniger plumper versuch deine designanpassungen zu verkaufen, indem du hier einen knochen in die runde wirfst. Geändert von ontourrh (21.09.2011 um 07:46 Uhr) |
|
|
|
![]() |
| Lesezeichen |
| Stichworte |
| colors, design, reiter, startseite |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Design Colors | Schudo14 | Web to Date 6.0 | 10 | 16.02.2011 19:25 |
| Webtodate 7.0, Design Look, Linie | lemmi2010 | Web to Date 7.0 | 6 | 12.09.2010 13:49 |
| Design Colors - Überschriften im Absatz Aufzählung | handelsdiplomat | Web to Date 6.0 | 3 | 11.09.2010 17:37 |
| Tabellenbreite Design Colors | handelsdiplomat | Web to Date 6.0 | 10 | 01.09.2010 14:30 |
| Im Design Colors die Schriftfarbe der Buttons ändern | Capt.Kirk | Web to Date 6.0 | 12 | 07.04.2010 14:50 |