Could you post the contents of your sidebar file to pastebin.com?
Thread Starter
nevis1
(@nevis1)
Very interesting site this pastebin.com. I hope I patsted it correctly, chose php syntax and signed it by my WP username Nevis1.
Thanks for getting back to me
Do you have a link to the pastebin page? 😉
Thread Starter
nevis1
(@nevis1)
Hmm, I wondered how you were going to look at the code…as I say I am new to this. I thnk this should work though.
http://nevis1.pastebin.com/764309
Ah right, the problem is that you are calling a function create_url()
that isn’t actually part of WordPress, it belongs to fAlbum, I believe?
Do you see the bit like this:
<?php echo $falbum->create_url("show/recent"); ?>
It’s near the top of your sidebar file, on line 3. Try adding gloabl $falbum;
where I’ve added it below:
<?php global $falbum; echo $falbum->create_url("show/recent"); ?>
I’m not sure that will work, though. I don’t know how fAlbum functions. If that all that piece of code does is generate a link to your photo gallery, it should be very easy to fix.
Thread Starter
nevis1
(@nevis1)
Well I tried to edit this properly, but it didn’t work. Oh well, I didn’t need it anyway, it just came with the template. I did however find a good PHP editor. PHP Designer 2006. Not sure how to use 99.9% of it, but the code sure stands out a lot easier. Thanks for helping a beginner, and hopefully in a few weeks I will be much better. If you can suggest any books, cd tutorials or good web sites that you think will help me learn PHP let me know please. Oh by the way, using my knowledge of HTML, I was able to decipher how to just whack out the photo album bit.
Cheers, Mate. Time to get tonites “The Bill” from the usenet. Yes I am a yank who loves UKTV….it helps when your GF is a Scouser 🙂