Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Calendar Script CommunityCustomizationCustomizing CalendarScript (Moderators: scott, DanO, Marty)integrate with design that has menu to the left?
Pages: [1]   Go Down
Print
Author Topic: integrate with design that has menu to the left?  (Read 475 times)
0 Members and 1 Guest are viewing this topic.
wondering
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« on: June 12, 2003, 09:21:00 PM »

Ok, I'm back at my old problem. I need to integrate the month grid view of the calendar in my site which has the menu to the left.

I manged to do this with the ilayer/iframe trick from the forum, but once the calendar gets full I get an ugly scroll bar that my customer does not want.

I tried to poke around in the default template, but there's way too much perl etc in there and I just end up with a page that does not work at all.

I managed to remove the calendar's own menu (which I don't want to display on that page) but how/where can I insert my own menu on the left of the calendar?

If somebody was able to do this, maybe you could point me to the location in the template where I could add a table for my menu? Or maybe somebody has a template for this already?

I searched the forum and the plug in page but did not see anything like that.

Again, what I need is:

S I T E   H E A D E R   G R A P H I C   I S   H E R E

MENU   C A L E N D A R   I N  M O N T H  G R I D
OPT1   G O E S   H E R E
OPT2   .
OPT3   .
OPT4   .
ETC    .
      .
      .


Any ideas??

wondering.....

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: June 13, 2003, 01:11:00 PM »

** I managed to remove the calendar's own menu (which I don't want to display on that page) but how/where can I insert my own menu on the left of the calendar? **

Can you not put the HTML code for it where the original side menu was in the default.html template file?

Dan O.

------------------

Logged
wondering
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #2 on: July 14, 2003, 01:48:00 PM »

hmm, I guess I could try that? But - if I remember correctly - I removed that by just commenting some lines out, I'll have to look through my notes.

Iframe works ok, but it's kind of ugly and sometimes forces horizontal scroll bars, which is bad :-)

I'll have to fiddle with this more. Nobody else had to build a template like this? Would be great if one could be added, all that it really would need (I think) is an empty table cell to the left of the calendar display. I tried it several times, but I get lost in all the perl etc :-(

------------------

Logged
wondering
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #3 on: July 14, 2003, 02:02:00 PM »

FWIW, here's the code I use to display the calendar right now:
<p class="Header"> <iframe width=700 height=1200 src="http://www.sitename.com/cgi-bin/calendar.pl?calendar=default" align=left >
       <ilayer src="http://www.sitename.com/cgi-bin/calendar.pl?calendar=default" left="-1">
       </ilayer>
       <nolayer> <a href="http://www.sitename.com/cgi-bin/calendar.pl?calendar=default">click
       here for calendar, use 'back' button to return</a> </nolayer> In order
       to see this page correctly you'll need Internet Explorer or the latest
       Netscape Navigator. </iframe></p>

I use IE 5.5 and get a frame as display, not a layer. I tried leaving the iframe part out, but that displays nothing.

I really like this calendar, but I need to solve this display problem before I can go live with it. Is there some way to have the frame size dynamic? I.e. the correct size needed w/o scroll bars? Having two sets of scroll bars (browser and frame) on the page is confusing and kind of ugly.

Thanks so much!

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #4 on: July 15, 2003, 03:12:00 PM »

** Is there some way to have the frame size dynamic? **

No, not unless the page containing the iframe tag was reloaded and that page could change the iframe tag's attributes each time.

Dan O.

[This message has been edited by DanO (edited July 15, 2003).]

Logged
wondering
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #5 on: July 24, 2003, 02:54:00 PM »

do you know of any site that has a design like mine? I saw one site once that was linked from somewhere in this forum, but I can't find that post anymore.

This can't be all that hard to build and I'm pretty sure others would love a template like this too. I've tried all I can, but there's so much non-html code on the page and I don't know which parts to keep on top of the header etc. I've tried to squeeze an extra table in here and there too, but no luck...
I really need to solve this - hopefully without having to take advanced perl classes ;-)

Any and all ideas are welcome, and if you know of a site that solved this, please let me know! I'm starting to feel really stupid, as this seems a rather simple thing to do...

------------------

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #6 on: July 25, 2003, 12:45:00 PM »

** do you know of any site that has a design like mine? **

No but I doubt that would help you anyway. You're going to have to edit the default.html template file and insert the necessary code where you want it to be displayed.

Dan O.

------------------

Logged
wondering
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #7 on: July 26, 2003, 01:59:00 PM »

I guess I'll have to give that one more try. We'll see how that goes....

------------------

Logged
cecilc
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #8 on: July 28, 2003, 07:26:00 AM »

do you know of any site that has a design like mine?

This might be similar:
Lassiter High School Lacrosse. Not having seen your's, I'm just guessing.....

------------------
Cecil

[This message has been edited by cecilc (edited July 28, 2003).]

[This message has been edited by cecilc (edited July 28, 2003).]

Logged

Cecil
wondering
New Member
*

Karma: 0
Offline Offline

Posts: 0


WWW
« Reply #9 on: August 29, 2003, 02:28:00 PM »

that's exactly what I'm looking for! Just getting back to this topic again, did you modify the calendar default.html page or rebuild the whole thing? I see a lot of very nice coding in your source, but can't tell if any of that is hardcoded or generated for display.

Very nice looking site BTW! Wish I could code so nice, alas, not there yet....

------------------

Logged
BernieUK
Guest
« Reply #10 on: October 08, 2003, 04:37:00 PM »

I've tried using the iframe command to include the calendar on a web page called www.mysite.com/calendar

The calendar is called and displays well in the additional frame which is hardly noticeable.  

But I've included a logo in the calendarscript which is linked back to the home page.  When clicked, the home page appears within the iframe - is there a way of turning iframe of when a linked graphic like this is clicked?

Sorry if I'm being dim

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #11 on: October 08, 2003, 08:17:00 PM »

** is there a way of turning iframe of when a linked graphic like this is clicked? **

You can assign a target to HTML links. There are a couple of special ones, using "_top" will load the linked page into the very top of the browser (escaping any frames the page with the link on it might be in). Eg

<A HREF="whatever" TARGET="_top">click here</a>

It is really the most elementary HTML, see Targeting Frames.

Dan O.

[This message has been edited by DanO (edited October 08, 2003).]

Logged
Pages: [1]   Go Up
Print
Jump to: