• Resolved aenea

    (@aenea)


    I’ve hit two problems with the display of the category description.

    1. The description is displayed regardless of whether I have checked the ‘Show Category Description’ box on the Library Settings | Categories page.

    2. There is no space between the display of the category name and the category description – the two are run together.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Yannick Lefebvre

    (@jackdewey)

    Sorry for the trouble you are having with this feature. I will investigate tomorrow evening, as it is getting late here.

    Thread Starter aenea

    (@aenea)

    No urgency. It’s easily fixed by adding a leading space to the description. If you do implement a fix tonight, I may not be able to test it out immediately as I’m going to be away for a few days. (Going to Wimbledon – hurrah!)

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    1) I ran some tests in my development installation and cannot reproduce this. The category description only shows when the Show Category Description is checked. Perhaps you can first try saving your library configuration to make sure that everything is up-to-date. If it still happens to you, then could you e-mail me an export of your library configuration?

    My e-mail address is ylefebvre at gmail.

    2) The category description content is wrapped in a span tag with class linkcatdesc. If you want some spacing without needing to put it in the description, you could adding margins or padding in your stylesheet for this class:

    .linkcatdesc {
        padding-left: 12px;
    }
    Thread Starter aenea

    (@aenea)

    I am away from home now till Tuesday next week. Will look into this on my return.

    Thread Starter aenea

    (@aenea)

    Back home now and have updated the Link Library plugin to v6.1.1 on my Test web site. Problems with the display on the category description are still present.

    Firstly, the ‘Show Category Description’ check box seems to have no effect. If I have a category description, then it is displayed, regardless of whether or not this box is checked.

    Secondly, as per my original report, there is no space between the Category name and the Category description.

    The class applied to the Category description is ‘linklistcatnamedesc’ , not ‘linkcatdesc’. As you suggest, I can fix the problem by adding this class to my style sheet with a padding-left value but thought you might like to investigate further as to why you can’t replicate my problem.

    Have sent you an email with an export of my library configuration.

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    First off, did you see that there are two places to set ‘Show Category Description’? The first is under the Category tab of Library Configurations, which affects the output of the [link-library-cats] shortcode, while the other one is under the Links tab of Library Configurations, which affects the output of the [link-library] shortcode. Are you sure that you are using the correct one? if you only have the [link-library] shortcode on your side and are configuring the option under the Category tab, that would explain why nothing happens.

    I tested both options, with their respective shortcodes here, and both worked as expected.

    Thread Starter aenea

    (@aenea)

    Aha! You’ve hit the nail on the head. I am using the [link-library] shortcode but was checking the box under the Category tab. Now using the check box under the Links tab and it toggles the category description on and off, just as it should. Apologies for getting that wrong.

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Great. Thanks for the reply. Please consider donating to support this plugin’s development.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error in category description display’ is closed to new replies.