Forum

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

WP-Directory-List: layout of the list page

UserPost

2:32 am
March 10, 2009


masini

New Member

posts 2

Is it possible to modify the layout of a link list?

I have tried following things:

  • I tried “style” definitions inside div-tags in WP admin Directory List => Options => Format of your Links but they didn’t work. The “style” definition appears to the page code but it doesn’t have any attributes even though they are in Options menu. I’m quite sure that the I’ve wrote in right syntax…
  • To do a class and a div to my CSS-file (both basic and plugin’s own) but those modifications didn’t get through.
  • Then I put a second (wrapping) table in WP admin Directory List => Options => Format of your Links and modificated that extra table. That worked somehow although I didn’t get exactly what I wanted.

Where are allt line breaks in the Link Description?

  • If I make a new link from admin (Manage Directory menu) and write text in Link Description with line breaks (paragraphs) and lists, all the text will appear in same paragraph in the link list page.
  • I need to have longer descriptions which may contain lists and several paragraphs.

Here is one of my link list pages: http://www.espanjaopas.com/pal…..rastointi/

Note: That page is in Finnish but I think you can see the problem there. All of those business descriptions are written in more than one paragraph and there are lists also (all marked with "-").

Thanks for your help in advance! Cool forum BTW :)

3:17 pm
March 10, 2009


support

Admin

posts 51

Post edited 8:27 pm – March 10, 2009 by support


I fixed the line breaks.  It will be in the next release but if you want to go ahead and implement it for you, please do the following.

$parsed = str_replace('%DESCRIPTION%', nl2br($links->description), $parsed);

You can find this on line 84 of wp-directory-link-html.php

3:24 pm
March 10, 2009


support

Admin

posts 51

Also try this to see if it will help your class css problems. 

$parsed = stripslashes($parsed);

Place this just before this code on line 103

$directory .= $parsed;

of wp-directory-link-html.php

It should fix the CSS problems.

This is also going to be in the next release.  I need to finish up the submit form then I will make the next release.

5:48 am
March 11, 2009


masini

New Member

posts 2

Thanks a million! Now it works and I have a list just the way I want it. Excellent "service"!

When I get my PayPal working I will donate Smile


About the The Money Making Website Forum

Most Users Ever Online: 30

Currently Online:
5 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 1
Forums: 5
Topics: 67
Posts: 173

Membership:

There are 1628 Members

There is 1 Admin

Top Posters:

cactuscarl – 9
myuzikalflare – 8
bushtool – 5
WellFit – 5
womenontop – 5
bebop – 4

Recent New Members: haoxing1, 7stars, niesul14, thakur, Tim Robbin, gambler

Administrators: support (51 Posts)



 
Share and Enjoy:
  • TwitThis
  • Digg
  • Sphinn
  • del.icio.us
  • SphereIt
  • Facebook
  • StumbleUpon
  • Technorati
  • Mixx
  • Google Bookmarks

Comments are closed.