• Resolved manajoe

    (@manajoe)


    Hi there,
    I installed your plugin in version 1.2.4 and I’m thrilled, its exactly what I was looking for. Just this little problem:
    I add an event, which is displayed in all views (month, week, agenda), I can expand and collapse the view. But if I click on “Details”, I just get an almost blank page, with only the event title displayed, not the information and google maps.
    I can view the details, if I go to the event using this link: ?ai1ec_event=ah-training&instance_id= without an instance_id-number. As soon as there is a number following (which seems to be the default and necessary for repeated events) ?ai1ec_event=ah-training&instance_id=3 I just get this blank page. (testlink https://test.mm13.de/?ai1ec_event=ah-training&instance_id=3)
    Are there any hints for me?
    Greetings
    Mana

    https://www.ads-software.com/extend/plugins/all-in-one-event-calendar/

Viewing 15 replies - 46 through 60 (of 91 total)
  • birdav

    (@birdav)

    Really great, fixed it for me! Outstanding calendar, thanks very much!

    sglee2120

    (@sglee2120)

    Yani,

    Hmmm, since this fix DID correct the problem for birdav–and probably others–there is a good chance it’s the theme. Shoot.

    I’ll go try switching to 2011. I’m still new to all this, so I’m unnerved by switching themes; but how else do I get UNnew to it, right?

    I’ll let you know how it turns out.

    thanks again,
    Susan

    jumust

    (@jumust)

    I’m getting crazyyyyyy
    I tried the fix but didn’t work, so I looked for theme issue.

    I installed a new site with the same theme and it works, I set up the same theme setting; I installed all plugins and just activated them and it works as well…
    So the theme is fine…Actually I made some customization in the original site but only about html and css

    Now I really don’t know where to find the difference between two sites.

    Should I try to remove all widgets? Or which kind of things can break this plugin?

    Yani

    (@yaniiliev)

    jumust, what is your website url?

    sglee2120

    (@sglee2120)

    Yani,

    Yup, it’s the theme. Rats. That may mean another LONG wait for a fix, because the other calendars will have the same problem, since it’s NOT the calendars.

    I did earlier deactivate all other plugins except those necessary for this theme, Option Tree and WP-PageNavi. Hmmmm, I wonder what mess I’d get if I deactivated them, too, especially the latter . . .

    https://www.alec-destroys-democracy.org

    thanks again for all your work and help,
    Susan

    jumust

    (@jumust)

    yani.iliev I’m working in local…

    this is the theme that I’m using https://themeforest.net/item/pim-newspaper-magazine-and-blog-template/129490

    sglee2120

    (@sglee2120)

    Yani,

    And one last, before I leave you alone. (Yes, I have left a post on Politico’s forum.) What was the problem that YOU found? I mean, what is it that I’m looking for?

    What you found was in the event.php, and the problem is in displaying the details page; so that fits. Is there anything else that can help restrict the area of code that I’d need to look at–or the specific variables?

    thanks again,
    Susan

    Jonatello

    (@jonatello)

    I’m wondering the same thing as sglee/Susan

    Yani

    (@yaniiliev)

    @sglee
    @jonatello
    The problem in your case is the theme. The theme has different files, one for displaying posts, one for displaying comments etc.
    The file that your theme has for displaying single posts is designed to support only posts and doesn’t work with custom post types.
    How to fix?
    1. Create a new file in your theme folder and name it: single-ai1ec_event.php
    2. Paste the content from here in the files and save it: https://pastebin.com/TPYAR8e6
    3. Navigate back to your website and see if the problem has been resolved.

    If you need to change the look and feel of the single event page, you will need to edit single-ai1ec_event.php file.
    You can use single.php file from your theme to look at how your theme does it – however, remember that single.php file doesn’t work for some reason with the ai1ec so if you copy the contents of the file over to single-ai1ec_event.php, you will be back at where you started.

    jumust

    (@jumust)

    OH THANKS YANI!!! IT WORKS!

    I tweaked a bit the single-ai1ec_event.php template which was displaying full width, but looks like it’s working now. I’ll keep testing, just wanted to let you know for now!

    Thanks!!!

    Jonatello

    (@jonatello)

    Yani,

    Thanks for that explanation. I’m assuming Susan’s question about narrowing specific problem areas in the file is probably too hard to answer (every theme likely being unique in that sense)?

    but at least you’ve given me (hopefully all of us) a better understanding of how we might troubleshoot it.

    I’ll let you all know if I have success, and how.

    sglee2120

    (@sglee2120)

    Jonatello and Yani,

    Actually, Jonatello, Yani was VERY specific about where to look. I kept thinking it had to do with displaying some kind of page or post, but I’m new enough to this that I didn’t know where to look. Yani was very clear without being able to know EVERY theme on the market.

    Thanks again, Yani. I’m in the middle of something else right now, but I will certainly let you know whether this fixes the problem. I have a strong feeling that it will.

    You’re the best,
    Susan

    sglee2120

    (@sglee2120)

    Yani,

    Shoot. And there I was all excited, but it was a no go.

    Looking through the code, however, I see tons of references to “twentyeleven.” Should I change every single one of those references to the theme I’m using?

    Of course, if I do that, then it wouldn’t work if I ever changed themes, right?

    The calendar code “calls” this single-ai1ec_event, right? So how can it not work?????? (Again, I’m new to WordPress and CSS, so if “call” is the wrong term, please forgive.)

    Thread Starter manajoe

    (@manajoe)

    Hi Yani,
    thanks for all your work, the calendar is working now after I replaced the single-ai1ec_event.php. The only issue is, that after publishing a new event in the backend, I’m left on a completely blank /wp-admin/post.php.
    Can this have anything to do with this update?
    Thanks so much for your hard work!
    Mana

    Yani

    (@yaniiliev)

    @sglee2120
    The way I will do it is:
    1. Open single.php file from your theme in one editor.
    2. Open single-ai1ec_event.php file in another editor.
    3. Look at the two files and try to understand how each one works.
    4. Create a new temporary file.
    5. Replicate the HTML structure from single.php to the temporary file – by replicating, I mean copy only the html code so that the look and feel of the page will be the same as the one in your theme.
    6. Once the html structure is in the temporary file, look in single-ai1ec_event.php and copy the php functions for outputting posts at the proper place in the temporary file. Again, you should be able to find the appropriate place for the code in step #3.

    @manajoe
    If this is happening on your dev environment that you sent me access to, it could be caused by the debugging changes I made. If possible start with a clean ai1ec version and build on it.

Viewing 15 replies - 46 through 60 (of 91 total)
  • The topic ‘[Plugin: All-in-One Event Calendar] Event details not showing’ is closed to new replies.