ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Pull events from multiple weblogs into single events calendar

January 12, 2011 1:11am

Subscribe [1]
  • #1 / Jan 12, 2011 1:11am

    mrsc

    12 posts

    Hello,
    I can’t seem to figure this out.
    Originally had 1 event publish form, and the event would automatically show up in events calendar.
    Created a separate weblog and more complicated publish form for special events (such as conferences & expos).

    Issue: I’d like events from both weblogs to appear in the main events calendar.  I’ve gotten them both to show up, but am unable to figure out how to get the special events to link properly.  The older event is fine; it is the new “special event” weblog entries that I am having an issue with.

    Here is the bit of code I am struggling with.  How do I get the “special events” weblog entries to pull up the proper link?  The path would be specialevents/event instead of calendar/event.

    {if entries}
                        <td class='{switch}' align='center'>
                            {day_number}
                            {entries}
                                <div class="event_link">
     <a href="http://{url_title_path=calendar/event}" title="{embed=">{title}</a>
                                </div>
                            {/entries}

    Any ideas?

    Much thanks

    EE build 1.6.8

  • #2 / Jan 12, 2011 8:25am

    mrsc

    12 posts

    Seemed to have fixed problem.  Night of sleep can do wonders for the brain.  😊

    Found following thread: http://ellislab.com/forums/viewthread/168047/ and it helped loads.


    Used {comment_auto_path}{url_title} in place of {url_title_path=calendar/event} and set the comment path in the Admin > Weblog Management for each respective weblog.

  • #3 / Jan 12, 2011 5:15pm

    Lisa Wess

    20502 posts

    Glad you got this one figured out, mrsc!  Please post back if you have any other questions.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases