Graphic element between articles

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
nitrojunk
Posts: 22
Joined: Fri 4. Mar 2005, 00:16

Graphic element between articles

Post by nitrojunk »

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
Pappnase

Post by Pappnase »

hello

use an image content part or the {IMAGE:xxx.ext} replacement tag

http://www.phpwcms-docu.de/grafik_tags.phtml
spirelli
Posts: 996
Joined: Tue 27. Jul 2004, 13:37
Location: London

Post by spirelli »

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;
}
nitrojunk
Posts: 22
Joined: Fri 4. Mar 2005, 00:16

Post by nitrojunk »

Moin & ThankY!

..... does there exist a css-style-trick to get the same result between contentparts?
nitrojunk
Posts: 22
Joined: Fri 4. Mar 2005, 00:16

Post by nitrojunk »

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

Post by Jakim José »

nitrojunk wrote:Hmmm, I tried this - nothing happened.

Code: Select all

.articleList { 
   border-bottom: 1px dotted #6666CC; 
   padding-top: 10px; 
   padding-bottom: 10px; 
}
nitrojunk:

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">&nbsp;
    </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>
artisan
Posts: 9
Joined: Sun 6. Mar 2005, 23:13
Contact:

the quick and better way

Post by artisan »

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

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 !
Post Reply