Freeway Pro (and even Express) has a very robust system that allows
you to insert snippets of code pretty much anywhere you need to within
your page. Dave’s system requires PHP, which means your host has to
provide that service on their server (most do) and you have to change
the filename extension of your page from .html to .php.
Then in your layout, you would create the little calendar icon whatsit
and style it the way you want it to appear, but instead of the
‘MonthName Year’ line at the top, you would put an inline Markup Item
(main menu / Insert / Markup Item when you have a flashing text cursor
in that box) and in that MI, you would put a tiny snippet of PHP, like
maybe this: <?=$monthyear?>.
And you would do the same for the giant day of the month, with
something like <?=$day?>. Finally, you would have to set up those
variables before you ask for them by name, so in the Before HTML
section of the Page / HTML Markup dialog, you would put in another
lump of code, which would probably be something like this:
<?php
$date = date('j',time());
$monthyear = date('F Y',time());
?>
…and you would be done. A few caveats: once you change your page’s
extension to .php, you can no longer preview it locally – it has to
be served by a Web server that runs PHP in order to convert the code
you added into normal HTML. And once you start fiddling with inline
Markup Items, you will have to become acquainted with the notion of
“wrapping” a MI with styled spaces in order to give the text it emits
a particular style. Both of these concepts are fairly straightforward
once you wrap your head around them.
But the beautiful thing about doing all this in Freeway is that once
you set up the code part, you can fiddle with the design – in
isolation – to your heart’s content, without ever once rewriting that
code.
Walter
On May 3, 2011, at 2:38 AM, Kelly Crossley wrote:
Wow! You guys are geniuses. Thank you.
Unfortunately, I’m note really sure how to implement this into my
site. I looked at the source code for the page David built and I see
the section that seems to handle the counter, but I’m not sure what
to do with with the code. I’m assuming that I’ll have to make these
code modifications outside of Freeway Pro. Is that correct?
Thanks again!
Kelly
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options