PDA


View Full Version : calendar content on custom page


kur1j
05-14-2005, 02:34 AM
its a "How Do I..." :D.

What would i need to do to ocomplish this. These pictures should explain it.


http://kur1j.info/content.jpg
How would i get this content (basicly the main part of the calendar) into this area.

Where the big black X is... what would I need to do that?
http://kur1j.info/inside.jpg

Any help would be appreciated. Thanks.

Brian
05-14-2005, 11:53 AM
Your best bet would probably be to integrate the calendar with the CMPS.
http://www.vbadvanced.com/membersarea.php?do=viewusermanual&productid=4&pageid=6

kur1j
05-14-2005, 03:07 PM
So I am guessing if i want to put the calendar in the center I would have to just edit calendar.php and look for


eval('print_output("' . fetch_template('CALENDAR') . '");');


and replace it with

eval('$HTML = "' . fetch_template('CALENDAR') . '";');

print_portal_output($home, $HTML);

?

kur1j
05-14-2005, 03:59 PM
ok well i got the calendar intergrated but I still cant figure out how to get it to display under Page Identifiers.

example:

I want the calendar to display under ./index.php?page=duh and /index.php?page=duh2

i added

define('VBA_PORTAL', true);
define('VBA_PAGE', 'duh');
define('VBA_PAGE', 'duh2');

but it still wont display it at that page :(.

Well I just did a little work around but now when I go to add an event or even view the event it doesn't show up it just displays nothing :(.

well dang if i keep doing this im going to really piss me self off. I just edited to much. Thanks



example:

I want the calendar to display under ./index.php?page=duh and /index.php?page=duh2

i added

define('VBA_PORTAL', true);
define('VBA_PAGE', 'duh');
define('VBA_PAGE', 'duh2');


I am still kinda curious as to how to set it up where this will work.

Brian
05-15-2005, 11:51 AM
The calendar is only going to be able to be displayed by going to calendar.php.