Graphic element between articles
Graphic element between articles
Hi there,
on some phpwcms-sites, I found a nice graphik element, like a 'Balken' between articles. I´d love it to have such a feature, too. Any ideas? ThankY
on some phpwcms-sites, I found a nice graphik element, like a 'Balken' between articles. I´d love it to have such a feature, too. Any ideas? ThankY
-
Pappnase
hello
use an image content part or the {IMAGE:xxx.ext} replacement tag
http://www.phpwcms-docu.de/grafik_tags.phtml
use an image content part or the {IMAGE:xxx.ext} replacement tag
http://www.phpwcms-docu.de/grafik_tags.phtml
Or you can get a rule via CSS between the articles when a list of articles is displayed:
Code: Select all
.articleList {
border-bottom: 1px dotted #6666CC;
padding-top: 10px;
padding-bottom: 10px;
}
Hmmm, I tried this - nothing happened.
Code: Select all
.articleList {
border-bottom: 1px dotted #6666CC;
padding-top: 10px;
padding-bottom: 10px;
}-
Jakim José
- Posts: 77
- Joined: Fri 18. Feb 2005, 18:55
- Location: Portugal/Aveiro
nitrojunk:nitrojunk wrote:Hmmm, I tried this - nothing happened.
Code: Select all
.articleList { border-bottom: 1px dotted #6666CC; padding-top: 10px; padding-bottom: 10px; }
You need to add a css style in the phpwcms_template\inc_css\frontend.css directory.
There, insert the code above and save the css file.
Then, add the next code in article:
Code: Select all
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
<TD width="100%" class="articleList">
</TD>
</TR>
</TABLE>or simply, insert (without css styles):
Code: Select all
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
<TD colspan="2"><hr></TD>
</TR>
</TABLE>the quick and better way
if you want to do it as mentiont above -well
but her its the one time setup
Iam lazy so i think you too?
the other code above is sticky code! the class or tables must be pasted each time into your articles content parts -same with this odd image replacement tag you ever have to do it for each entry ... iam lazy not a fool !
i think to type this shit menation above for each article sux ..man we do day biz !
Hint to the MASTER OF DESASTER . olli pleases let us copy an article with all contenparts in the backend soon! thanks !
ok here my lazy dude 2 step solution
A#############################################
open the file include/inc_conf/conf.template_default.inc.php
and put <hr> for the listentry
##############################################
you got aline after each articel ..now let it design in css -youcan use a image link there instead a hr if you like a article splitting snake there
B#############################################
open your css phpwcms_template/inc_css/frontend.css
setup a rule for the hr
#############################################
so you never has to care about a hr/line after all article in place or any kind of class information
this is a cms or?
i dont wanna repeat stuff for each article thats why itz called cms -
iam right ?
yes iam
so dude be lazy !
but her its the one time setup
Iam lazy so i think you too?
the other code above is sticky code! the class or tables must be pasted each time into your articles content parts -same with this odd image replacement tag you ever have to do it for each entry ... iam lazy not a fool !
i think to type this shit menation above for each article sux ..man we do day biz !
Hint to the MASTER OF DESASTER . olli pleases let us copy an article with all contenparts in the backend soon! thanks !
ok here my lazy dude 2 step solution
A#############################################
open the file include/inc_conf/conf.template_default.inc.php
and put <hr> for the listentry
Code: Select all
$template_default["top_listentry_after"] = "<hr>";
you got aline after each articel ..now let it design in css -youcan use a image link there instead a hr if you like a article splitting snake there
B#############################################
open your css phpwcms_template/inc_css/frontend.css
setup a rule for the hr
Code: Select all
hr{ background-color:#eee; /* Mozilla 1.4 */
color:#eee; /* IE 6 */
border: #eee; /* Opera 7.11 */
height: 2px; /* in Opera für die Anzeige nötig, in Mozilla für die einheitliche Höhe */
border-bottom-style: dashed;}so you never has to care about a hr/line after all article in place or any kind of class information
this is a cms or?
i dont wanna repeat stuff for each article thats why itz called cms -
iam right ?
yes iam
so dude be lazy !