• Resolved hendosdad

    (@hendosdad)


    A great plug, easy to use but it doesn’t quite work for me.

    Is there an option where the line beginning path: can be omitted?

    Also, I’m getting a few spurious lines appearing (see screenshot), is there any way to stop this.

    screenshot

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter hendosdad

    (@hendosdad)

    Plugin Author maennchen1.de

    (@maennchen1de)

    Hi!
    Please use this shortcode to use an own path

    [m1dll path=”your/foldername/here/”]

    Your theme or a plugin do some code-tags around our HTML-code. Please try to find it out by disabling all other plugins and try again.

    Thread Starter hendosdad

    (@hendosdad)

    Thanks for your suggestions. I found that code tags had been placed around the shortcode. Removing these got rid of the spurious lines.

    The path parameter in the shortcode is doing what I want it to. However, if possible, I’d like to avoid displaying the first line (the line where path is displayed in bold). Basically, I don’t want to show users the path name, just a list of the files that can be downloded.

    thans

    Plugin Author maennchen1.de

    (@maennchen1de)

    Ah, OK.
    There is no Option to hide the breadcrumb nav yet.
    If you want, you can disable it by remove following lines in index.php:

            //breadcrumb
            if (strlen(m1dll_getStr($atts['label'])) > 0) {
                $subdir_path = '<strong>'.__('path', 'm1dll').':</strong> <a href="' . get_permalink(get_the_ID()) . '">'.__(m1dll_getStr($atts['label']), 'm1dll').'</a>';
            } else {
                $subdir_path = '<strong>'.__('path', 'm1dll').':</strong> <a href="' . get_permalink(get_the_ID()) . '">'.__('downloads', 'm1dll').'</a>';
            }
    Thread Starter hendosdad

    (@hendosdad)

    Thank you for your help.

    I added the following lines after //breadcrumb

          if (m1dll_getStr($atts['nobreadcrumb']) == '1') {
              }
              else {
    

    and an extra } after the last line and it works fine.

    Thread Starter hendosdad

    (@hendosdad)

    Final code looks like this…

            //breadcrumb
    
          if (m1dll_getStr($atts['nobreadcrumb']) == '1') {
              }
              else {
    
            if (strlen(m1dll_getStr($atts['label'])) > 0) {
                $subdir_path = '<strong>'.__('path', 'm1dll').':</strong> <a href="' . get_permalink(get_the_ID()) . '">'.__(m1dll_getStr($atts['label']), 'm1dll').'</a>';
            } else {
                $subdir_path = '<strong>'.__('path', 'm1dll').':</strong> <a href="' . get_permalink(get_the_ID()) . '">'.__('downloads', 'm1dll').'</a>';
            }
        }
    Plugin Author maennchen1.de

    (@maennchen1de)

    Thanks for this example!
    I would appreciate very much, if you could rate our plugin. ??
    https://www.ads-software.com/support/plugin/m1downloadlist/reviews/#new-post

    Thread Starter hendosdad

    (@hendosdad)

    I’ve rated you – good plugin, excellent support!

    Please will you consider adding this as an enhancement to your plugin.

    Thanks.

    Plugin Author maennchen1.de

    (@maennchen1de)

    Version 0.9 is released with a new feature. Check it out. ??

    Thread Starter hendosdad

    (@hendosdad)

    Just spotted it! Thank you. Greatly appreciated!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Option to not display the line beginning path:’ is closed to new replies.