Welcome to Geeklog, Anonymous Sunday, December 22 2024 @ 11:25 pm EST

Geeklog Forums

MyCal - remove buttons and text


Darwin Fish

Anonymous
embarrassed
I just want to display the mini-calendar block without the two buttons that allow one to go forward or back a month or the text "Click on any day to see postings and events for that date". Can anyone direct me to the file with the proper code so I can remove it? Thanks!
 Quote

Status: offline

knuff

Forum User
Full Member
Registered: 12/17/04
Posts: 340
Location:Sweden
Hi,

Just go to the mycal/main.php file and look for this code:

Text Formatted Code
    $BlockDisplay .= "</table>"
        . "<table width='100%' border='0'><tr>"
        . "<td>"
        . "<form method='post' action='".$PHP_SELF."' >"
        . "<input type='submit' value=' < '>"
        . "<input type='hidden' name='month' value='".$PrevMonth."'>"
        . "</form></td>"
        . "<td align='center'><font size='-2'>"._mycal_ClickonDate."</font></td>"
        . "<td>"
        . "<form align='right' method='post' action='".$PHP_SELF."' >"
        . "<input type='submit' value=' > '>"
        . "<input type='hidden' name='month' value='".$NextMonth."'>"
        . "</form></td>"
        . "</table>";

    return $BlockDisplay;

 


Strip out as you wish, so it looks like something as this ?

Text Formatted Code
     
 $BlockDisplay .= "</table>";
    return $BlockDisplay;

 


Greetz,
Boris
Vanrillaer.com - our Family Portal
 Quote

All times are EST. The time is now 11:25 pm.

  • 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