Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    can you be more specific?

    Thread Starter paul.finch

    (@paulfinch)

    Hi Marcus.

    I want to be able to include all the details of the events in the ical feed, ie the adress and the other fields i have setup. i used to be able to do this with the old ical.php but the new version seems to have a problem when i add the DESCRIPTION: tag?

    any help would be very gratefully received.

    Thread Starter paul.finch

    (@paulfinch)

    Hi Marcus

    I was trying to post before and below is what i had put hope the extra detail helps

    Hi There

    I have been using event manager for a while now and every time there is an update i have to replace the ical.php with a old one that I changed before to make it output the full details into my iPhone calendar.

    I have been adding :
    DESCRIPTION:Address: {$EM_Event->output(‘#_LOCATIONNAME\n #_LOCATIONADDRESS\n #_LOCATIONTOWN\n #_LOCATIONPOSTCODE\n \n Customer Name:#_ATT{Customer Name:}\n Email:#_ATT{Customer Email:}\n Phone Number:#_ATT{Customer Phone Number:}\n Mobile number:#_ATT{Customer Mobile Number:}\n Number of Guests:#_ATT{Number Of Guests:}\n Childs Name:#_ATT{Childs Name:}\n Setup:#_ATT{Setup Time:}\n AGE:#_ATT{Childs Age}{4|5|6|7|8|9|10|11|12|13+|N/A}\n \n’)}

    but when adding this to the current ical.php it means my iphone wont add the calender anymore. can anyone please tell me how you can get all the information on a event into ical feed and working on a iphone.

    thanks

    paul

    If your version of the ical.php file is being lost with each upgrade it sounds like you haven’t copied the file into your themes directory.

    There’s more info on where it should go here:
    https://wp-events-plugin.com/documentation/using-template-files/

    What happens when you try to add the calendar on your iPhone – do you see an error message?

    Thread Starter paul.finch

    (@paulfinch)

    just says its unable to add the calendar. i do replace the file each time but wondered why the new version wont support the DESCRIPTION: line?

    Plugin Support angelo_nwl

    (@angelo_nwl)

    have your tried Events > Settings > Formatting > Calendar > iCal Feed Settings > iCal Title

    Thread Starter paul.finch

    (@paulfinch)

    yes but that just changes what is in the title not the mail text of the calender entry

    Plugin Support angelo_nwl

    (@angelo_nwl)

    hmm, at the top of template file ical.php, do you have this line?

    $description_format = str_replace ( ">", "&/g/t/;", str_replace ( "<", "&/l/t/;", get_option ( 'dbem_ical_description_format' ) ) );

    this one uses the settings above.

    Thread Starter paul.finch

    (@paulfinch)

    if i leave the file as is when it comes with the plugin yes?

    Hi Paul,

    I suspect that the issue is more that adding the description in that way is making the iCal file badly formed.

    Can you try replacing your code in the ical.php with the following please?:
    DESCRIPTION: Testing description

    If that works, it means that the format you are using for your custom description field is breaking the iCal file.

    You can use a tool like https://severinghaus.org/projects/icv/ to validate your iCal file when you make changes.

    Cheers,
    Phil

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Event manager ical feed’ is closed to new replies.