Embedding Calendar on a page

Home Forums Calendar Products Events Calendar PRO Embedding Calendar on a page

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #95733
    mozakdesign
    Participant

    Hi .. I want to embed the calendar (http://dsno.org/events/upcoming/) on the homepage. Is there some code / php cal I could use?

    Thanks

    #95860
    Julie Kuehl
    Participant

    Hi mozakdesign,

    Our plugin does not use shortcodes, so it’s not possible to add the calendar to a homepage. However, if your homepage supports widgets, you may be able to display the Mini Calendar there, if that suits your purpose.

    Does that answer your question?

    — Julie

    #95879
    mozakdesign
    Participant

    But I need the list view as shown on the page. can you point me to the php file that causes the execution of the code creating the calendar page

    http://dsno.org/events/upcoming/

    Thanks

    #96292
    mozakdesign
    Participant

    How about this:
    What php code would I need to copy to
    1) execute the Events List widget as a php call and
    2) alter it to also display the excerpt?

    #96320
    Julie Kuehl
    Participant

    Hello mozakdesign,

    That sounds like a really cool idea, but what you are trying to do is outside of the way the plugin was designed. Complex customizations like this are beyond the scope of our support. However, we do provide a Themer’s Guide (https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/) and Documentation (http://docs.tri.be/) to help you make those changes yourself. If that is beyond your skill set, we may be able to provide a list of developers who could potentially help you.

    Good luck with your project!

    — Julie

    #96364
    mozakdesign
    Participant

    I’m almost there … what is the php code to access the excerpt? I’ve got everything else

    #96367
    mozakdesign
    Participant

    would this do it?

    <?php echo tribe_events_get_the_excerpt() ?>

    if I add that to the list-widget.php ….

    #97549
    Julie Kuehl
    Participant

    Hello mozakdesign,

    Looks to me like you’re on the right page there. And from the looks of your website, I’m thinking you got it working. Nicely done!

    — Julie

    #102277
    efromdc
    Participant

    MozakDesign – Can you tell me what files changed to make the homepage display events? Step by step please?

    #104000
    mozakdesign
    Participant

    Sure thing.

    1) I installed a plugin called Custom Sidebars and make the sidebar “EventsListHome”
    2) I place the “Event List” widget in the new sidebar
    3) I added to my homepage php code the following:
    <?php dynamic_sidebar( ‘EventsListHome’ ); ?>
    4) in the pro list-widget.php I added <?php the_excerpt(); ?>


    <?php if ( $phone && tribe_get_phone() != ” ) { ?>
    <span class=”tel”><?php echo tribe_get_phone(); ?></span>
    <?php } ?>
    <div class=”excerpt”>
    <?php the_excerpt(); ?>
    </div>

    </div>

    #983056
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Embedding Calendar on a page’ is closed to new replies.