TinyPortal

Development => Support => Topic started by: keith021773 on June 24, 2008, 03:17:18 AM

Title: Help with list of articles.
Post by: keith021773 on June 24, 2008, 03:17:18 AM
Hey all..     I have a quick question that I hope someone can help me with..

I place a right side block with a list of articles that I have..       I was wanting to know if there was anyway that I could put a line space between the names of the different articles..      I will post a pic..   

Thanks in advance as always....

www.daddyplace.com
SMF version: 1.1.4
TP version: 0.9.8
Theme name and version: Custom theme made by bloc
Title: Re: Help with list of articles.
Post by: Ken. on June 24, 2008, 03:21:30 AM
Depending on the code that you are using in your block you should be able to use a "br" command.

For html it would be:
<br>

EDIT: You can also place a line for separating the links... "hr"
Title: Re: Help with list of articles.
Post by: keith021773 on June 24, 2008, 03:28:23 AM
I'm using an "article catagory" type of block to list the articles..   Is there a file that I need to edit to place that into?
Title: Re: Help with list of articles.
Post by: Ken. on June 24, 2008, 03:31:14 AM
Take a look at the posting guidelines Keith and modify your first post so that we know what versions you have.
Thanks.
Title: Re: Help with list of articles.
Post by: keith021773 on June 24, 2008, 11:33:10 AM
Ok..  Done..   Thanks.
Title: Re: Help with list of articles.
Post by: IchBin on June 24, 2008, 05:39:10 PM
In the Themes/default/TPortalBlocks.template.php file scroll all the way to the bottom. The last function is for the category block. You'll noticed a < br /> in there that makes each link on its own line. Add an additional br tag to it to get an extra line between each link.
Title: Re: Help with list of articles.
Post by: keith021773 on June 25, 2008, 12:43:50 AM
Thanks guys!    Worked like a charm..   

I will mark the topic as solved...

Thanks again!