Welcome to Geeklog, Anonymous Tuesday, July 16 2024 @ 08:13 am EDT

Geeklog Forums

Removing Add Event from Calendar


uits

Anonymous
Hi, I really need to remove the add event button and link that shows next to Back To Calendar when you are in an event. I've searched the forum, and documentation but I can't seem to find if this has been done before and how. I'd really appreciate help on this, as it's the only thing preventing the site from going live. Thanks.
 Quote

Status: offline

Turias

Forum User
Full Member
Registered: 10/20/03
Posts: 807
in layout/your_theme/calendar/events.thtml, remove

Text Formatted Code
[ <a href="{site_url}/submit.php?type=event">{lang_addevent}</a> ]


 


Also, in layout/your_theme/calendar/addeventoption.thtml, delete everything.
 Quote

uits

Anonymous
excited
Thanks! I can go live tonight Smile.
 Quote

uits

Anonymous
Template Error: loadfile: While loading addevent, /yadda/yadda/addeventoption.thtml does not exist or is empty.
Halted.

I used in the file and it worked just fine, just a note for others doing the same. Thanks.
 Quote

uits

Anonymous
&lt;a&gt;&lt;/a&gt;...evident how much I use html isn't it?
 Quote

All times are EDT. The time is now 08:13 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content