Attempting to add content inside loop.php for map view

Home Forums Calendar Products Events Calendar PRO Attempting to add content inside loop.php for map view

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1108014
    Joanna Love
    Participant

    We would like to display our advertisements after every second post. I did this successfully on the list view by adding the advertisement function call at the end of the while loop and creating a flag to let me know every second post. Doing this in the map view seems to be causing some problems though. Firstly I tried to write a function to handle working out which ad I wanted and calling that. However when I called this function the mapview would display correctly but with a spinning loading wheel over it. I thought perhaps my code was causing it to not finish loading correctly so I migrated the core of my function directly into the while at the end of loop.php now my advertisements will appear correctly for a moment while the spinning loading sign is present then the loading symbol goes away and with it so does my advertisements.

    I’m using oiopublisher to display my banner ads, I’m overriding loop.php inside my child template.

    #1108040
    George
    Participant

    Hey Joanna,

    Thanks for reaching out. The features you are trying to implement are possible, but would unfortunately require many code customizations to implement 🙁

    So to implement the features you describe, you would have to write that custom code or hire a professional developer to do it for you. We have a list of great developers here → http://m.tri.be/18k1 (and have no affiliation with any of these folks—they’re simply some well-respected names in the community that we’ve compiled to share in situations like this one).

    I will close this thread for now because we cannot help with customizations. Please read this page to learn about what types of questions we can address → https://theeventscalendar.com/knowledgebase/what-support-is-provided-for-license-holders/

    Best of luck with your customizations,
    George

    #1113848
    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 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Attempting to add content inside loop.php for map view’ is closed to new replies.