WordPress.org

Ready to get started?Download WordPress

Forums

Back End Instructions
[resolved] Featured Slider image disappear (36 posts)

  1. masleif
    Member
    Posted 1 year ago #

    I am using Canvas Theme from WooTheme and when I activate this plugin the image for the slider for the post disappears when I update the post.
    Cheers
    Leif

    http://wordpress.org/extend/plugins/back-end-instructions/

  2. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    Canvas isn't a free theme, so I can't download it an see what's going on. I can offer up some ideas on how to try and fix it, but without actually having access to the theme itself, I wont' be able to fix this problem. It could be my plugin's fault, or it could be them theme's fault. There's no way of knowing (unless I have access to it).

    It *sounds* like a javascript conflict - but again, with no access, there' sno way I can troubleshoot it.

    If you have Google Chrome, you can go to View > Developer > Javascript Console, and it'll tell you exactly what the problem is.

  3. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    Did you get this sorted yet? I'm willing to help, but I can't if I don't have more information.

  4. masleif
    Member
    Posted 1 year ago #

    Hi,
    I have't find a solution yet using your plugin. I found one that works. But If you like I can let you in on my homepage so you can see for your self and fix the problem.

    To do so I need you email address.

  5. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    You can drop me an email at shellyATbrassblogsDOTcom.

  6. masleif
    Member
    Posted 1 year ago #

    Hi Shelly,

    You will soon have an email from my homepage. I am curious to know what went wrong.

    Leif

  7. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    Eftersom svenska är naturligtvis ditt första språk, jag ska ge det ett försök att se om vi kan kommunicera lite bättre :) Jag är inte bra på det, men jag försöker att göra det lättare för dig...jag hoppas att jag gör inte en enda röra av det!

    Jag kan inte se vad du saknar? När jag aktiverar mitt plugin, reglaget (som jag kan hitta - i "golf" sida) verkar fungera fint, och mina instruktioner visar upp bra. Jag är också ute i Developer Tools, och inte ser några konflikter.

    Eller menar du att en bild i admin någonstans försvinner? Jag antar att jag inte är klar över vad som går fel - så vitt jag kan berätta, allt verkar fungera fint. Jag har inte publicera något, så jag vet inte om det är där något går fel.

    ----------------------------

    I'm having a hard time seeing what you're missing? When I activate my plugin, the slider (that I can find - on the "golf" page) seems to be working just fine, and my instructions are showing up just fine. I'm also looking in the Developer tools, and don't see any conflicts showing up.

    Unless you mean that an image somewhere is just disappearing? I guess I'm not clear on what is going wrong - as far as I can tell, everything seems to be working just fine. i didn't publish anything though, so I don't know if that's where something is going wrong.

  8. masleif
    Member
    Posted 1 year ago #

    Thanks Shelly,
    You are absolutely right, now it works! I must have had too much lose ends at the same time.
    Thanks

    Leif

  9. masleif
    Member
    Posted 1 year ago #

    Hi again Shelly,

    Sorry but he problem is back.
    It appear when I have your plugin activated and tries to enter a new image to be in the post slider. After that I have entered the image and publish the post the image disappears. If I deactivate you plugin it will work as it should. I hope this will give you more information about the problem.
    If I activate the plugin after that the post is published then the image will stay.
    See under Post and Canvas Custom Settings and the tab General Settings, (image).

    /leif

  10. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    Hm. Very strange. Let me see what the deal is - that's so weird.

  11. carolhtenney
    Member
    Posted 1 year ago #

    Hi -
    My slider also disappeared in the last week or so. I haven't touched the admin of my site for over a month. My front page slider shows for a split second then there's nothing!
    I'm using the Canvas theme by WooThemes. I've checked the slider settings and nothing has changed.

    http://www.carolhoughton.com

    Please let me know if you find a solution!
    Thank you!
    Carol

  12. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    it *does* appear it's Canvas, and not my plugin. The error you get is:

    "Uncaught TypeError: Cannot read property 'length' of undefined " as set on jquery.js - line 2. Since it's minified, and line 2 is gigantic, it's tossing that error because of a Canvas function placed in the theme that uses thejquery widgets and tabs (that come with Canvas):

    v.extend.each (on line 2 of jquery.js)
    e.widget (on line 5 of jquery.ui.widget.min.js)
    (anonymous function)(on line 5 of jquery.ui.tabs.min.js)
    (anonymous function) (again, on line 5 of jquery.ui.tabs.min.js)

    My *guess* would be that it needs upgraded. The jQuery UI is now up to version 1.10, and Canvas seems to be using an older version. (1.9.2) Have you checked Woo to see if the theme has an update available? (Yep - it looks like there is. You're using Canvas version 4.0.5, and Canvas is up to version 5 now -it was released about 8 months ago)

    @masleif - you, however, are using Canvas 5.1.3 - so I still can't figure out why it's doing this to you! I'm still trying to sort that out.

  13. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    Yep - it's my plugin. I'm working on a fix right now.

  14. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    Just an update - I can find no reason at all why this is doing what it's doing. It appears to be some kind of conflict with their meta box vs. my meta box. For some reason, my meta box is "blocking" their meta box from utilizing the update_post_meta() function - which makes no sens to me. The image IS, indeed, uploaded and associated with the post in question, but for some reason it's not saving the image path in the database to show up in the slideshow (with the "image" meta key), or the URL path. Very bizarre.

    I'm emailing the Woo guys to see what's going on (I already did find one error in their code on Canvas that could be assisting with this issue - even with my plugin shut off and nothing but Canvas being used, I still couldn't do anything with the slideshow image due to an error on line 551 of the admin-custom.php file) - maybe they can work with me to help me out. They do respond, but usually they aren't very fast, so it may be a few days.

  15. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    on the WooThemes knowledgebase, someone else had this issue (and it's not related to my plugin at all), and their solution was to deactivate the "TimTumb" option and switch to "Wp Post Thumbnail" as the slider image option (under Canvas > Theme Options > Dynamic Images), and then just use the "Featured Image" in the post, instead of the metabox. In the meantime, that could be your workaround.

  16. masleif
    Member
    Posted 1 year ago #

    I will try to deactivate the "Tim Tumb"and see what happens.

  17. carolhtenney
    Member
    Posted 1 year ago #

    Thanks for the continuing effort to take care of this - I've had several people tell me they wondered why I designed my art site with a blank home page!

  18. masleif
    Member
    Posted 1 year ago #

    In Canvas theme there are two sliders one for the Magazine page and one for the Business page. With the "Tim Tumb" deactivated and the plugin activated the Magazine page works but not the Business page. The problem appears when I update the slider for the Business page with a new image. The new image disappears and the old appears.

  19. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    Okay, thanks masleif. This is the weirdest problem ever. I can't even get any error messages to show up (not even in the server logs), so it's basically all trial and error until I get this sorted. I cannot tell WHY my custom field isn't allowing Canvas' to save in the database. it just makes no sense.

    Right now, I'm just trying a rewrite (I've been meaning to do that anyway - you're a catalyst! Yay masleif!). And for the record, I went and bought the theme so I can get down and dirty with this, so you don't need to keep the login for me on your site anymore :)

  20. narendrakumar.sandireddy
    Member
    Posted 1 year ago #

    hi i am not getting slider images in my website http://n-racing.com/.can anybody help me......

  21. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    Naren, this is support for a specific plugin. You need to go to the actual forums to ask support requests, and not hijack threads. It clutters up the support offered here, and makes it difficult for people to find solutions for this specific plugin. Thanks!

  22. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    Okay, maslief (and carol - and anyone else who might be interested!) - I have it sorted. I'm finishing up and testing today, and I'm hoping to have the new version released for download sometime tonight or tomorrow (barring any surprises).

    I still have no idea why it was doing this, what I've changed really isn't *so* much different than what was already there, but the changes I have made seem to work, and Canvas is working fine with my plugin now. I still won't take full blame for this, because - as I was working on the issue, ALL errors were coming up as Canvas-related. (mainly on their admin-custom.php file, lines 454 and 551. I even shut my plugin off and used a couple of other popular CPT-creating and metabox-creating plugins, and the same thing happened. So I still say it's Canvas, and the theme has some sort of issue with creating custom post types (and/or metaboxes related to those custom post types), because even with mine deactivated and using another one, I had similar (or the same) issues.

    Granted, all the erros showed up only when I had error reporting turned on, but they were there.

    Anyway - enough of all that. It's now sorted, and like I said, I'm hoping to have it updated either tonight or tomorrow so you can fix your issues. I just want to run through a few tests to be sure I got everything first :)

  23. masleif
    Member
    Posted 1 year ago #

    I look forward to test the plugin after you new release.

  24. carolhtenney
    Member
    Posted 1 year ago #

    Thnks again for your continued work on this - otherwise I'll have to redesign my website.

  25. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    Curious, carol - why would you have to redesign your site? my plugin isn't used for anything on the front end. All you'd have to do is NOT use my plugin. In fact, there's another one very similar to mine (for back end instructions) - I believe it has it's own separate page though (it doesn't show the instructions on the page you're currently on). WP Help

  26. carolhtenney
    Member
    Posted 1 year ago #

    I was considering just getting rid of the slider altogether - that's all! When peole look at an artist's website and it's blank it doesn't exactly express my work! ;-)

    I had someone else design my website- I used to do them myself, using Dreamweaver, but this time I was happy to hand it over. For that reason, I'm not really clear about what she did.
    As far as I know, it's been fine until the last few weeks.

    Thanks again for your help!

  27. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    Ahhh - I see. Well, for the time being , you could just deactivate my plugin. You'll have to re-add your slides, but they'll show up. I believe what Masleif has been doing is deactivating my plugin, doing the slides, and then reactivating the plugin. My plugin isn't what makes the slideshow *disappear*, it's preventing them from saving the images on the slide, so they don't show up. (the slide itself saves, but the images won't - that's why the slide is blank) So if your *entire* slideshow has gone away, then I'd say my plugin has nothing to do with it.

  28. carolhtenney
    Member
    Posted 1 year ago #

    NOW you tell me! ;-)
    Just joking of course- I'll give it a try later today.
    Good luck and thanks!

  29. Doodlebee
    Member
    Plugin Author

    Posted 1 year ago #

    Okay, sorry so late, but I forgot that that weekend was Easter, and we've been redoing our kitchen, so this kind of got pushed back a bit.

    I made a quick fix and uploaded it today. In my localhost install, with Canvas, it's working. But let me know if you have any issues (and especially let me know of any error messages you get, because it's working fine for me with nothing but WooThemes and this plugin activated).

    I'm still working on the rewrite - turns out it's a little mor difficult than I expected :)

    in nay case, I *did* find a way to solve the issue. the problem is that I have a custom loop in my plugin that pulls in the instructions into whatever page you're on. I had to remove the loop (if(have_posts()) etc) and replace it with a customSELECT query and a foreach statement. Apparently the Loop was conflicting with something in the Canvas theme. I'm still getting error messages with Canvas, but at least my plugin will work with it now.

  30. masleif
    Member
    Posted 1 year ago #

    What version should I use for my test? Version 2.5.2 does not work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic