Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
Inserting full calendar in existing page

 
Post new topic   Reply to topic     Forum Index -> Web site integration
View previous topic :: View next topic  
Author Message
pkbarbiedoll



Joined: 12 Sep 2008
Posts: 15

PostPosted: Fri Oct 31, 2008 12:12 pm    Post subject: Inserting full calendar in existing page Reply with quote

I'm including the mini calendar view with this:

$cal->display_month_mini();

So my existing site header is used. I like the full calendar display, with the day/month/year/events header, and little year calendar on the left.

Is there a way to generate the full thing using something like this?

$cal->display_full_thing();
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5279

PostPosted: Fri Oct 31, 2008 3:04 pm    Post subject: Reply with quote

Hi,

Not to display the whole site, no. You should be able to basically accomplish this by adding a site head / header / footer in Admin -> Site Settings.

Let me know if this will not work for you.
Back to top
View user's profile Send private message Visit poster's website
pkbarbiedoll



Joined: 12 Sep 2008
Posts: 15

PostPosted: Fri Oct 31, 2008 3:48 pm    Post subject: Reply with quote

It does not work because of dynamic content in the <body> area before the calendar.
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5279

PostPosted: Fri Oct 31, 2008 4:11 pm    Post subject: Reply with quote

If it's PHP content, you may insert it between <?php ?> tags. Is it PHP content?
Back to top
View user's profile Send private message Visit poster's website
pkbarbiedoll



Joined: 12 Sep 2008
Posts: 15

PostPosted: Fri Oct 31, 2008 4:13 pm    Post subject: Reply with quote

Yes it is PHP. I assumed that area only allowed HTML?

Last edited by pkbarbiedoll on Fri Oct 31, 2008 4:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5279

PostPosted: Fri Oct 31, 2008 4:14 pm    Post subject: Reply with quote

Hi,

PHP will work as well so that people may enter dynamic content.
Back to top
View user's profile Send private message Visit poster's website
pkbarbiedoll



Joined: 12 Sep 2008
Posts: 15

PostPosted: Fri Oct 31, 2008 4:15 pm    Post subject: Reply with quote

It would work better to include a page header so site admins aren't required to maintain two different headers with the same content.
Back to top
View user's profile Send private message
pkbarbiedoll



Joined: 12 Sep 2008
Posts: 15

PostPosted: Tue Nov 04, 2008 2:25 am    Post subject: Reply with quote

Hi,

I am becoming frustrated with this. Yes, I can enter PHP - great. The problem is that the PHP header on all other pages on my site is complex. It has include statemetns, uses sessions and is spread across several files. So basically, if I want to replicate the same header content on the rest of my site I am going to have to spend a day or two writing a duplicate header for this calendar. Any time I need to change anything it has to be done in two places - which defeats the purpose of server side scripting.

Please tell me there is a workaround. I've worked with this all day and am at my wits end.
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5279

PostPosted: Tue Nov 04, 2008 9:53 pm    Post subject: Reply with quote

Hi,

I'm sorry. Would this work?

Code:
<?php include("/path/to/site/header.php"); ?>


If not, what is stopping it from working?
Back to top
View user's profile Send private message Visit poster's website
pkbarbiedoll



Joined: 12 Sep 2008
Posts: 15

PostPosted: Tue Nov 04, 2008 11:20 pm    Post subject: Reply with quote

I use sessions to manage user activity. when I include thyme like your example above, clicking any link destroys my session.. my site's user is logged out, and that is not acceptable.
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5279

PostPosted: Wed Nov 05, 2008 6:27 am    Post subject: Reply with quote

Ahh.. I was not made aware that your session was started in your header. Would you mind sending me your header so that I may take a look please? ian@extroso... also include the URL to your Thyme installation please.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Web site integration All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.