1 joju Jul 03, 2005 23:08
3 joju Jul 04, 2005 01:00
thanks, but it doesn't give me the link for the comments, and also, it gives me this error message when i click the "read more"
Fatal error: Call to a member function on a non-object in /home3/simplie/public_html/skins/_feedback.php on line 52
4 graham Jul 04, 2005 08:00
Like I said, look at the other skins included with b2evolution. The custom skin is a good place to start off with. I'd make a skin rather than a template, so read the manual page for that. I've not made a template for a year or so now, so if you follow the instructions for making your template into a skin, copy all the files from the custom skin into your new one, the error should disappear.
5 joju Jul 04, 2005 23:00
Okay, I've spent the past hour trying to figure out everything and it's still not working, I've looked at the _main.php file and copied everything that has something to do with comments, but it still ends up in an error:
(After each post:)
Warning: array_pop(): The argument should be an array in /home3/simplie/public_html/b2evocore/_functions_locale.php on line 139
(After post when you click on the comments link:)
Fatal error: Call to a member function on a non-object in /home3/simplie/public_html/skins/_feedback.php on line 52
Umm, can I just have the code for viewing the comments link and to include the comments(with the form) in when requested? Thanks.
6 graham Jul 05, 2005 08:11
I don't have any code infront of me, so I can't give it to you.
To be honest, they both look like you're missing files from your installation. You need to include _feedback.php as a case just after the main loop, and the link code is only what it is commented as. I'd check all the files are in the right folders. Make a copy of your skin's folder and re-download and re-upload the files making sure you preserve the directory structure.
7 joju Jul 06, 2005 21:15
thanks xD
Gotta love that manual. http://b2evolution.net/man/2004/06/16/upgrading_from_b2
I'm not sure if there are any errors on it, but if you copy the appropriate bits from the included skins, you should be ok.
Actually, I've spotted one error. For step 2, you should use the following code instead of the code in the manual. I think someone was a bit over zealous with the textile renderer.
Anyway, here's the code