Addling line or space between article summarys SOLVED!

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
plushett
Posts: 14
Joined: Thu 16. Jun 2005, 02:38
Location: San Francisco, California

Addling line or space between article summarys SOLVED!

Post by plushett »

On the main page i have summary's listed with pictures, my problem is the summarys are to close together. I would like to add a line between summarys, or just increas the space between them.
Last edited by plushett on Sun 19. Jun 2005, 20:39, edited 1 time in total.
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Code: Select all

$template_default["space_between_list"] = '<hr>';
fill in whatever you need there.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
plushett
Posts: 14
Joined: Thu 16. Jun 2005, 02:38
Location: San Francisco, California

wow such fast response you guys rock

Post by plushett »

ok stupid question, where will i place that line of code? in the template following the {content} tag?
and do i place a value in that code to decide the amount of space ?
sorry to ask stupid questions, I am reading as many css books as i can and reading posts here as much as possible also. just getting into these snags once in awhile and getting impatient. hehe again thank you for the super fast response.
plushett
Posts: 14
Joined: Thu 16. Jun 2005, 02:38
Location: San Francisco, California

getting closer:

Post by plushett »

ok so i decided to not be lazy and start searching around and went to the root directory of phpwcms/config/phpwcms/conf.template_default.inc.php
and found that line of code. i put in the <hr> part at the end but no results so far perhaps i have it wrong. and where do i set the <hr> values? for say size and color. I am assuming i would set the hr values in frontend.css
in this area.
.articleSummary {
font-family: Helvetica, Arial, Verdana, sans-serif;
font-size: 11px;
color: #000000;
line-height: 135%;
}

i guess now question would be correct way of adding the hr values in that area.
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

don't know which version of phpwcms you use but try to find out that it works first there for you.

Then use CSS or any other replacement for <hr> there to format your space between article summary listings.

Use any code there like:

Code: Select all

$template_default["space_between_list"] = '<div class="myspacer">any html tag you want to use there too <img src="img/leer.gif" width="1" height="25" alt="my spacer image"></div>';
Search the forum too to get information about general template default you have to set in conf.template_default.inc.php.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
plushett
Posts: 14
Joined: Thu 16. Jun 2005, 02:38
Location: San Francisco, California

thanks

Post by plushett »

thank you very much for your help, im making headway now. been doing more reading and starting to gain a better grasp.
User avatar
Oliver Georgi
Site Admin
Posts: 9900
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

try other values too - this should be the correct you need at the moment.

Code: Select all

$template_default["space_between_sum"] = '<hr>';
Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
plushett
Posts: 14
Joined: Thu 16. Jun 2005, 02:38
Location: San Francisco, California

yep

Post by plushett »

yeah that was it. just found that code, thanks again so very helpfull..now on to my next challenge, hehe. Im really loving phpWCMS its becoming an enjoyable learning experience, and rapidly beoming an obsession tweaking and improving. finding myself waking up thinking about tweaks i want to make. was logged into my admin section before coffee was even ready this morning.
Post Reply