in Calendar / how remove the word "event"

Started by TheDragon, November 04, 2013, 03:35:28 PM

Previous topic - Next topic

TheDragon

I did this on an older forum
worked great
(ie the word Event: takes up too much space
so . . .
what file do I edit ??

thanks !


kat

index.english.php, in the default theme's "languages" directory. :)

Kindred

k@, that would remove every use of the word...

Dragon...     edit calendar.template.php and remove the reference to the text string (probably $txt['event']
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

TheDragon

K: -> U Da Man!
( scoured calendar php = argh_

Kindred:
ty / let me check


this what I did so far (per K)
Quote$txt['events'] = 'Event :';
into
Quote$txt['events'] = ':';

kat

Depends where and how you want it removing, really. As Kindy said, my way removes it, from everywhere.

Although, it won't affect "Events", "Upcoming Events", "or other permutations, which are in that same file. :)

$txt['calendar_event_title'] = 'Event Title';
$txt['calendar_event_options'] = 'Event Options';
$txt['calendar_post_in'] = 'Post In:';
$txt['calendar_edit'] = 'Edit Event';
$txt['event_delete_confirm'] = 'Delete this event?';
$txt['event_delete'] = 'Delete Event';
$txt['calendar_post_event'] = 'Post Event';

I think the way I said might be OK, with all those others, there.

TheDragon

i wanted the GREEN word EVENTS removed from the graphic of the calander
K's way seems to work ok for now
it still say post events on the bottom submit button


kat

Well, at least you'll know what to edit, if anything goes weird, elsewhere. ;)

margarett

The string $txt['events'] is used in Calendar.template.php, BoardIndex.template.php and SSI.php

I would advise to remove the call in Calendar.template.php (there are 2 lines like this):

<span class="event">', $txt['events'], '</span>';
Se forem conduzir, não bebam. Se forem beber... CHAMEM-ME!!!! :D

QuoteOver 90% of all computer problems can be traced back to the interface between the keyboard and the chair

TheDragon

thanks all
seems to work so far
will repair if it gets broken

Advertisement: