• Resolved studdedrooster

    (@studdedrooster)


    Hello,

    I’m working on fohk.org. On the homepage, I hoped to add a calendar widget in the second fourth of the second section of the page, as you’ll see. However, when one clicks on one of the events, a blank window pops up at the top of the screen with no information about the event.

    I realize that this is probably because I used the script that the app generates for placing widgets on external sites, but I didn’t want to use any of the short codes available because they all look so clunky in that fourth-of-the-page column. Is there anything I can do to remedy this situation?

    Thanks so much for any help you can provide.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi,

    Yes, the reason for this issue is because you use the script code on the site where the plugin is installed. Is this a sidebar? Have you tried using the “Upcoming Events” widget?

    Thread Starter studdedrooster

    (@studdedrooster)

    It isn’t a side bar, it’s a section of my homepage. The html for this section reads as follows:

    [one_fourth first]
    <h3>Museum & Gallery Hours</h3>
    May through end of October
    Friday & Saturday
    11am - 4pm
    
    Current Gallery Exhibit: <em><a href="https://www.fohk.org/welcome/our-properties/exhibits-in-our-gallery/">Treasures</a></em>
    Open to the public!
    
    Guided <a href="https://www.fohk.org/welcome/our-properties/the-fred-j-johnston-museum/">Fred J. Johnston House</a> Tour
    Register in the FHK Gallery
    Fee: $5, free admission for members
    
    [/one_fourth]
    
    [one_fourth]
    <h3>Events</h3>
    <script class="ai1ec-widget-placeholder" data-widget="ai1ec_agenda_widget" data-events_seek_type="events" data-events_per_page="5" data-days_per_page="7" data-show_subscribe_buttons="false">
      (function(){var d=document,s=d.createElement('script'),
      i='ai1ec-script';if(d.getElementById(i))return;s.async=1;
      s.id=i;s.src='//www.fohk.org/?ai1ec_js_widget';
      d.getElementsByTagName('head')[0].appendChild(s);})();
    </script>
    
    [/one_fourth]
    
    [one_fourth]
    <h3>?Walking Tours</h3>
    Hear about Kingston's history and see its distinctive architecture up close. Guided tours are offered May - October. To take a self-guided walking tour, brochures are always available.
    <ul>
     	<li>1658 Stockade National Historic District Walking Tour</li>
     	<li>Rondout National Historic District Walking Tour</li>
    </ul>
    <a title="Walking Tours" href="https://www.fohk.org/welcome/discover-kingston/walking-tours/">Read more</a>
    
    [/one_fourth]
    
    [one_fourth]
    <iframe style="border: none; overflow: hidden; width: 205px; height: 290px;" src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2Ffriendsofhistorickingston&width=205&height=290&colorscheme=light&show_faces=true&header=true&stream=false&show_border=false" width="320" height="240" frameborder="0" scrolling="no"></iframe>
    [/one_fourth]

    No, I haven’t used the Upcoming Events widget. Is this a feature within All-in-One Event Calendar, or a separate widget?

    Thread Starter studdedrooster

    (@studdedrooster)

    Thanks for your reply. No, it isn’t a sidebar. It’s just part of the homepage in my theme – Corona. I haven’t used the Upcoming Events widget. Is that a feature within the All-in-One Event Calendar, or is it a separate plugin?

    Do you use WP editor to add a code? If so, please try using shortocode: [ai1ec view="agenda" display_filters="false"]

    Thread Starter studdedrooster

    (@studdedrooster)

    I installed WP editor and added the shortcode you suggested. This was the result.

    I’d very much prefer it if everything above the first event (view changer, June – July 2017, print, collapse, expand) were not there. The same for the June-July 2017 and the subscribe button at the bottom.

    Also, when using the script tags, the events themselves did not have so much extra white space. I’d like to limit the space between text within each event. I’d also like to limit the number of events displayed so that this widget doesn’t look so out of place with the other columns in this section of the page. Do you have any suggestions?

    Thank you!

    Hi @studdedrooster,

    Some of these things can be done, but everything else is a calendar customization with which unfortunately we cannot help as part of our support. I suggest you create a sidebar(https://developer.www.ads-software.com/themes/functionality/sidebars/) in the places where you want to display the “Upcoming Events” widget(Dashboard > Appearance > Widgets).

    Take care,
    Ben

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Widget on homepage (script, not shortcode) won’t load event details when clicked’ is closed to new replies.