Forums

Events Manager
Need to customise the #_EVENTLINK (4 posts)

  1. Broseidon
    Member
    Posted 4 months ago #

    Hi all!

    I'm using Events Manager on an AJAX driven site meaning that all of the site URL's need to have /#!/ added to them. For example:

    http://www.mydomain.com/#!/events/

    I've been looking through the code but can't quite find where / how to edit the auto-generated #_EVENTLINK URL to include the /#!/

    Please could someone help?

    Many thanks,

    Mike

    http://wordpress.org/extend/plugins/events-manager/

  2. Marcus
    Member
    Posted 4 months ago #

    you should make the slug - #!/events in your Settings > Pages > Slugs section

  3. Broseidon
    Member
    Posted 4 months ago #

    Hi Marcus,

    Many thanks for your reply.

    I've edited the Slug but unfortunately, the #_EVENTLINK stops working once I add the /#!/ in - the link looks right visually but just doesn't do anything when you click it.

    The AJAX functionality only seem to work when I type the URL in and manually add the /#!/

    Is there a way I can manually add the link for each individual event without altering the slug?

    I very much appreciate your time! :)

    Mike

  4. Marcus
    Member
    Posted 4 months ago #

    you could override the #_EVENTLINK placeholder (see our docs/tutorials), but this won't work everywhere since some places use a hard function to generate links.

Reply

You must log in to post.

About this Plugin

About this Topic