Permalinks Issue

Home Forums Calendar Products Events Calendar PRO Permalinks Issue

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #11666
    Lee
    Member

    I am using permalinks setting: Month & Name which looks like.. http://shadowbrookchurch.org/site/index.php/2011/12/sample-post/

    In the Calendar Settings I have the URL Slug as events. But when I run the site the links show up http://shadowbrookchurch.org/site/events instead of http://shadowbrookchurch.org/site/index.php/events.
    Any idea how I can get the proper URL on the links? The Calendar URL Slug setting swill not let me make it index.php/events. It strips the forward slash.

    #11675
    Rob
    Member

    Hey Lee, thanks for the note. Is this possibly an issue of where the calendar is installed? Everything before the /events isn’t being generated by the plugin; the URL structure for the events should be the same as for any other post. Is there a reason you need to have the index.php in the URL to begin with?

    Let me know, just to clarify things for me. I can get a dev to take a look from there as needed.

    #11684
    Lee
    Member

    Rob,
    I think the issue is the use pf permalinks. My site does not support mod_rewrite so the permalinks have a “index.php/” after the site URL and then the page/post..Any page or page that is created in the site will have the index.php/ before the page/post name. When the calendar creates the links to view all events or move from month to month, the index.php doesn’t get added. So it seems like your links are not properly generating the permalink prefix to the URL.

    #11839
    Rob
    Member

    Thanks for confirming. In that case, let me get our dev Jonah to take a look – this is a bit outside my area of expertise.

    #11936
    Rob
    Member

    Just a heads up that since Jonah was perplexed by this too, I’ve got it on another dev’s plate. Should be receiving a response very shortly – my apologies for the delay.

    #11993
    Rob
    Member

    Here’s a solution that one user emailed to us, and said worked for her. Would be interested in hearing whether this was a viable solution for you too. In the-events-calendar.class.php under the section “// events slug happiness”, found on line 880 she commented out the following….

    $slug = sanitize_title_with_dashes($slug);
    $slug = str_replace(‘/’,’ ‘,$slug);

    This seemed to work for her. Lee, would you be willing to give this a shot and let me know if it’s a success?

    #11994
    Lee
    Member

    Rob,

    That worked. Thank you for getting it resolved for me (and thanks to the user who suggested it)

    #12011
    Rob
    Member

    Excellent to hear, Lee. Thanks for confirming!

    #974695
    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 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Permalinks Issue’ is closed to new replies.