Help Desk

remove ical import?

  • Posts: 8 Topics: 6
    | Permalink

    How can I remove the ical import function, not just hide via css as the link /event/ical would still be active. Thanks.

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    You’d have to make some edits to the code…let me check with our dev on this to see what file you’d modify.

    Posts: 8 Topics: 6
    | Permalink

    Thanks Rob

    Posts: 8 Topics: 6
    | Permalink

    Hey Rob – any luck?

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Hey Adam. Our dev is out all of this week, so unfortunately no dev-related support issues are going to be addressed until Monday. Should have you a response then though. Apologies for the delay in the interim.

    Posts: 8 Topics: 6
    | Permalink

    No worries, appreciate the help.

    Posts: 24 Topics: 5 Answers: 3
    | Permalink

    Hi Adam, the ical string is inside the gridview.php file.

    You will find this:

    <a title="” class=”ical” href=””>

    Just delete it if you dont need it πŸ™‚

    Ah, dont edit the one inside the plugin folder, remember to create an “events” folder inside your theme and then copy the needed files (in this case “gridview.php”) inside it.

    Posts: 24 Topics: 5 Answers: 3
    | Permalink

    Opsss… comment here removed the script i have posted…
    never mind about this –>

    check the line from “if( function_exists( ‘tribe_get_ical_link’ ) ):” to “endif;”

    Posts: 24 Topics: 5 Answers: 3
    | Permalink

    Woaaaa, maybe this comment field need some text to explain how to write code, links etc… πŸ™‚

    Posts: 8 Topics: 6
    | Permalink

    Hi Roberto,

    So to be clear since the formatting was funny in your post:

    1) In gridview.php – I remove
    2) In gridview.php – I replace the function “if(function_exists(‘tribe_get_ical_link’)):” with “endif:”

    Correct?

    Thanks!

    Posts: 8 Topics: 6
    | Permalink

    I see what you mean about the funny formatting

    1) above should be In gridview.php – I remove the <a href that references the ical link

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    We’re going to rework the forum here so it can better handle code within some sort of < code > or related tag. Sorry about the inconvenience in the interim; probably easiest to drop your code into http://pastie.org/ and share the code that way until such a feature is deployed. Sorry about that.

    Posts: 24 Topics: 5 Answers: 3
    | Permalink

    Hi Rob, let mi know if you need some freelance support for all πŸ˜‰

    Anyway, good job for the plugins!

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Hey Roberto – we’ve actually just been talking about finding helpful folks on the forum who might be interested in freelancing a bit. If you shoot me an email with the language translation files (as we mentioned in a separate thread), mention that you’re interested in this and I’ll talk it over with the team. Thanks man!

    Posts: 24 Topics: 5 Answers: 3
    | Permalink

    Great, Rob!
    I will send the ita po file in a few days (for now it will be 50% completed. I have translated the most useful strings).

    Posts: 24 Topics: 5 Answers: 3
    | Permalink

    Sent πŸ™‚

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Thanks Roberto. Weirdly, I didn’t get it. What address did you send to?

    Posts: 24 Topics: 5 Answers: 3
    | Permalink

    I sent the email to inbox@tri.be.
    Shane answered me.

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Awesome! Thanks Roberto.

    As for the broader ical removal…I emailed this to Adam directly, but you could do a template override and remove the link.