• Resolved Fred Atkinson

    (@fatkinson)


    I have run into an issue with Link Library. This may well require a software fix.

    In creating a new category, that new category is not automatically excluded from existing library configurations.

    This means that the new content will show up on pages with the ‘[link-library settings=X]’ or on pages with other similar tags.

    The likelihood is that the new category’s links will then show up on pages it wasn’t intended to be displayed on.

    I suspect that the best solution would be to immediately exclude newly created categories on the existing library configurations. At present, that has to be done manually by the administrator. That’s what I had to do to resolve this issue on my Web site. And that did resolve it for now.

    I intend to make more use of new categories as I develop the site further.

    To resolve this on my site, I had to go to the ‘Library Configuration’, ‘Common’ tab, then select each of the adversely affected library configurations, and press the ‘Go’ button. From there, I had to click on the ‘Categories to be excluded’ drop down and exclude the new category or categories to keep the links associated with the new category or categories from showing up on existing pages where those links were not intended to be displayed.

    Since I stumbled on this issue, I wanted to share it.

    Regards,

    Fred

    • This topic was modified 3 years, 9 months ago by Fred Atkinson.

    The page I need help with: [log in to see the link]

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

    (@jackdewey)

    Hi Fred, Instead of excluding categories, you should instead go with an approach where you only include include the categories that you want to see in each library configuration. That way your pages won’t be affected when new categories are created. This is working as expected.

    Thread Starter Fred Atkinson

    (@fatkinson)

    Yannick,

    I tried that.

    It worked fine on one of the Library Configurations.

    On the other one, it made the entire page go blank.

    When I delete the tag from the page, the page returns but [of course] without the table.

    I have tried viewing it on both of my installed browsers.

    Any suggestions?

    Regards,

    Fred

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Could you write what shortcode you tried using on that second page? And did the page go back to normal if just made it display all categories?

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    The other thing to check would be to activate the debug log and see what messages are coming up on that white page. This is done with the following lines in your site’s wp-config.php file:

    define('WP_DEBUG' true );
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);

    The first of these already exists by default in the file, while the other two lines are added. Once this is modified and saved, run the page again to get the white screen, then go into wp-content and look for the debug.log file that gets created.

    Thread Starter Fred Atkinson

    (@fatkinson)

    Yannick,

    At the moment, not.

    I’ve been doing so much work on that site that I have exceeded my bandwidth limits at the moment. So I unable to do anything with the site at the moment.

    I may need to back it up, move it to my own hosting account [I have a Web hosting reseller’s account] so I can give myself more bandwidth.

    As of now, I don’t know when I wil have access to it again.

    I will do it as soon as I get my access back.

    Regards, and thanks,

    Fred

    Thread Starter Fred Atkinson

    (@fatkinson)

    Ok, the provider increased my bandwidth and I am back on.

    The tag is: [link-library settings=1]

    I am still getting the white page.

    Regards,

    Fred

    • This reply was modified 3 years, 9 months ago by Fred Atkinson.
    Thread Starter Fred Atkinson

    (@fatkinson)

    Yannick,

    [link-library settings=1] Is the tag I am using on he page where the library appears.

    Is that the one I should be usijng?

    Any idea why the page goes blank when this tag is included in the page and returns when it is removed?

    Regards,

    Fred

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Hi Fred,

    Only thing is you should normally put quotes around the settings number: [link-library settings=”1″], but I think it might still work without.

    You will need to activate that debug log feature on your WordPress site and look to see what kind of errors are being generated so that I can have an idea of what’s happening.

    Thread Starter Fred Atkinson

    (@fatkinson)

    I inserted the quotes as you suggested.
    It had no effect. The page is still blank.
    I am sitting in

    the chair in my opthomologists office at the moment.
    Will do the debug thing as soon as I get home.

    Thread Starter Fred Atkinson

    (@fatkinson)

    I added those lines replacing the one you described.
    I am not sure where to look for the log.

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    As indicated, the log should normally appear under the /wp-content directory. By accessing it using an FTP client, you should see a file called debug.log. You might need to do a refresh in your FTP client if you don’t see the file right away.

    Thread Starter Fred Atkinson

    (@fatkinson)

    Well, I got it working.

    I had to create a third Library Configuration and configure it from scratch.

    When I changed the tag to ‘[link-library settings=3]’, the entire page [including the table] reappeared.

    I am not sure how this fixed the issue [or rather masked it]?

    Plugin Author Yannick Lefebvre

    (@jackdewey)

    Thanks for sending your setting exports by e-mail to me for Library #1 and #3. The culprit seemed to be the target field. Instead of only entering the name of the link target in that field, you had written out target=”something” in there, this caused the ” character to be escaped over and over and the value in that field was super long. I just changed it to _target and now the library does not display a white page anymore. I will investigate to see if I could put in a protection to avoid this issue from happening again.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Exclusion of New Categories’ is closed to new replies.