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

    (@nuknightlab)

    I am not sure what advice to offer, but I just installed a brand new WordPress install and the Knight Lab Timeline plugin, and was able to successfully see the timeline.

    There is no timeline-specific administrative interface, so it should be no suprise that it does not appear there.

    We recognize that the short-code authoring is not modern WordPress, but I don’t know when we’ll have the internal resources to develop a block-based plugin.

    In any case, the example below, entered into a shortcode block, worked as expected:

    [timeline src=”https://docs.google.com/spreadsheets/u/1/d/1xuY4upIooEeszZ_lCmeNx24eSFWe0rHe9ZdqH2xqVNk/pubhtml” width=”100%” height=”650″ font=”Default” lang=”en” version=”timeline3″ ]

    From the error you report, you probably omitted ‘version=”timeline3″‘ which is correct, but which is not default so as not to change behavior for people who installed the plugin before Timeline version 3 (now about 6 years ago). If you make a new Timeline now using the tool at timeline.knightlab.com you will be guided to use the new spreadsheet format, which does not work without ‘version=”timeline3″‘ That is included by default when using the classic editor, but, again, we have not been able to invest resources in a Blocks-based update to the plugin.

    We welcome code contributions!

    Thread Starter simondipad

    (@simondipad)

    That’s knightlab – all sorted now. thanks for your comments and advice.

    Thread Starter simondipad

    (@simondipad)

    Actually – it is not quite working yet. It works inside the WP admin previews but does not work outside of this environment. Just generates a string of JS errors in the console ERR_ABORTED 404 and Uncaught references etc.

    Not sure where to go next with this!

    Thread Starter simondipad

    (@simondipad)

    Just to say also that this is within WordPress.com not an independent installation of WP.

    Plugin Author NUKnightLab

    (@nuknightlab)

    Ah! We’ve always said that you can’t install plugins in WordPress.com. I see now that you must be on the business plan, which sounds familiar, but in any case, we don’t have access to WordPress.com with a business plan, so we can’t do much troubleshooting.

    Assuming you are on a business plan, hopefully that money you’re paying can get you support — it sounds like they’ll at least take questions
    https://wordpress.com/support/plugins/adding-plugins/#need-help-with-a-plugin

    Thread Starter simondipad

    (@simondipad)

    Indeed – although they have already said ‘not our problem’, talk to the plugin developer!

    It runs without a problem on my separate WP.org installations so we are likely to cancel the WP.com subscription and go with a separate installation.

    Just to note – it might be worth distinguishing more clearly between WP.com and WP.org in your general guidance notes for future users. Ie ‘if you are able to install plugins’ could still refer to WordPress.com depending on your package.

    Do you happen to know if all the CSS classes listed on your website will work if we want to customise the appearance of the timeline?

    Thanks again

    • This reply was modified 5 years, 8 months ago by simondipad.
    Plugin Author NUKnightLab

    (@nuknightlab)

    We’ll take your recommendation into account, although again, we’d generally thought it was not even possible to use plugins on WordPress.com. It seems as though, with clear evidence that it works on WP.org, that it’s specifically WP.com’s problem. Without a test framework or a profile to target, there’s no way a plugin developer can know their plugin works on WordPress.com without paying for the privilege of having a test environment!

    The list of CSS classes should be essentially accurate, as nothing about that has changed in quite some time. However, note that, for historic reasons, the actual Timeline CSS uses very specific CSS selectors (basically a side effect of using LESS’s support for nested declarations and thinking that was a nice organizational cue, without considering that it would then require using as specific or more specific selectors to override.

    Therefore, you are really probably best off using the base LESS to create an alternative design, or if not, literally copying the compiled CSS and using the documented classes more as a cue for searching than something you can override with a second stylesheet. (It’s also the case that the stylesheet is loaded in javascript, so it’s not easy to load your override styles after timeline.)

    Truly supporting style customization won’t be possible without a major version upgrade that could break previous timelines, and that’s not currently on our roadmap.

    Thread Starter simondipad

    (@simondipad)

    Ok, brilliant thanks for this advice.

    All the best

    S

    • This reply was modified 5 years, 8 months ago by simondipad.
Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘File directory error messages’ is closed to new replies.