RSS

LuxCal Forum

The place for questions, suggestions and news about the LuxCal Event Calendar

User:   Password:   Remember Me?   
LuxCal Forum / General / Support / Remove pageTitle and subHead?
Posted:  17 Jan 2014 18:31
Hello,

I've embedded an iframe of upcoming events onto my website, but I would like to hide the title and date range at the top. I've already hidden the navigation buttons by putting in hdr=0, but I was wondering if there was a way to hide the pageTitle and the subHead divs that are present within that view. My calendar, specifically is as follows: http://www.samuelbisson.ca/LuxCal/?hdr=0&cP=7.

Thank you,
Sam
Posted:  18 Jan 2014 13:58   Last Edited By: Roel B.
Hi Sam,

The following two minor changes are required:

1. Remover header "Upcoming Events":
In the file index.php change line 173 from . . .
     '7' => array ('views/upcoming.php','1','0','m','1','0',$xx['title_upcoming'],'y',''),
into . . .
     '7' => array ('views/upcoming.php','1','0','m','1','0',,'y',''),
In other words delete from this line the part "$xx['title_upcoming']".

2. Remove date range:
In the file views/upcoming.php comment out lines 80, 81 and 82 (all three starting with "echo").
You can do this by putting two slashes "//" at the start of the lines.

Roel
Posted:  18 Jan 2014 19:22
Hi Roel,

That's fantastic! Thank you so much. I did need to add a '' in the place of the $xx['title_upcoming'] to make it work, but it works perfectly now.

Thank you!
Sam

P.S. I have one more question, but will submit in a different thread.