Recent Topics

Calendars and Clocks

Started by on Jun 12, 2004 – Contents updated: Jun 12, 2004

Jun 12, 2004 22:13    

I'd like to include a calender or clock on the public blog,
and I tried inserting code for it. But it didn't show up.
Is there something more I need to do?

Thanks

Ron

<?php include( dirname(__FILE__)."/_calendar.php"); ?>

Jun 12, 2004 22:31

RonB wrote:

I'd like to include a calender or clock on the public blog,
and I tried inserting code for it. But it didn't show up.
Is there something more I need to do?

Thanks

Ron

<?php include( dirname(__FILE__)."/_calendar.php"); ?>

I tried following the instructions for including a calendar.

I inserted the code in the main.php file if the skin I'm using,
bluesky, but somehow it didn't show up. Is there a specific
place or way to do it.

Thanks
Ron

Jun 12, 2004 22:47

Ok,, I think I'll try the "custom" skin,, which comes with a clock.

Then how to install a clock,, I'm sure that's an advanced feature,
but I looked rather nice on a site someone referenced here.
I could insert it in the skins box if I'm forcing the skin anyway.

Ron

Jun 13, 2004 08:05

kding wrote:

don't know if this is what you want? if it is please let me know.
http://www.jia-ye.net/kele/blog_q.php

Yes, that seems to work. Is there others to choose from?
I suppose I can find web clocks if I look around,, I just
need to know which file to paste it into and where.

Ron

Jun 13, 2004 12:26

When including any file in your skin, the file you're pointing at, in general be in the same folder as your _main.php.

This means you should copy it out of another skin's folder.

Jun 13, 2004 15:18

I inserted the following in to

skin/yourskin/_main.php

wherever I like. you can use any flash clock (ok this is for flash files or any files requiring "object" and "embed" to display). the files can be anywhere.

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
width="140" height="140">
<param name=movie value="flash clock address">
<param name=quality value=high>
<embed src="flash clock address"
quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="140" height="140">
</embed>
</object>

Jun 14, 2004 09:57

I installed a clock on my blog, and I as able to slip in under
the banner and right above the message area. I matched
the colors for the location,, but I think if would fit better in
the upper right or upper left corner of the banner itself. I
could resize it to fit the banner and reset the color to match
the banner as well.. It's just knowing where to paste in the
code that I'm not sure of,, or what other changes that would
need to be made. What I've tried hasn't worked and the clock
was placed above the banner. I'm using the "custom" skin.

http://www.divineprinciple.net/blogs/

Here's the applet code for the clock.

<applet code="billsClock.class" width=125 height=125 align=middle>
<param name=BGCOLOR value="eeeeee">
<param name=FACECOLOR value="FFFFFF">
<param name=SWEEPCOLOR value="FF0000">
<param name=MINUTECOLOR value="009090">
<param name=HOURCOLOR value="000000">
<param name=TEXTCOLOR value="000000">
<param name=CASECOLOR value="0099CC">
<param name=TRIMCOLOR value="C0C0C0">
<param name=LOGOIMAGEURL value="java.gif">
<param name=LOCALONLY value=1>
</applet>

Ron

Jun 14, 2004 20:00

i see it is working. Good job!

Jun 15, 2004 03:32

kding wrote:

i see it is working. Good job!

Yeah, but I'd like to move it up into the banner itself, on one
of the corners.

Is that possible?

Ron

Jun 15, 2004 05:22

yeah. I think so. anywhere between <body></body> should work. I did with flash in banner too.

Jun 18, 2004 20:35

I'm trying to install a calendar in the "guadeloupe" skin,,
because on the "custom" skin it's also useful in searching
the archives and posts for certain days, but it didn't appear
quite like I thought,, (so I took it back out).

It appeared as a base calendar, but there was no links to the
archives,, and it was larger than usual, overlapping the main
text area. Here's the code I included,, also I copied the
calendar file from "custom" into the main.php file for the
"guadeloupe" skin,,

<?php // -------------------------- CALENDAR INCLUDED HERE -----------------------------
require( dirname(__FILE__).'/_calendar.php' );
// -------------------------------- END OF CALENDAR ---------------------------------- ?>

I'm sure it's just one little thing I'm missing here.

Thanks,

Ron

Jun 19, 2004 00:00

RonB, I am not sure what your calendar in guadeloupe looks like . I downloaded one from here, http://skins.b2evolution.net/. and installed it. the guadeloupe fold has no _calendar.php file. so I copied one from root skin/ fold into it. now, calendar lin guadeloupe looks nice. the font size is consistent with its style. it does have links but the active link color is the same as unlinked dates, so you have move your cursor to find out. see if you want to check http://www.jia-ye.net/blog. I will retain the guadeloupe skin there for a while.

hope the above info could give you some hints.

Jun 19, 2004 00:55

kding wrote:

RonB, I am not sure what your calendar in guadeloupe looks like . I downloaded one from here, http://skins.b2evolution.net/. and installed it. the guadeloupe fold has no _calendar.php file. so I copied one from root skin/ fold into it. now, calendar lin guadeloupe looks nice. the font size is consistent with its style. it does have links but the active link color is the same as unlinked dates, so you have move your cursor to find out. see if you want to check http://www.jia-ye.net/blog. I will retain the guadeloupe skin there for a while.

hope the above info could give you some hints.

I checked out your site and changed the skin to see guadeloupe,,

I was hoping the calendar would appear as it does in "custom",,
small, in it's own box with a white background, etc, and fit for
that column. With the calendar in guadeloupe it changes,, it's no
longer small and it changes the width of the whole sidebar, and it
encrouches on the text in the main body. It just looks odd in there.

Ron

Jun 19, 2004 10:08

[Moved to evoSkins/Template help, because that's what this is]

Jul 14, 2004 18:43

kding wrote:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
width="140" height="140">
<param name=movie value="flash clock address">
<param name=quality value=high>
<embed src="flash clock address"
quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="140" height="140">
</embed>
</object>

Hi,

If you want both Flash and valid XHTML pages you can code like this :


<object type="application/x-shockwave-flash" data="http://www.domain.com/logo.swf" width="100" height="100">logo</object>

The purpose of the piece of text "logo" (could be anything) is the WAI and section 508 validation.

[url=http://www.alistapart.com/articles/flashsatay/]Source for details[/url]


Form is loading...

CMS software – This forum is powered by b2evolution CMS, a complete engine for your website.