Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > Integration > Wordpress

Wordpress Information about integrating the calendar with the Wordpress Content Management System.

Closed Thread
 
Thread Tools Search this Thread Display Modes

How to modify basic calendar: remove navigation links
Old 02-01-2007, 05:16 PM   #1
euc
Calendar User
 
euc is offline
Join Date: Jan 2007
Posts: 7
Question How to modify basic calendar: remove navigation links

This question is more general than just for WordPress, but since that's what I'm using I will start here.

I want to display the calendar as shown WITHOUT the navigation.



Can someone tell me where to find the html / php that places the navigation at the bottom so that I can remove it from a custom version of calendar.php?

Thanks!
 

Old 02-01-2007, 06:37 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Calendar.php doesn't have the code that creates the calendar... it calls another encrypted file that creates the output necessary.

As for what you want to do, we've already accounted for that and provide you two ways of accomplishing it.

1- If you want to remove it from all normal mode calendars, in the Setup Manager, under the Navigation section, just disable it.

2- If you only want one calendar to not have the navigation, just before the require, add
PHP Code:
$noNav="1"
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 02-01-2007, 07:18 PM   #3
euc
Calendar User
 
euc is offline
Join Date: Jan 2007
Posts: 7
Default

That second option works perfect. Thanks!
 

Old 06-07-2007, 11:55 AM   #4
lesliekirk
Calendar User
 
lesliekirk is offline
Join Date: Jun 2007
Posts: 6
Default

Quote:
Originally Posted by ve9gra View Post
2- If you only want one calendar to not have the navigation, just before the require, add
PHP Code:
$noNav="1"
Time for a very ignorant question - I assumed when you said "just before the require" you meant something like this:

PHP Code:
<?php $OL="1"$noNav="1"; require("calendar/calendar.php"); ?>
I tried that but it didn't work.
 

Old 06-07-2007, 03:42 PM   #5
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

You need it before the require for the calendar... not the one for the $OL code...
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Increase size of calendar navigation ( << & >> ) ktech General Support 12 12-13-2007 11:18 PM
Calendar Navigation gmrobert General 1 12-18-2006 06:17 PM
Calendar display after using navigation hercomserv Installation / Upgrade Questions 2 04-04-2006 07:26 PM
Remove links to set up manager and event manager from calendar page + event listing chris808 Customizations (Themes / Templates) 1 12-20-2005 02:14 PM
Links to previous and next calendar months don't work willowgerl General 7 06-27-2005 04:15 PM



All times are GMT -4. The time now is 05:21 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |