Wallpaper Script Forum » Announcements

ModifyTop Friends list

(5 posts)
  • Started 3 years ago by tommeyboy
  • Latest reply from tommeyboy
  1. tommeyboy
    Member

    I want to change the layout of the top friends list. I know that this list is part of the friends block, but I cannot figure out what I need to change to fix to change the layout of the columns. I would like to combine the title of the site with the url, in addition to some other changes I would like to make.

    Anyone know how to do this?

    Posted 3 years ago #
  2. template is inside modules/friendsblock/ it's why i have asked how this work and why not in templates/modules dir.

    Posted 3 years ago #
  3. tommeyboy
    Member

    Yes, you're correct there are a couple of templates in the friends block module directory, however, they do not control how the toplist data is displayed on the page. The toplist data is stored in a smarty variable called topFriendsGrid and is generated by friendsblock.php.

    Can anyone else shed any light on how to format the output of the top friends list?

    Posted 3 years ago #
  4. top friends table is generated by a class. If you want you can change the style for the grid table . Look for thegrid or .data in style.css .

    You can also rebuild it without calling the grid class at all. You need to get all the friends in variable and print them in the tpl as you like.

    Posted 3 years ago #
  5. tommeyboy
    Member

    I cannot seem to find where you're combining the array and then breaking it out into HTML. I want to combine a couple of the variables.

    Posted 3 years ago #

RSS feed for this topic

Reply

You must log in to post.