Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter riley6902

    (@riley6902)

    not for those who want to use other themes but here’s my hack to links.php (line 500 or so):


    // USER EDIT:
    // get_links_list applies

    • tags to category headers
      // making the possiblity of using CSS to apply background images
      // AND custom bullets to links impossible. Hack is to remove the outer
      // list from sidebar.php in the theme, so that headers are exposed purely
      // as <h2> and to rework the below.
      //
      // // Display the category name
      // echo ' <li id="linkcat-' . $cat['link_category'] . '"><h2>' . $cat['cat_name'] . "</h2>\n\t
      \n";
      // Call get_links() with all the appropriate params
      // get_links($cat['link_category'],
      // '

    • ',"
    • ","\n",
      // bool_from_yn($cat['show_images']),
      // $orderby,
      // bool_from_yn($cat['show_description']),
      // bool_from_yn($cat['show_rating']),
      // $cat['list_limit'],
      // bool_from_yn($cat['show_updated']));
      // // Close the last category
      // echo "\n\t

    \n

    \n";
    echo ' <h2 id="linkcat-' . $cat['link_category'] . '">' . $cat['cat_name'] . "</h2>\n\t

      \n";
      // Call get_links() with all the appropriate params
      get_links($cat['link_category'],
      '

    • ',"
    • ","\n",
      bool_from_yn($cat['show_images']),
      $orderby,
      bool_from_yn($cat['show_description']),
      bool_from_yn($cat['show_rating']),
      $cat['list_limit'],
      bool_from_yn($cat['show_updated']));
      // Close the last category
      echo "\n\t

    \n";

    did you run the upgrade script for your database?

Viewing 2 replies - 1 through 2 (of 2 total)