Recent Topics

1 Jan 31, 2009 07:36    

My b2evolution Version: Not Entered

I'm glad you guys are still working on this, by the way.

3 Feb 01, 2009 21:33

I tried it. Very good. No problems so far.

4 May 03, 2009 23:13

Sorry, but I have a rather heavily modified custom skin, and I would like to know exactly what to edit to be able to use "featured" posts. Also, I would like to know just what they are, because I don't know exactly what particularities they have, other than having a special formatting (which is pretty much all I would need: I'm trying to have posts written by invited bloggers "highlighted" in some way).

6 May 03, 2009 23:53

Thanks John! I never noticed that page (my experience with the online manual is that the page I look for never exists, so I had stopped trying). I will check into that solution.

7 May 04, 2009 00:06

Eh... it doesn't work.

This is what I get when trying to access my blog:

Parse error: syntax error, unexpected $end in /home/bit/public_html/blog/skins/custom_3c/index.main.php on line 558

I have a backup, but I'm sad anyway :(

8 May 04, 2009 01:00

"Unexpected end" usually means a { that doesn't have a } before the end of the file. A way to check this is kinda cumbersome, but it works for me.

Go through your file and make sure each time there is a { you go in one tab from the left. Then each time there is a } have one tab less. As-written, the skins files often have in-tabs for divs, and sometimes just for the heck of it. So line by line by line make sure you only tab IN when you have a new { and one less tab when you have a }.

Oh and also kinda ask yourself if it makes sense to have a new { there, knowing that { and } are for wrapping up php chunks. Like an IF( some condition ) will get a { then some code for whatever it is supposed to do then a } when it is done. While( whatever condition) is a loop of stuff - the posts loop on a multipost page is a good example of that.

And finally since you were modifying an existing working skin it makes sense to focus on the modification :)

9 May 04, 2009 02:23

Alright! Hum... It seems like there's a problem with the online editor I was using. Now I pasted the code in Dreamweaver, uploaded it, and it worked without a glitch.


10 May 07, 2009 08:42

You can check my live blog if you want to see "featured" post in action ;)

There is also the "category" post, but I haven't used it yet. It is similar to "featured" post feature. As long as you have the "featured" post codebit, the "category" post will work as well.

11 May 07, 2009 10:20

Cool! So, er, where do I style them?

13 May 07, 2009 17:32

Thanks! It would really be featured_post, however.

Form is loading...

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