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


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

XOOPS block/showCat problem
Old 09-29-2005, 02:14 PM   #1
decontructor
Calendar User
 
decontructor is offline
Join Date: Sep 2005
Posts: 2
Default XOOPS block/showCat problem

Here is the code I put in a XOOPS custom block. The calendar comes up fine. I can't get the showCat varaible to work though.
I have latest version of the calendar.



*** Block below ****
// used this in my PHPNUKE site
$CSS=1;

require("/home/content/x/k/a/xkanex/html/cal/calendar.php");
ob_start();

$OL=1;
require ("/home/content/x/k/a/xkanex/html/cal/calendar.php"); //required if you're going to use overLib

//This is what i got from find/filter yellow bar
$showCat="[Any] | Rampage -5";
require ("/home/content/x/k/a/xkanex/html/cal/calendar.php"); //the line that shows the calendar

// What's following is the section required for the listing
// Uncomment if you want the listing to appear.
// You will have to modify the /cal/templates/monthly.php file accordingly
// so that it fits in your site.

//$LIST=1;
//$DF = "D - M d";
//$template="monthly.php"; //just specify the name of the template - no path!
//require ("/cal/showCalendar.php"); //display the list of events

$content = ob_get_clean();

//added this for XOOPS
return $content;
 

Old 09-29-2005, 03:25 PM   #2
decontructor
Calendar User
 
decontructor is offline
Join Date: Sep 2005
Posts: 2
Default

changed to $showCat="|5"
It now works
 

Old 09-30-2005, 06:51 AM   #3
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Just as a quick FYI, what it shows there is actually like

human format - calendar list

so having "[Any] | Rampage - 5" actually means, look in any main category but match "Rampage as the secondary category, and if you're to use $showCat, it's "5".

The "|" is a seperator for if you have more than one value, so if you see "- 5", you only need to put $showCat="5"

But glad you got it working.
__________________
-- 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
Click popup problem? Mindriot General Support 4 09-09-2005 02:44 PM
domain problem Melkor General 1 12-21-2004 10:31 AM
Newbie problem re write permissions donmarvin General Support 4 08-03-2004 06:59 PM
looping setup problem as well petro General Support 12 05-30-2004 12:00 PM
setup/config problem wrrn General Support 14 05-25-2004 05:57 AM



All times are GMT -4. The time now is 03:56 PM.


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 |