Abstand Artikeltitel und Untertitel
Posted: Wed 1. Feb 2006, 11:47
- wo kann man den verändern?
The phpwcms support forum will help to find answers to your questions. The small but strong community is here since more than 10 years.
https://forum.phpwcms.org/
versteh' ich nicht ganz, meine Frage lautete:pico wrote:...meine Glaskugel ist in Reperatur
da sieht es so aus:pico wrote:...schau Dir mal die Klassen h1 und h3 in der frontend.css an
Code: Select all
.articleHead, .articleList_tophead, h1, h2 {
font-weight: bold;
font-size: 15px;
font-family: "Arial Narrow", "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
text-decoration: none;
line-height : 120%;
color : #000000;
margin-bottom: 0px;
margin-top: 0px;
}
.articleSubHead, .articleList_topsubhead, h3, h4 {
font-family: Helvetica, Arial, sans-serif;
font-size: 13px;
font-weight: bold;
color: #6D7983;
line-height: 110%;
margin-bottom: 0px;
margin-top: 0px;
}
Code: Select all
line-height:
Danke, damit kommen wir der Sache schon näher, aber das ist immer noch nicht das, was ich suche, denn es wirkt sich nur im Artikel selber aus.pico wrote:Code: Select all
line-height:
Und ich dachte, man sieht an dem Bild (">> mehr"), worum es sich handeltpepe wrote:Handelt es sich dabei z.B. um den Ausschnitt eines
Artikellistings
oder einer
"normalen" Artikeldarstelung ???
Dann schau dir mal die Datei an, die für das Aussehen des Listings zuständig ist, wenn du die in der Artikelbasisinformation einbindest:<!--
sample template for article summary listing
===========================================
TITLE = article title
SUB = article subtitle
SUMMARY = article summary text
IMAGE = summary image (only the <img src="..."> tag)
ZOOMIMAGE = if the image is click-zoomable (<a href...><img...></a>)
CAPTION = summary image caption
ARTICLELINK = url to full article
MORE = the "more..." text/image like defined in template_defaults
BEFORE = show before listing entry
AFTER = show after listing entry
SPACE = show this between listings
DATE = show article date {DATE:FORMAT:LANG} or {DATE:FORMAT}
EDITOR = name of editor
ARTICLEID = ID of list entry
//-->
[SPACE]<hr>[/SPACE]
<div>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td width="150" valign="top">
[IMAGE]<div><a href="{ARTICLELINK}">{IMAGE}</a></div>[/IMAGE]
[CAPTION]<div align="center">{CAPTION}</div>[/CAPTION]
</td>
<td width="10"><img src="img/leer.gif" border="0" width="10" height="1" alt=""></td>
<td width="98%" valign="top">
[TITLE]<h1 style="margin:0 0 5px 0;">{TITLE}</h1>[/TITLE]
[SUB]<h3 style="margin:0 0 5px 0;">{SUB}</h3>[/SUB]
[SUMMARY]<p style="margin:0"><strong>{DATE:F:DE}</strong> {SUMMARY}</p>[/SUMMARY]
[MORE]<a href="{ARTICLELINK}">{MORE}</a>[/MORE]
</td>
</tr>
</table>
</div>
Und die Suche führt zu dem Ergebnis, dass es doch nicht gehtpepe wrote:Ja... wie's geht, findest du hier im Forum...
Wo ???? SUCHEN
Code: Select all
my workaround for this issue is to add "default.tmpl" to line 170 of
Alte Version
phpwcms/inc_cntpart/articlesummary/article/article.editsummary.tmpl.php
Neue Version
include/inc_tmpl/article.editsummary.tmpl.php
Code:
echo '<option value="default.tmpl"'.$vals.'>'.$BL['be_cnt_default']."</option>\n";
------------
it automatically assigns default.tmpl to the article summary of all newly created articles as if it were selected by hand - you must have a default.tmpl within
phpwcms/inc_cntpart/articlesummary/article/ too...
It does mean that you will need to 'touch' each existing articles summary to correct the database go into the article summary then save - no editing required)
the fix is the same for the "articlesummary list" too...
line 152 of the same file
Code:
echo '<option value="default.tmpl"'.$vals.'>'.$BL['be_cnt_default']."</option>\n";
------------
ps: i use .htm so that dreamweaver shows me pretty coloured syntax