localendar Forums Homepage

Print at Feb 18, 2018, 10:40:24 AM View all posts in this thread on one page
Posted by brenda-collins at Feb 3, 2018, 12:33:19 PM
Newbie after some help please!
Hi, just hoping someone might be able to point me in the right direction on a couple of (probably simple to fix) problems I'm having using localendar on my website.

1 - How can I disable the ability for someone to click on an event? All I want displayed is the event title, no clickable link so it won't open a pop-up window when someone clicks. Basically they can click away but it won't do anything, that's what I'm trying to achieve.

2 - Is there a way to remove the 'RSS' and 'iCal' icons from the lower corner of the calendars? Again I just want a basic view only to display the info, none of these other things.

Thanks in advance :)

Graeme.

Posted by support at Feb 3, 2018, 4:26:38 PM
Re: Newbie after some help please!
#2 is easy:
http://localendar.com/docs/display/lc/Hide+the+RSS+and+iCal+links

Regarding #1, you can do this, but we don't recommend it since it will remove the ability for visitors to click events and import them into their personal calendars or set personal email reminders.

If there is a description or other information on an event, your visitors will not have a way to view this information.

If you are sure though, you can include this code in your calendar title or footer field (under Options->General)

<script>$(function() {$('.m-usr').closest('div').removeAttr('onclick');});</script>

Warning: This will disable clicks when your calendar is publicly viewed, but also when you are signed in! If you want to edit events, you will have to temporarily remove this line.
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news

Posted by brenda-collins at Feb 3, 2018, 6:34:24 PM
confused   Re: Newbie after some help please!
Hi, thanks very much for your quick reply.

Regards #1, that's now sorted and working how I wanted so thanks for that.

Regards #2, unfortunately I've followed the instructions on the link provided but it doesn't remove the icons. I'm presuming I put the 'rss_link=N' section into the javascript code which is on my page, as follows :

<SCRIPT type="text/javascript" src="//localendar.com/public/namegoeshere?style=W1&include=Y&rss_link=N"></SCRIPT>


I've done this, on 2 separate pages, but it's still showing the RSS/ical icons

Posted by support at Feb 4, 2018, 3:53:15 AM
Re: Newbie after some help please!
Hmmm.. it should be fine. Can you press Ctrl-F5 in your browser to make sure the page wasn't cached?
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news

Posted by brenda-collins at Feb 4, 2018, 12:04:24 PM
biggrin   Re: Newbie after some help please!
Sorry, I should have known that - it appears to be working now! I am an idiot!

Thanks again for your help.

Posted by support at Feb 9, 2018, 6:24:39 PM
Re: Newbie after some help please!
No worries - happy all is well smile
----------------------------------------
Marc Higgins
Support Associate, localendar.com
Follow us on Twitter! http://www.twitter.com/localendar_news


Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us