Page 1 of 1

inserting a space between each listing

Posted: Tue Sep 19, 2006 9:41 pm
by Summer
Hello,

I have the latest version of Linkman and would like to know how I can make it so that the script will insert a space between each listing that appears in the directory? I believe this will make it easier to read.

So, instead of the entries looking like this:

"CSS and Web standards - Tutorials and articles about CSS and web standards (in Portuguese)
UGA internet guides - UGA media is the European publisher of internet guides, business portals, travel guides and reference cd-roms."

.....They would look like this:

"CSS and Web standards - Tutorials and articles about CSS and web standards (in Portuguese)

UGA internet guides - UGA media is the European publisher of internet guides, business portals, travel guides and reference cd-roms."

Could you tell me how I would be able to make the script insert a space between each entry like the above example?

Thanks for your reply.

Summer

Posted: Wed Sep 20, 2006 8:32 am
by Klemen
Open links.php in a PLAIN TEXT editor (Notepad, Wordpad) and change the HTML code in this line:

Code: Select all

 echo '<a href="'.$url.'" target="_blank" class="linkman">'.$title.'</a> - '.$description.'<br>';
Change it for example to

Code: Select all

 echo '<p class="linkman"><a href="'.$url.'" target="_blank" class="linkman">'.$title.'</a> - '.$description.'</p>';
Haven't tested it, but should work

it works

Posted: Sat Sep 23, 2006 4:54 pm
by november
I made the code change on my website and it works great. Take a look.

Marie

http://www.psychicmarie.com/linkman/links.php