04 Jul, 2002
Posted by: amy In: Scripts
A friend of mine (Heather, of urbancombatdriving.com) is using this PHP slide show script, available at zinkwazi.com. She's using the slideshow script to display her 2002 photos on her photos page.
While I haven't used the script myself yet (been insanely busy with my own coding project) I've really liked how the script works. From glancing over the script, it seems to be relatively easy to implement, too.
03 Jul, 2002
Posted by: kristine In: MT hacks
Now that MT has an option to use MySQL to store its information, there's greater possiblity in sorting and presenting the data.
Take this tutorial that Brenna wrote up for example – outputting templates, using the mysql database. It's a great example of what can be done with PHP and MySQL and MT.
I have a feeling that there will be more ideas like this in the future as people start playing more with MT 2.2!!
02 Jul, 2002
Posted by: Lynda In: How to's
I know I haven't been posting around these parts lately, but that doesn't mean I haven't had my hands dirty with some good old fashioned PHP. Most of what I've been doing is for pMachine (although I'd love to get into the new mySQL version of MT!) which is already documented on my site.
However, I come to you today to share my newest found and lately my favorite built in php function, substr
Read the rest of this entry »
Like many users of MT, I use javascript to call a pop-up comment window. What I didn't realize though is that 11% of internet users don't use Javascript and it can cause problems for people who are disabled because their browsers don't support it. Mark has posted instructions on how to replace the code so that you can still have pop-ups but also have a solution that works for other browsers. You can find it here. He has pointed out that the latest default templates in MT now "get this right" – but if you're like me, I don't normally upgrade my templates every time I upgrade MT.
I should also point out that Mark is doing a whole series on 30 Days to a More Accessible Weblog and there are a lot of other really good tips worth reading there!
28 Jun, 2002
Posted by: Jennifer In: Scripts
Thought I posted this here already, but I guess I didn't. Here's a javascript to detect the user's browser, and load the appropriate stylesheet. I came up with this script because some of the css things I had once been doing were not friendly with NS.
<SCRIPT language="JavaScript">
<!–
var browserName=navigator.appName;
if (browserName=="Microsoft Internet Explorer")
{
//load ie friendly stylesheet
document.write('<link rel="stylesheet" href="/stylesie.css" type="text/css">')
}
else
{
if ((parseFloat(navigator.appVersion)) >= 5 )
{
// if ns version is great than or equal to 5 (6) load this stylesheet
document.write('<link rel="stylesheet" href="/stylesie.css" type="text/css">')
} else {
//if you have a really ancient browser 😉 (ie. NS 4.7 or earlier) load this stylesheet
document.write('<link rel="stylesheet" href="/stylesns.css" type="text/css">')
}
}
//–>
</SCRIPT>
<NOSCRIPT>
<!– if you don't have javascript running – assume you have an ancient browser and load the ancient friendly stylesheet –>
<link rel="stylesheet" href="/stylesns.css" type="text/css">
</NOSCRIPT>
I'm sure there's a way to do that in PHP – anyone want to take a shot?
27 Jun, 2002
Posted by: Jennifer In: Bookmarks
27 Jun, 2002
Posted by: Jennifer In: Bookmarks
Comments Off on Authenticate before allowing downloads
26 Jun, 2002
Posted by: kristine In: MT hacks
I've been going through tutorials and help I've given on the MT boards, and found that I never had posted this here.
Multiple Archive Templates are part of MT2.0 and above and are useful for having two different ways (idea: normal and for printing) to display your individual archives, or generating a normal page of categories and a snippit to be included elsewhere with the last categories or a number of other great tools.
This link talks about how to set them up and name them in a useful way inside of Movable Type: using archive templates – multiple, how to implement!
24 Jun, 2002
Posted by: kristine In: How to's
Would you like to add a different graphic title for each day? Here's a great way to do this with Movable Type and Greymatter.
Read the rest of this entry »
Whats new: added ability to move links from one list to another. (v.8)
added ability to link images instead of just text (v.9)
changed script to write <br />'s instead of <br>'s (for validation)
Full details here.
(for those of you that have downloaded it and are using it, can you give me feedback about the script (email preferred) – is it working? notice anything weird with it, etc? – I'd like to, at some point, feel confident enough to say its an "official RELEASE")
Lots more on the way – I'm completely obsessed with making this do *everything* 😀